[INFO] fetching crate code-mesh-tui 0.1.0... [INFO] checking code-mesh-tui-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate code-mesh-tui 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate code-mesh-tui 0.1.0 [INFO] finished tweaking crates.io crate code-mesh-tui 0.1.0 [INFO] tweaked toml for crates.io crate code-mesh-tui 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate code-mesh-tui 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate code-mesh-tui 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded scraper v0.18.1 [INFO] [stderr] Downloaded markup5ever_rcdom v0.3.0 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded xml5ever v0.18.1 [INFO] [stderr] Downloaded tui-textarea v0.6.1 [INFO] [stderr] Downloaded html2md v0.2.15 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded code-mesh-core v0.1.0 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe641779733c84fe87761ea117d2c9cca829bbaffa0fcb185969f90704c28457 [INFO] running `Command { std: "docker" "start" "-a" "fe641779733c84fe87761ea117d2c9cca829bbaffa0fcb185969f90704c28457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe641779733c84fe87761ea117d2c9cca829bbaffa0fcb185969f90704c28457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe641779733c84fe87761ea117d2c9cca829bbaffa0fcb185969f90704c28457", kill_on_drop: false }` [INFO] [stdout] fe641779733c84fe87761ea117d2c9cca829bbaffa0fcb185969f90704c28457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5beec54d12d94b11f275f64189e2577678ee055c22e883e128e42e60b005f0cb [INFO] running `Command { std: "docker" "start" "-a" "5beec54d12d94b11f275f64189e2577678ee055c22e883e128e42e60b005f0cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking quick-xml v0.38.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling pulldown-cmark v0.11.3 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking ratatui v0.28.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tui-textarea v0.6.1 [INFO] [stderr] Checking tui-input v0.10.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking plist v1.7.4 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking xml5ever v0.18.1 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking markup5ever_rcdom v0.3.0 [INFO] [stderr] Checking html2md v0.2.15 [INFO] [stderr] Checking scraper v0.18.1 [INFO] [stderr] Checking markup5ever_rcdom v0.2.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking code-mesh-core v0.1.0 [INFO] [stderr] Checking code-mesh-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/chat.rs:339:34 [INFO] [stdout] | [INFO] [stdout] 339 | match chrono::NaiveDateTime::from_timestamp_opt(timestamp as i64, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ratatui::prelude::Line<'_>: From<&std::string::String>` is not satisfied [INFO] [stdout] --> src/diff.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | .title(title) [INFO] [stdout] | ----- ^^^^^ the trait `From<&std::string::String>` is not implemented for `ratatui::prelude::Line<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From<&str>` [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From>` [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From>>` [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From` [INFO] [stdout] = note: required for `&std::string::String` to implement `Into>` [INFO] [stdout] = note: required for `Title<'_>` to implement `From<&std::string::String>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&std::string::String` to implement `Into>` [INFO] [stdout] note: required by a bound in `ratatui::widgets::Block::<'a>::title` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-0.28.1/src/widgets/block.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn title(mut self, title: T) -> Self [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 294 | where [INFO] [stdout] 295 | T: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Block::<'a>::title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `default_style` on type `&FileViewerConfig` [INFO] [stdout] --> src/file_viewer.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | diff_style: config.default_style, [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `max_file_size`, `syntax_highlighting`, `show_line_numbers`, `word_wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/chat.rs:339:34 [INFO] [stdout] | [INFO] [stdout] 339 | match chrono::NaiveDateTime::from_timestamp_opt(timestamp as i64, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `f32` with `{integer}` [INFO] [stdout] --> src/layout.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1 { [INFO] [stdout] | ^^ no implementation for `f32 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `f32` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `f32` implements `PartialEq` [INFO] [stdout] `f32` implements `PartialEq` [INFO] [stdout] help: consider using a floating-point literal by writing it with `.0` [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1.0 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1 { [INFO] [stdout] | ^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1.0 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<[Rect]>` is not an iterator [INFO] [stdout] --> src/layout.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | for row_area in rows { [INFO] [stdout] | ^^^^ `Rc<[Rect]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `Rc<[Rect]>` [INFO] [stdout] = note: required for `Rc<[Rect]>` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn areas(&self, container: Rect) -> Vec> { [INFO] [stdout] | -------------- expected `Vec>` because of return type [INFO] [stdout] ... [INFO] [stdout] 425 | areas.push(columns); [INFO] [stdout] | ----- ------- this argument has type `Rc<[Rect]>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `areas` to have type `Vec>` [INFO] [stdout] ... [INFO] [stdout] 428 | areas [INFO] [stdout] | ^^^^^ expected `Vec>`, found `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 425 | areas.push(columns.to_vec()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn Fn(Rect) -> Vec + std::marker::Send + Sync + 'static)` doesn't implement `Debug` [INFO] [stdout] --> src/layout.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 450 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 455 | Custom(Box Vec + Send + Sync>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `(dyn Fn(Rect) -> Vec + std::marker::Send + Sync + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Fn(Rect) -> Vec + std::marker::Send + Sync: Clone` is not satisfied [INFO] [stdout] --> src/layout.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 450 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 455 | Custom(Box Vec + Send + Sync>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn Fn(Rect) -> Vec + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box Vec + std::marker::Send + Sync>` to implement `Clone` [INFO] [stdout] help: use parentheses to call this trait object [INFO] [stdout] | [INFO] [stdout] 455 | Custom(Box Vec + Send + Sync>(/* Rect */)), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn apply(&self, area: Rect) -> Vec { [INFO] [stdout] | --------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 499 | / Layout::default() [INFO] [stdout] 500 | | .direction(Direction::Horizontal) [INFO] [stdout] 501 | | .constraints([ [INFO] [stdout] 502 | | Constraint::Length(*left_width), [INFO] [stdout] 503 | | Constraint::Min(1), [INFO] [stdout] 504 | | ]) [INFO] [stdout] 505 | | .split(area) [INFO] [stdout] | |________________________________^ expected `Vec`, found `Rc<[Rect]>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Rc<[Rect]>` [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 505 | .split(area).to_vec() [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:508:17 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn apply(&self, area: Rect) -> Vec { [INFO] [stdout] | --------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 508 | / Layout::default() [INFO] [stdout] 509 | | .direction(Direction::Horizontal) [INFO] [stdout] 510 | | .constraints([ [INFO] [stdout] 511 | | Constraint::Length(*left_width), [INFO] [stdout] ... | [INFO] [stdout] 514 | | ]) [INFO] [stdout] 515 | | .split(area) [INFO] [stdout] | |________________________________^ expected `Vec`, found `Rc<[Rect]>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Rc<[Rect]>` [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 515 | .split(area).to_vec() [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/renderer.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | self.frame.size() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn theme::Theme + std::marker::Send + Sync + 'static)` doesn't implement `Debug` [INFO] [stdout] --> src/theme.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 183 | pub struct ThemeManager { [INFO] [stdout] 184 | current_theme: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `(dyn theme::Theme + std::marker::Send + Sync + 'static)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Debug`: [INFO] [stdout] dyn std::any::Any + std::marker::Send + Sync [INFO] [stdout] dyn std::any::Any + std::marker::Send [INFO] [stdout] dyn std::any::Any [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn theme::Theme + std::marker::Send + Sync: Clone` is not satisfied [INFO] [stdout] --> src/theme.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 183 | pub struct ThemeManager { [INFO] [stdout] 184 | current_theme: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn theme::Theme + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box` to implement `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn theme::Theme + std::marker::Send + Sync: Clone` is not satisfied [INFO] [stdout] --> src/theme.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 185 | available_themes: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn theme::Theme + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box` to implement `Clone` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `HashMap>` to implement `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::theme::Theme` [INFO] [stdout] --> src/utils/syntax_highlighter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::theme::Theme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ratatui::prelude::Line<'_>: From<&std::string::String>` is not satisfied [INFO] [stdout] --> src/diff.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | .title(title) [INFO] [stdout] | ----- ^^^^^ the trait `From<&std::string::String>` is not implemented for `ratatui::prelude::Line<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From<&str>` [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From>` [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From>>` [INFO] [stdout] `ratatui::prelude::Line<'_>` implements `From` [INFO] [stdout] = note: required for `&std::string::String` to implement `Into>` [INFO] [stdout] = note: required for `Title<'_>` to implement `From<&std::string::String>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&std::string::String` to implement `Into>` [INFO] [stdout] note: required by a bound in `ratatui::widgets::Block::<'a>::title` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-0.28.1/src/widgets/block.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn title(mut self, title: T) -> Self [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 294 | where [INFO] [stdout] 295 | T: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Block::<'a>::title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `default_style` on type `&FileViewerConfig` [INFO] [stdout] --> src/file_viewer.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | diff_style: config.default_style, [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `max_file_size`, `syntax_highlighting`, `show_line_numbers`, `word_wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/app.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 334 | terminal.draw(|frame| { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | has type `&'1 mut Frame<'_>` [INFO] [stdout] | has type `&mut Frame<'2>` [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of a mutable reference to `Frame<'_>` [INFO] [stdout] = note: mutable references are invariant over their type parameter [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/app.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 338 | self.render_main_layout(&mut renderer); [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/app.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 341 | self.render_overlays(&mut renderer); [INFO] [stdout] | ^^^^^---------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/app.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 333 | fn render(&mut self, terminal: &mut Terminal>) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 334 | terminal.draw(|frame| { [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/app.rs:530:27 [INFO] [stdout] | [INFO] [stdout] 530 | fn render_help(&self, renderer: &mut Renderer, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/app.rs:530:52 [INFO] [stdout] | [INFO] [stdout] 530 | fn render_help(&self, renderer: &mut Renderer, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/chat.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(config: &ChatConfig, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/chat.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 204 | pub fn render(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 217 | pub fn render_input(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | renderer.render_widget(widget, inner_area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 217 | pub fn render_input(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar` [INFO] [stdout] --> src/chat.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let scrollbar = Scrollbar::default() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar_state` [INFO] [stdout] --> src/chat.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chat.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | renderer.render_widget(empty_msg, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 240 | fn render_messages(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 240 | fn render_messages(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/command_palette.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/command_palette.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/command_palette.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | renderer.render_widget(block, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 211 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/command_palette.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | renderer.render_widget(input_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 211 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/command_palette.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | renderer.render_widget(list, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 211 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `f32` with `{integer}` [INFO] [stdout] --> src/layout.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1 { [INFO] [stdout] | ^^ no implementation for `f32 == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `f32` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `f32` implements `PartialEq` [INFO] [stdout] `f32` implements `PartialEq` [INFO] [stdout] help: consider using a floating-point literal by writing it with `.0` [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1.0 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn confirmation(title: String, message: String, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1 { [INFO] [stdout] | ^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 219 | if flex == 1.0 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:76:72 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn input(title: String, prompt: String, default_value: String, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:89:76 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn selection(title: String, message: String, options: Vec, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:103:85 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn file_picker(title: String, current_path: String, filter: Option, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 249 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 276 | fn render_confirmation(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | renderer.render_widget(message_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 276 | fn render_confirmation(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | renderer.render_widget(buttons_paragraph, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 276 | fn render_confirmation(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | renderer.render_widget(prompt_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | renderer.render_widget(input_paragraph, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<[ratatui::layout::Rect]>` is not an iterator [INFO] [stdout] --> src/layout.rs:420:25 [INFO] [stdout] | [INFO] [stdout] 420 | for row_area in rows { [INFO] [stdout] | ^^^^ `Rc<[ratatui::layout::Rect]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `Rc<[ratatui::layout::Rect]>` [INFO] [stdout] = note: required for `Rc<[ratatui::layout::Rect]>` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | renderer.render_widget(help_paragraph, chunks[4]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | renderer.render_widget(message_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | renderer.render_widget(list, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | renderer.render_widget(help_paragraph, chunks[3]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | renderer.render_widget(path_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | renderer.render_widget(placeholder, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | renderer.render_widget(help_paragraph, chunks[3]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/status_bar.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/status_bar.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn areas(&self, container: Rect) -> Vec> { [INFO] [stdout] | -------------- expected `Vec>` because of return type [INFO] [stdout] ... [INFO] [stdout] 425 | areas.push(columns); [INFO] [stdout] | ----- ------- this argument has type `Rc<[ratatui::layout::Rect]>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `areas` to have type `Vec>` [INFO] [stdout] ... [INFO] [stdout] 428 | areas [INFO] [stdout] | ^^^^^ expected `Vec>`, found `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 425 | areas.push(columns.to_vec()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Fn(Rect) -> Vec + Send + Sync` doesn't implement `Debug` [INFO] [stdout] --> src/layout.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 450 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 455 | Custom(Box Vec + Send + Sync>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `dyn Fn(Rect) -> Vec + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/code_mesh_tui-1bac2225d2c342f2.long-type-17280435560411233475.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Fn(ratatui::layout::Rect) -> Vec + std::marker::Send + Sync: Clone` is not satisfied [INFO] [stdout] --> src/layout.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 450 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 455 | Custom(Box Vec + Send + Sync>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn Fn(ratatui::layout::Rect) -> Vec + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box Vec + std::marker::Send + Sync>` to implement `Clone` [INFO] [stdout] help: use parentheses to call this trait object [INFO] [stdout] | [INFO] [stdout] 455 | Custom(Box Vec + Send + Sync>(/* ratatui::layout::Rect */)), [INFO] [stdout] | +++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn apply(&self, area: Rect) -> Vec { [INFO] [stdout] | --------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 499 | / Layout::default() [INFO] [stdout] 500 | | .direction(Direction::Horizontal) [INFO] [stdout] 501 | | .constraints([ [INFO] [stdout] 502 | | Constraint::Length(*left_width), [INFO] [stdout] 503 | | Constraint::Min(1), [INFO] [stdout] 504 | | ]) [INFO] [stdout] 505 | | .split(area) [INFO] [stdout] | |________________________________^ expected `Vec`, found `Rc<[Rect]>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Rc<[ratatui::layout::Rect]>` [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 505 | .split(area).to_vec() [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layout.rs:508:17 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn apply(&self, area: Rect) -> Vec { [INFO] [stdout] | --------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 508 | / Layout::default() [INFO] [stdout] 509 | | .direction(Direction::Horizontal) [INFO] [stdout] 510 | | .constraints([ [INFO] [stdout] 511 | | Constraint::Length(*left_width), [INFO] [stdout] ... | [INFO] [stdout] 514 | | ]) [INFO] [stdout] 515 | | .split(area) [INFO] [stdout] | |________________________________^ expected `Vec`, found `Rc<[Rect]>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Rc<[ratatui::layout::Rect]>` [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 515 | .split(area).to_vec() [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/renderer.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | self.frame.size() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn theme::Theme + std::marker::Send + Sync + 'static)` doesn't implement `Debug` [INFO] [stdout] --> src/theme.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 183 | pub struct ThemeManager { [INFO] [stdout] 184 | current_theme: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `(dyn theme::Theme + std::marker::Send + Sync + 'static)` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Debug`: [INFO] [stdout] dyn std::any::Any + std::marker::Send + Sync [INFO] [stdout] dyn std::any::Any + std::marker::Send [INFO] [stdout] dyn std::any::Any [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn theme::Theme + std::marker::Send + Sync: Clone` is not satisfied [INFO] [stdout] --> src/theme.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 183 | pub struct ThemeManager { [INFO] [stdout] 184 | current_theme: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn theme::Theme + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box` to implement `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn theme::Theme + std::marker::Send + Sync: Clone` is not satisfied [INFO] [stdout] --> src/theme.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 185 | available_themes: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `dyn theme::Theme + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box` to implement `Clone` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `HashMap>` to implement `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/diff.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/diff.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 226 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/diff.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | renderer.render_widget(empty_msg, inner_area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 226 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/diff.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 255 | fn render_unified(&self, renderer: &mut Renderer, area: Rect, diff: &DiffContent) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::theme::Theme` [INFO] [stdout] --> src/utils/syntax_highlighter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::theme::Theme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/file_viewer.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 355 | pub fn render(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | renderer.render_widget(empty_msg, inner_area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 355 | pub fn render(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar` [INFO] [stdout] --> src/file_viewer.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | let scrollbar = Scrollbar::default() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar_state` [INFO] [stdout] --> src/file_viewer.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_viewer.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 389 | fn render_text_file(&self, renderer: &mut Renderer, area: Rect, file: &FileContent) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 448 | fn render_diff(&self, renderer: &mut Renderer, area: Rect, file: &FileContent) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/app.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 334 | terminal.draw(|frame| { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | has type `&'1 mut Frame<'_>` [INFO] [stdout] | has type `&mut Frame<'2>` [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of a mutable reference to `Frame<'_>` [INFO] [stdout] = note: mutable references are invariant over their type parameter [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/app.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 338 | self.render_main_layout(&mut renderer); [INFO] [stdout] | ^^^^^------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/app.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 341 | self.render_overlays(&mut renderer); [INFO] [stdout] | ^^^^^---------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/app.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 333 | fn render(&mut self, terminal: &mut Terminal>) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 334 | terminal.draw(|frame| { [INFO] [stdout] 335 | let mut renderer = Renderer::new(frame, self.theme_manager.current_theme()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/app.rs:530:27 [INFO] [stdout] | [INFO] [stdout] 530 | fn render_help(&self, renderer: &mut Renderer, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/app.rs:530:52 [INFO] [stdout] | [INFO] [stdout] 530 | fn render_help(&self, renderer: &mut Renderer, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/chat.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(config: &ChatConfig, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/theme.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some(theme) = self.available_themes.get(name) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/chat.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 204 | pub fn render(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 217 | pub fn render_input(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | renderer.render_widget(widget, inner_area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 217 | pub fn render_input(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar` [INFO] [stdout] --> src/chat.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let scrollbar = Scrollbar::default() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar_state` [INFO] [stdout] --> src/chat.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chat.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | renderer.render_widget(empty_msg, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 240 | fn render_messages(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/chat.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 240 | fn render_messages(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/command_palette.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/command_palette.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/command_palette.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | renderer.render_widget(block, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 211 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/command_palette.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | renderer.render_widget(input_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 211 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/command_palette.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | renderer.render_widget(list, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 211 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn confirmation(title: String, message: String, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:76:72 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn input(title: String, prompt: String, default_value: String, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:89:76 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn selection(title: String, message: String, options: Vec, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/dialog.rs:103:85 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn file_picker(title: String, current_path: String, filter: Option, theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 249 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 276 | fn render_confirmation(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | renderer.render_widget(message_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 276 | fn render_confirmation(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | renderer.render_widget(buttons_paragraph, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 276 | fn render_confirmation(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | renderer.render_widget(prompt_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | renderer.render_widget(input_paragraph, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | renderer.render_widget(help_paragraph, chunks[4]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 307 | fn render_input(&self, renderer: &mut Renderer, area: Rect, title: &str, prompt: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | renderer.render_widget(message_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | renderer.render_widget(list, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | renderer.render_widget(help_paragraph, chunks[3]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 351 | fn render_selection(&self, renderer: &mut Renderer, area: Rect, title: &str, message: &str, options: &[String]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | renderer.render_widget(title_paragraph, chunks[0]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | renderer.render_widget(path_paragraph, chunks[1]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | renderer.render_widget(placeholder, chunks[2]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/components/dialog.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | renderer.render_widget(help_paragraph, chunks[3]); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 408 | fn render_file_picker(&self, renderer: &mut Renderer, area: Rect, title: &str, current_path: &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/status_bar.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/components/status_bar.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0502, E0521, E0596, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code-mesh-tui` (lib) due to 48 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/diff.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(theme: &dyn Theme) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/diff.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 226 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/diff.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | renderer.render_widget(empty_msg, inner_area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 226 | pub fn render(&self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/diff.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 255 | fn render_unified(&self, renderer: &mut Renderer, area: Rect, diff: &DiffContent) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/file_viewer.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn update_theme(&mut self, theme: &dyn Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | renderer.render_widget(block.clone(), area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 355 | pub fn render(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | renderer.render_widget(empty_msg, inner_area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 355 | pub fn render(&mut self, renderer: &mut Renderer, area: Rect) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar` [INFO] [stdout] --> src/file_viewer.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | let scrollbar = Scrollbar::default() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scrollbar_state` [INFO] [stdout] --> src/file_viewer.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrollbar_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_viewer.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | let mut scrollbar_state = ScrollbarState::default() [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 389 | fn render_text_file(&self, renderer: &mut Renderer, area: Rect, file: &FileContent) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*renderer` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/file_viewer.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | renderer.render_widget(paragraph, area); [INFO] [stdout] | ^^^^^^^^ `renderer` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 448 | fn render_diff(&self, renderer: &mut Renderer, area: Rect, file: &FileContent) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/theme.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some(theme) = self.available_themes.get(name) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0502, E0521, E0596, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code-mesh-tui` (lib test) due to 48 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5beec54d12d94b11f275f64189e2577678ee055c22e883e128e42e60b005f0cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5beec54d12d94b11f275f64189e2577678ee055c22e883e128e42e60b005f0cb", kill_on_drop: false }` [INFO] [stdout] 5beec54d12d94b11f275f64189e2577678ee055c22e883e128e42e60b005f0cb