[INFO] cloning repository https://github.com/dsal3389/bb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsal3389/bb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsal3389%2Fbb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsal3389%2Fbb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01885d197bd670d19745a7d1a749671e4c9d9885 [INFO] building dsal3389/bb against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsal3389%2Fbb" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dsal3389/bb [INFO] finished tweaking git repo https://github.com/dsal3389/bb [INFO] tweaked toml for git repo https://github.com/dsal3389/bb written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dsal3389/bb on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dsal3389/bb already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding async-trait v0.1.89 [INFO] [stderr] Adding slotmap v1.0.7 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instability v0.3.9 [INFO] [stderr] Downloaded russh-util v0.52.0 [INFO] [stderr] Downloaded russh-cryptovec v0.52.0 [INFO] [stderr] Downloaded pageant v0.0.3 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded delegate v0.13.4 [INFO] [stderr] Downloaded async-sqlite v0.5.3 [INFO] [stderr] Downloaded rusqlite v0.37.0 [INFO] [stderr] Downloaded russh v0.53.0 [INFO] [stderr] Downloaded internal-russh-forked-ssh-key v0.6.11+upstream-0.6.7 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.35.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4830c6b9af80b0e3c7c2a882a72c010e88c702bf3f7748bc5ca9a8475cc91af8 [INFO] running `Command { std: "docker" "start" "-a" "4830c6b9af80b0e3c7c2a882a72c010e88c702bf3f7748bc5ca9a8475cc91af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4830c6b9af80b0e3c7c2a882a72c010e88c702bf3f7748bc5ca9a8475cc91af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4830c6b9af80b0e3c7c2a882a72c010e88c702bf3f7748bc5ca9a8475cc91af8", kill_on_drop: false }` [INFO] [stdout] 4830c6b9af80b0e3c7c2a882a72c010e88c702bf3f7748bc5ca9a8475cc91af8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edabd87fbf522366cbda7939cd296443291c2a3d28acd0ae07db7dd10413d40a [INFO] running `Command { std: "docker" "start" "-a" "edabd87fbf522366cbda7939cd296443291c2a3d28acd0ae07db7dd10413d40a", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ssh-encoding v0.2.0 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling bcrypt-pbkdf v0.10.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling pkcs5 v0.7.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ssh-cipher v0.2.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling russh-cryptovec v0.52.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p521 v0.13.3 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling delegate v0.13.4 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling internal-russh-forked-ssh-key v0.6.11+upstream-0.6.7 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling russh-util v0.52.0 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling async-sqlite v0.5.3 [INFO] [stderr] Compiling threet-storage v0.1.0 (/opt/rustwide/workdir/crates/threet-storage) [INFO] [stdout] warning: function `preper_select_statement_string` is never used [INFO] [stdout] --> crates/threet-storage/src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn preper_select_statement_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Model` is never used [INFO] [stdout] --> crates/threet-storage/src/models/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait Model: Send { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> crates/threet-storage/src/models/channel.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `username` are never read [INFO] [stdout] --> crates/threet-storage/src/models/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `database_schema` should have an upper case name [INFO] [stdout] --> crates/threet-storage/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const database_schema: &str = include_str!("../schema.sql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - const database_schema: &str = include_str!("../schema.sql"); [INFO] [stdout] 14 + const DATABASE_SCHEMA: &str = include_str!("../schema.sql"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling russh v0.53.0 [INFO] [stderr] Compiling threet-tui v0.1.0 (/opt/rustwide/workdir/crates/threet-tui) [INFO] [stdout] warning: unused import: `std::sync::LazyLock` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::LazyLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::combo::ComboRegister` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::combo::ComboRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | ... for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 280 | for (_i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_COMBO_DEPTH` [INFO] [stdout] | [INFO] [stdout] 280 - for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] 280 + for (combo::MAX_COMBO_DEPTH, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:290:34 [INFO] [stdout] | [INFO] [stdout] 290 | ... for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 290 | for (_i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_COMBO_DEPTH` [INFO] [stdout] | [INFO] [stdout] 290 - for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] 290 + for (combo::MAX_COMBO_DEPTH, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 302 | data: NodeData::View(view), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn render(&self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | fn render(&self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle_keys<'a>(&self, key: &[Key], mode: Mode) -> Option<&'a ComboCallback> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle_keys<'a>(&self, key: &[Key], mode: Mode) -> Option<&'a ComboCallback> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> crates/threet-tui/src/app.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Horizontal` is never constructed [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Layout { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 14 | Vertical, [INFO] [stdout] 15 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_view` and `is_container` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_view(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn is_container(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `views_count`, `swap`, `push`, `remove`, `get_focuse`, and `get_container_mut` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl Tree { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn views_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn swap(&mut self, view: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn push(&mut self, view: Box) -> ViewId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn get_focuse(&self) -> &NodeViewData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn get_container_mut(&mut self) -> &mut NodeContainerData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `swap` and `current_view` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 351 | impl Compositor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn swap(&mut self, view: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn current_view(&self) -> &dyn View { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Space` is never constructed [INFO] [stdout] --> crates/threet-tui/src/event.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum KeyCode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> crates/threet-tui/src/event.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Modifier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contains(&self, modifier: Modifier) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> crates/threet-tui/src/notifications.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Notification { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | kind: NotificationKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `previous` and `next` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | trait FocuseIterator { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 20 | fn previous(&mut self) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | fn next(&mut self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `previous` and `next` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Focuse [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | K: FocuseIterator + Clone, [INFO] [stdout] | |______________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `tick` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait View: Any + Send + 'static { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 76 | /// the view name [INFO] [stdout] 77 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | async fn tick(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PasswordField` and `AuthenticateButton` are never constructed [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum FocuseArea { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | PasswordField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | AuthenticateButton, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FocuseArea` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_username_field`, `is_password_field`, and `is_authenticate_button` are never used [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl FocuseArea { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | fn is_username_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_password_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_authenticate_button(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app_tx` is never read [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct AuthenticateView { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 78 | app_tx: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_authentication_task` is never used [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl AuthenticateView { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn start_authentication_task(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatView` is never constructed [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChatView {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ChatView { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `initial_buffer` and `style` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FieldBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 20 | #[inline] [INFO] [stdout] 21 | pub fn initial_buffer(mut self, value: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn style(mut self, style: FieldStyle) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Transparent` is never constructed [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum FieldStyle { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldStyle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor` and `min` are never read [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | cursor: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | style: FieldStyle, [INFO] [stdout] 91 | min: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `kind`, `valid`, `push_char`, `remove_char`, and `value` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn kind(&self) -> FieldKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn push_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove_char(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a> FieldWidget<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn label(mut self, label: &'a str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusWidget` is never constructed [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StatusWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `view_spans` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> StatusWidget<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(view_name: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn view_spans(&self) -> [Span; 2] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn widget(&self) -> FieldWidget { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn widget(&self) -> FieldWidget<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn view_spans(&self) -> [Span; 2] { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn view_spans(&self) -> [Span<'_>; 2] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling threet-server v0.1.0 (/opt/rustwide/workdir/crates/threet-server) [INFO] [stdout] warning: field `peer` is never read [INFO] [stdout] --> crates/threet-server/src/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 31 | peer: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling threet v0.1.0 (/opt/rustwide/workdir/crates/threet) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "edabd87fbf522366cbda7939cd296443291c2a3d28acd0ae07db7dd10413d40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edabd87fbf522366cbda7939cd296443291c2a3d28acd0ae07db7dd10413d40a", kill_on_drop: false }` [INFO] [stdout] edabd87fbf522366cbda7939cd296443291c2a3d28acd0ae07db7dd10413d40a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b636705cfe7fac60b4aa08ee083ab94a39681f40c97923095a1fb6f6a05012e8 [INFO] running `Command { std: "docker" "start" "-a" "b636705cfe7fac60b4aa08ee083ab94a39681f40c97923095a1fb6f6a05012e8", kill_on_drop: false }` [INFO] [stdout] warning: function `preper_select_statement_string` is never used [INFO] [stdout] --> crates/threet-storage/src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn preper_select_statement_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Model` is never used [INFO] [stdout] --> crates/threet-storage/src/models/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait Model: Send { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> crates/threet-storage/src/models/channel.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `username` are never read [INFO] [stdout] --> crates/threet-storage/src/models/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `database_schema` should have an upper case name [INFO] [stdout] --> crates/threet-storage/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const database_schema: &str = include_str!("../schema.sql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - const database_schema: &str = include_str!("../schema.sql"); [INFO] [stdout] 14 + const DATABASE_SCHEMA: &str = include_str!("../schema.sql"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::LazyLock` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::LazyLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::combo::ComboRegister` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::combo::ComboRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | ... for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 280 | for (_i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_COMBO_DEPTH` [INFO] [stdout] | [INFO] [stdout] 280 - for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] 280 + for (combo::MAX_COMBO_DEPTH, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:290:34 [INFO] [stdout] | [INFO] [stdout] 290 | ... for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 290 | for (_i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_COMBO_DEPTH` [INFO] [stdout] | [INFO] [stdout] 290 - for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] 290 + for (combo::MAX_COMBO_DEPTH, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 302 | data: NodeData::View(view), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn render(&self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | fn render(&self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle_keys<'a>(&self, key: &[Key], mode: Mode) -> Option<&'a ComboCallback> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle_keys<'a>(&self, key: &[Key], mode: Mode) -> Option<&'a ComboCallback> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> crates/threet-tui/src/app.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Horizontal` is never constructed [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Layout { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 14 | Vertical, [INFO] [stdout] 15 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_view` and `is_container` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_view(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn is_container(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `views_count`, `swap`, `push`, `remove`, `get_focuse`, and `get_container_mut` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl Tree { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn views_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn swap(&mut self, view: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn push(&mut self, view: Box) -> ViewId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn get_focuse(&self) -> &NodeViewData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn get_container_mut(&mut self) -> &mut NodeContainerData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `swap` and `current_view` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 351 | impl Compositor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn swap(&mut self, view: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn current_view(&self) -> &dyn View { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Space` is never constructed [INFO] [stdout] --> crates/threet-tui/src/event.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum KeyCode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> crates/threet-tui/src/event.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Modifier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contains(&self, modifier: Modifier) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> crates/threet-tui/src/notifications.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Notification { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | kind: NotificationKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `previous` and `next` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | trait FocuseIterator { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 20 | fn previous(&mut self) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | fn next(&mut self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `previous` and `next` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Focuse [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | K: FocuseIterator + Clone, [INFO] [stdout] | |______________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `tick` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait View: Any + Send + 'static { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 76 | /// the view name [INFO] [stdout] 77 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | async fn tick(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PasswordField` and `AuthenticateButton` are never constructed [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum FocuseArea { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | PasswordField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | AuthenticateButton, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FocuseArea` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_username_field`, `is_password_field`, and `is_authenticate_button` are never used [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl FocuseArea { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | fn is_username_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_password_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_authenticate_button(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app_tx` is never read [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct AuthenticateView { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 78 | app_tx: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_authentication_task` is never used [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl AuthenticateView { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn start_authentication_task(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatView` is never constructed [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChatView {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ChatView { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `initial_buffer` and `style` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FieldBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 20 | #[inline] [INFO] [stdout] 21 | pub fn initial_buffer(mut self, value: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn style(mut self, style: FieldStyle) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Transparent` is never constructed [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum FieldStyle { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldStyle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor` and `min` are never read [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | cursor: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | style: FieldStyle, [INFO] [stdout] 91 | min: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `kind`, `valid`, `push_char`, `remove_char`, and `value` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn kind(&self) -> FieldKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn push_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove_char(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a> FieldWidget<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn label(mut self, label: &'a str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusWidget` is never constructed [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StatusWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `view_spans` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> StatusWidget<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(view_name: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn view_spans(&self) -> [Span; 2] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn widget(&self) -> FieldWidget { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn widget(&self) -> FieldWidget<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn view_spans(&self) -> [Span; 2] { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn view_spans(&self) -> [Span<'_>; 2] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling threet-tui v0.1.0 (/opt/rustwide/workdir/crates/threet-tui) [INFO] [stderr] Compiling threet-storage v0.1.0 (/opt/rustwide/workdir/crates/threet-storage) [INFO] [stdout] warning: field `peer` is never read [INFO] [stdout] --> crates/threet-server/src/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 31 | peer: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling threet-server v0.1.0 (/opt/rustwide/workdir/crates/threet-server) [INFO] [stderr] Compiling threet v0.1.0 (/opt/rustwide/workdir/crates/threet) [INFO] [stdout] warning: function `preper_select_statement_string` is never used [INFO] [stdout] --> crates/threet-storage/src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn preper_select_statement_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Model` is never used [INFO] [stdout] --> crates/threet-storage/src/models/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait Model: Send { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> crates/threet-storage/src/models/channel.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `username` are never read [INFO] [stdout] --> crates/threet-storage/src/models/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `database_schema` should have an upper case name [INFO] [stdout] --> crates/threet-storage/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const database_schema: &str = include_str!("../schema.sql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 14 - const database_schema: &str = include_str!("../schema.sql"); [INFO] [stdout] 14 + const DATABASE_SCHEMA: &str = include_str!("../schema.sql"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::LazyLock` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::LazyLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::combo::ComboRegister` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::combo::ComboRegister; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | ... for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 280 | for (_i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_COMBO_DEPTH` [INFO] [stdout] | [INFO] [stdout] 280 - for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] 280 + for (combo::MAX_COMBO_DEPTH, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:290:34 [INFO] [stdout] | [INFO] [stdout] 290 | ... for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 290 | for (_i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_COMBO_DEPTH` [INFO] [stdout] | [INFO] [stdout] 290 - for (i, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] 290 + for (combo::MAX_COMBO_DEPTH, child) in ctr.childs.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 302 | data: NodeData::View(view), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn render(&self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | fn render(&self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle_keys<'a>(&self, key: &[Key], mode: Mode) -> Option<&'a ComboCallback> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle_keys<'a>(&self, key: &[Key], mode: Mode) -> Option<&'a ComboCallback> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> crates/threet-tui/src/app.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Horizontal` is never constructed [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Layout { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 14 | Vertical, [INFO] [stdout] 15 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_view` and `is_container` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | fn is_view(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn is_container(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `views_count`, `swap`, `push`, `remove`, `get_focuse`, and `get_container_mut` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl Tree { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn views_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn swap(&mut self, view: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn push(&mut self, view: Box) -> ViewId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn get_focuse(&self) -> &NodeViewData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn get_container_mut(&mut self) -> &mut NodeContainerData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `swap` and `current_view` are never used [INFO] [stdout] --> crates/threet-tui/src/compositor.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 351 | impl Compositor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn swap(&mut self, view: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn current_view(&self) -> &dyn View { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Space` is never constructed [INFO] [stdout] --> crates/threet-tui/src/event.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum KeyCode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> crates/threet-tui/src/event.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Modifier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contains(&self, modifier: Modifier) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> crates/threet-tui/src/notifications.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Notification { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | kind: NotificationKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `previous` and `next` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | trait FocuseIterator { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 20 | fn previous(&mut self) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | fn next(&mut self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `previous` and `next` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Focuse [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | K: FocuseIterator + Clone, [INFO] [stdout] | |______________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `tick` are never used [INFO] [stdout] --> crates/threet-tui/src/views/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait View: Any + Send + 'static { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 76 | /// the view name [INFO] [stdout] 77 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | async fn tick(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PasswordField` and `AuthenticateButton` are never constructed [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum FocuseArea { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | PasswordField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | AuthenticateButton, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FocuseArea` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_username_field`, `is_password_field`, and `is_authenticate_button` are never used [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl FocuseArea { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 43 | #[inline] [INFO] [stdout] 44 | fn is_username_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_password_field(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn is_authenticate_button(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app_tx` is never read [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct AuthenticateView { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 78 | app_tx: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_authentication_task` is never used [INFO] [stdout] --> crates/threet-tui/src/views/authenticate.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl AuthenticateView { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn start_authentication_task(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatView` is never constructed [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChatView {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/threet-tui/src/views/chat.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ChatView { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `initial_buffer` and `style` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FieldBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 20 | #[inline] [INFO] [stdout] 21 | pub fn initial_buffer(mut self, value: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn style(mut self, style: FieldStyle) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Transparent` is never constructed [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum FieldStyle { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldStyle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor` and `min` are never read [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | cursor: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | style: FieldStyle, [INFO] [stdout] 91 | min: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `kind`, `valid`, `push_char`, `remove_char`, and `value` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn kind(&self) -> FieldKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn push_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove_char(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a> FieldWidget<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn label(mut self, label: &'a str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusWidget` is never constructed [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StatusWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `view_spans` are never used [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> StatusWidget<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(view_name: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn view_spans(&self) -> [Span; 2] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/threet-tui/src/widgets/field.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn widget(&self) -> FieldWidget { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn widget(&self) -> FieldWidget<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/threet-tui/src/widgets/status.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn view_spans(&self) -> [Span; 2] { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn view_spans(&self) -> [Span<'_>; 2] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer` is never read [INFO] [stdout] --> crates/threet-server/src/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 31 | peer: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "b636705cfe7fac60b4aa08ee083ab94a39681f40c97923095a1fb6f6a05012e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b636705cfe7fac60b4aa08ee083ab94a39681f40c97923095a1fb6f6a05012e8", kill_on_drop: false }` [INFO] [stdout] b636705cfe7fac60b4aa08ee083ab94a39681f40c97923095a1fb6f6a05012e8