[INFO] cloning repository https://github.com/DaZuo0122/aurish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaZuo0122/aurish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaZuo0122%2Faurish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaZuo0122%2Faurish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d7240a5bfaa0a083d7da140f1dde25240ce9312 [INFO] building DaZuo0122/aurish against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaZuo0122%2Faurish" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DaZuo0122/aurish [INFO] finished tweaking git repo https://github.com/DaZuo0122/aurish [INFO] tweaked toml for git repo https://github.com/DaZuo0122/aurish written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DaZuo0122/aurish on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DaZuo0122/aurish 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tui-input v0.11.1 [INFO] [stderr] Downloaded tempfile v3.17.1 [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded indoc v2.0.5 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded cc v1.2.15 [INFO] [stderr] Downloaded rustyline v15.0.0 [INFO] [stderr] Downloaded h2 v0.4.8 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d72614c88125c5107720932094cec618f148d29c46eb7e7aead85691617b3815 [INFO] running `Command { std: "docker" "start" "-a" "d72614c88125c5107720932094cec618f148d29c46eb7e7aead85691617b3815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d72614c88125c5107720932094cec618f148d29c46eb7e7aead85691617b3815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72614c88125c5107720932094cec618f148d29c46eb7e7aead85691617b3815", kill_on_drop: false }` [INFO] [stdout] d72614c88125c5107720932094cec618f148d29c46eb7e7aead85691617b3815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c1fa473de2a8f128cd041854034c4f7f713b3f8ff534832a99a6f5a260f6f1e [INFO] running `Command { std: "docker" "start" "-a" "9c1fa473de2a8f128cd041854034c4f7f713b3f8ff534832a99a6f5a260f6f1e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tui-input v0.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling aurish v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `App_cli` should have an upper camel case name [INFO] [stdout] --> src/frontend.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct App_cli { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AppCli` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Shell_cli` should have an upper camel case name [INFO] [stdout] --> src/frontend.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Shell_cli { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ShellCli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/backend.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize, Deserializer}; [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::error::Error` [INFO] [stdout] --> src/backend.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/backend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/backend.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / /// Detect which shell AI interact with. [INFO] [stdout] 87 | | /// On windows, the default shell this function returned is PowerShell. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 88 | / if cfg!(target_os = "windows") { [INFO] [stdout] 89 | | match env::var("PSModulePath") { [INFO] [stdout] 90 | | Ok(_p) => return "PowerShell".to_string(), [INFO] [stdout] 91 | | Err(_e) => { [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DisableMouseCapture`, `EnableMouseCapture`, `EnterAlternateScreen`, `LeaveAlternateScreen`, `ListItem`, `List`, `disable_raw_mode`, `enable_raw_mode`, and `execute` [INFO] [stdout] --> src/shared.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | terminal::{ [INFO] [stdout] 8 | disable_raw_mode, enable_raw_mode, EnterAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | LeaveAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | widgets::{Block, Borders, List, ListItem, Paragraph}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/shared.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/shared.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | /// Asking AI block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | let width = chunks[0].width.max(3) - 1; // 2 for boarders and 1 for cursor [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | /// Shell interact block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | let path = self.shell.get_path(); [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | /// Shell output block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | let binding = self.shell.sh_input.clone(); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shell.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / /// Detect which shell AI interact with. [INFO] [stdout] 112 | | /// On windows, the default shell this function returned is PowerShell. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 113 | / if cfg!(target_os = "windows") { [INFO] [stdout] 114 | | match env::var("PSModulePath") { [INFO] [stdout] 115 | | Ok(_p) => return ShellType::PowerShell, [INFO] [stdout] 116 | | Err(_e) => { [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let stdout_handle = leech_output!(stdout, stdout_buffer, info); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let stdout_handle = leech_output!(stdout, stdout_buffer, info); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | let stderr_handle = leech_output!(stderr, stderr_buffer, warn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | let stderr_handle = leech_output!(stderr, stderr_buffer, warn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientInit` [INFO] [stdout] --> src/frontend.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::backend::{OllamaReq, ClientInit, BKclient}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/backend.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct OllamaRes { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | response: String, [INFO] [stdout] 27 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | done_reason: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | context: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | total_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | load_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | prompt_eval_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | prompt_eval_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | eval_count: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | eval_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaRes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_command` and `executed` are never read [INFO] [stdout] --> src/shared.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DummyShell { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | current_command: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | executed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_dir` is never read [INFO] [stdout] --> src/shell.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct IShell { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 94 | initial_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_path` and `forget_current_directory` are never used [INFO] [stdout] --> src/shell.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl IShell { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn from_path(initial_dir: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn forget_current_directory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShellInitError` is never used [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ShellInitError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inner__json` should have a snake case name [INFO] [stdout] --> src/backend.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let inner__json: Command = serde_json::from_str(&ollama_res.response).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `inner_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/aurish-cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [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: `serde::de::Error` [INFO] [stdout] --> src/bin/aurish-cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OllamaReq` [INFO] [stdout] --> src/main.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use aurish::{shared::{App, Config}, backend::{OllamaReq, Bclient, ClientInit}}; [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 imports: `DisableMouseCapture` and `EnableMouseCapture` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::event::{DisableMouseCapture, EnableMouseCapture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::execute` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crossterm::execute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `LeaveAlternateScreen`, and `disable_raw_mode` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::backend::CrosstermBackend` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ratatui::backend::CrosstermBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::Terminal` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ratatui::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "9c1fa473de2a8f128cd041854034c4f7f713b3f8ff534832a99a6f5a260f6f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1fa473de2a8f128cd041854034c4f7f713b3f8ff534832a99a6f5a260f6f1e", kill_on_drop: false }` [INFO] [stdout] 9c1fa473de2a8f128cd041854034c4f7f713b3f8ff534832a99a6f5a260f6f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72e2b217a000c423b24c29411275e8bda086fbd271fdf1187fcc3d5d0d5304d2 [INFO] running `Command { std: "docker" "start" "-a" "72e2b217a000c423b24c29411275e8bda086fbd271fdf1187fcc3d5d0d5304d2", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stdout] warning: type `App_cli` should have an upper camel case name [INFO] [stdout] --> src/frontend.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct App_cli { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AppCli` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Shell_cli` should have an upper camel case name [INFO] [stdout] --> src/frontend.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Shell_cli { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ShellCli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/backend.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize, Deserializer}; [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::error::Error` [INFO] [stdout] --> src/backend.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/backend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/backend.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / /// Detect which shell AI interact with. [INFO] [stdout] 87 | | /// On windows, the default shell this function returned is PowerShell. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 88 | / if cfg!(target_os = "windows") { [INFO] [stdout] 89 | | match env::var("PSModulePath") { [INFO] [stdout] 90 | | Ok(_p) => return "PowerShell".to_string(), [INFO] [stdout] 91 | | Err(_e) => { [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DisableMouseCapture`, `EnableMouseCapture`, `EnterAlternateScreen`, `LeaveAlternateScreen`, `ListItem`, `List`, `disable_raw_mode`, `enable_raw_mode`, and `execute` [INFO] [stdout] --> src/shared.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | terminal::{ [INFO] [stdout] 8 | disable_raw_mode, enable_raw_mode, EnterAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | LeaveAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | widgets::{Block, Borders, List, ListItem, Paragraph}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/shared.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/shared.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | /// Asking AI block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | let width = chunks[0].width.max(3) - 1; // 2 for boarders and 1 for cursor [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | /// Shell interact block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | let path = self.shell.get_path(); [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | /// Shell output block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | let binding = self.shell.sh_input.clone(); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shell.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / /// Detect which shell AI interact with. [INFO] [stdout] 112 | | /// On windows, the default shell this function returned is PowerShell. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 113 | / if cfg!(target_os = "windows") { [INFO] [stdout] 114 | | match env::var("PSModulePath") { [INFO] [stdout] 115 | | Ok(_p) => return ShellType::PowerShell, [INFO] [stdout] 116 | | Err(_e) => { [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let stdout_handle = leech_output!(stdout, stdout_buffer, info); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let stdout_handle = leech_output!(stdout, stdout_buffer, info); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | let stderr_handle = leech_output!(stderr, stderr_buffer, warn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | let stderr_handle = leech_output!(stderr, stderr_buffer, warn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientInit` [INFO] [stdout] --> src/frontend.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::backend::{OllamaReq, ClientInit, BKclient}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/backend.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct OllamaRes { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | response: String, [INFO] [stdout] 27 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | done_reason: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | context: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | total_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | load_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | prompt_eval_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | prompt_eval_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | eval_count: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | eval_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaRes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_command` and `executed` are never read [INFO] [stdout] --> src/shared.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DummyShell { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | current_command: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | executed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_dir` is never read [INFO] [stdout] --> src/shell.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct IShell { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 94 | initial_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_path` and `forget_current_directory` are never used [INFO] [stdout] --> src/shell.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl IShell { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn from_path(initial_dir: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn forget_current_directory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShellInitError` is never used [INFO] [stdout] --> src/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ShellInitError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inner__json` should have a snake case name [INFO] [stdout] --> src/backend.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let inner__json: Command = serde_json::from_str(&ollama_res.response).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `inner_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aurish v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/aurish-cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [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: `serde::de::Error` [INFO] [stdout] --> src/bin/aurish-cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OllamaReq` [INFO] [stdout] --> src/main.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use aurish::{shared::{App, Config}, backend::{OllamaReq, Bclient, ClientInit}}; [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 imports: `DisableMouseCapture` and `EnableMouseCapture` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::event::{DisableMouseCapture, EnableMouseCapture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::execute` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crossterm::execute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `LeaveAlternateScreen`, and `disable_raw_mode` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::backend::CrosstermBackend` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ratatui::backend::CrosstermBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::Terminal` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ratatui::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `App_cli` should have an upper camel case name [INFO] [stdout] --> src/frontend.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct App_cli { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AppCli` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Shell_cli` should have an upper camel case name [INFO] [stdout] --> src/frontend.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Shell_cli { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ShellCli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/backend.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize, Deserializer}; [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::error::Error` [INFO] [stdout] --> src/backend.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/backend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/backend.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / /// Detect which shell AI interact with. [INFO] [stdout] 87 | | /// On windows, the default shell this function returned is PowerShell. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 88 | / if cfg!(target_os = "windows") { [INFO] [stdout] 89 | | match env::var("PSModulePath") { [INFO] [stdout] 90 | | Ok(_p) => return "PowerShell".to_string(), [INFO] [stdout] 91 | | Err(_e) => { [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DisableMouseCapture`, `EnableMouseCapture`, `EnterAlternateScreen`, `LeaveAlternateScreen`, `ListItem`, `List`, `disable_raw_mode`, `enable_raw_mode`, and `execute` [INFO] [stdout] --> src/shared.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | terminal::{ [INFO] [stdout] 8 | disable_raw_mode, enable_raw_mode, EnterAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | LeaveAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | widgets::{Block, Borders, List, ListItem, Paragraph}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/shared.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/shared.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | /// Asking AI block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | let width = chunks[0].width.max(3) - 1; // 2 for boarders and 1 for cursor [INFO] [stdout] | --------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | /// Shell interact block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | let path = self.shell.get_path(); [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shared.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | /// Shell output block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | let binding = self.shell.sh_input.clone(); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/shell.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / /// Detect which shell AI interact with. [INFO] [stdout] 112 | | /// On windows, the default shell this function returned is PowerShell. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 113 | / if cfg!(target_os = "windows") { [INFO] [stdout] 114 | | match env::var("PSModulePath") { [INFO] [stdout] 115 | | Ok(_p) => return ShellType::PowerShell, [INFO] [stdout] 116 | | Err(_e) => { [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let stdout_handle = leech_output!(stdout, stdout_buffer, info); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let stdout_handle = leech_output!(stdout, stdout_buffer, info); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | let stderr_handle = leech_output!(stderr, stderr_buffer, warn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | let stderr_handle = leech_output!(stderr, stderr_buffer, warn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `leech_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logging` [INFO] [stdout] --> src/shell.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | #[cfg(feature = "logging")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `log` [INFO] [stdout] = help: consider adding `logging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientInit` [INFO] [stdout] --> src/frontend.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::backend::{OllamaReq, ClientInit, BKclient}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/backend.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct OllamaRes { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | response: String, [INFO] [stdout] 27 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | done_reason: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | context: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | total_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | load_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | prompt_eval_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | prompt_eval_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | eval_count: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | eval_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaRes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_command` and `executed` are never read [INFO] [stdout] --> src/shared.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct DummyShell { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | current_command: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | executed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inner__json` should have a snake case name [INFO] [stdout] --> src/backend.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let inner__json: Command = serde_json::from_str(&ollama_res.response).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `inner_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.20s [INFO] running `Command { std: "docker" "inspect" "72e2b217a000c423b24c29411275e8bda086fbd271fdf1187fcc3d5d0d5304d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e2b217a000c423b24c29411275e8bda086fbd271fdf1187fcc3d5d0d5304d2", kill_on_drop: false }` [INFO] [stdout] 72e2b217a000c423b24c29411275e8bda086fbd271fdf1187fcc3d5d0d5304d2