[INFO] cloning repository https://github.com/kamiyaa/tsuchita [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamiyaa/tsuchita" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamiyaa%2Ftsuchita", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamiyaa%2Ftsuchita'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5563d7261a95111d04f3c6bfa910ea939f1f00b [INFO] testing kamiyaa/tsuchita against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamiyaa%2Ftsuchita" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamiyaa/tsuchita on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamiyaa/tsuchita [INFO] finished tweaking git repo https://github.com/kamiyaa/tsuchita [INFO] tweaked toml for git repo https://github.com/kamiyaa/tsuchita written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kamiyaa/tsuchita already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alphanumeric-sort v1.4.3 [INFO] [stderr] Downloaded libdbus-sys v0.2.1 [INFO] [stderr] Downloaded dbus v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3c71654e22d8e14a73e79053ef94a3b84513da3bf9d558a7f7da7071ae31b9e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d3c71654e22d8e14a73e79053ef94a3b84513da3bf9d558a7f7da7071ae31b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3c71654e22d8e14a73e79053ef94a3b84513da3bf9d558a7f7da7071ae31b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c71654e22d8e14a73e79053ef94a3b84513da3bf9d558a7f7da7071ae31b9e", kill_on_drop: false }` [INFO] [stdout] d3c71654e22d8e14a73e79053ef94a3b84513da3bf9d558a7f7da7071ae31b9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b0b32007dbdf9598c17d1517479ac66bdbfa136c55063dfaf5e1384bf90bee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95b0b32007dbdf9598c17d1517479ac66bdbfa136c55063dfaf5e1384bf90bee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling alphanumeric-sort v1.4.3 [INFO] [stderr] Compiling shell-words v1.0.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dbus v0.9.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tui v0.14.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling ureq v2.1.1 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling tsuchita v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::context::AppContext` [INFO] [stdout] --> src/client/commands/command_keybind.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::AppContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::TuiBackend` [INFO] [stdout] --> src/client/commands/command_keybind.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ui::TuiBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/client/config/keymap.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use termion::event::{Event, Key}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCommand` [INFO] [stdout] --> src/client/run.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{CommandKeybind, KeyCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/client/ui/tui_backend.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Style` [INFO] [stdout] --> src/client/ui/views/tui_view.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::style::{Color, Style}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_config_file` [INFO] [stdout] --> src/server/config/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_config_file(filename: &str) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title` [INFO] [stdout] --> src/server/message.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn title(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content` [INFO] [stdout] --> src/server/message.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timestamp` [INFO] [stdout] --> src/server/message.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn timestamp(&self) -> SystemTime { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_url` [INFO] [stdout] --> src/server/config/default/default.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | server_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/server/config/default/default.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/server/config/default/default.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(server: ServerConfig, client: ClientConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `client_ref` [INFO] [stdout] --> src/server/config/default/default.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn client_ref(&self) -> &ClientConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthStr` [INFO] [stdout] --> src/client/ui/widgets/tui_message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use unicode_width::UnicodeWidthStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client/error.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(err: ureq::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/client/run.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | AppEvent::Termion(Event::Mouse(event)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client/run.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | if let Err(e) = command.execute(context, backend) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/client/run.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | Some(CommandKeybind::CompositeKeybind(m)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_options` [INFO] [stdout] --> src/client/tree.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | display_options: &DisplayOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/client/config/keymap.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut m = self; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/client/util/input.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn process_noninteractive(event: AppEvent, context: &mut AppContext) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_width` [INFO] [stdout] --> src/client/ui/widgets/tui_entry_list.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let name_width = entry.name().width(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drawing_width` [INFO] [stdout] --> src/client/ui/widgets/tui_message.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let drawing_width = area.width as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drawing_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/config/keymap.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut m = self; [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/tree.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut contents: Vec = json_res [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_config_file` [INFO] [stdout] --> src/client/config/mod.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn parse_config_file(filename: &str) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/client/error.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn kind(&self) -> AppErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SearchString` [INFO] [stdout] --> src/client/commands/commands.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | SearchString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KeyCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/commands/commands.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/client/config/keymap.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub command: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/keymap.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keys` [INFO] [stdout] --> src/client/config/keymap.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub keys: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/keymap.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `search_state` [INFO] [stdout] --> src/client/context/context.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | search_state: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_event_tx` [INFO] [stdout] --> src/client/context/context.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_event_tx(&self) -> mpsc::Sender { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config_mut` [INFO] [stdout] --> src/client/context/context.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn config_mut(&mut self) -> &mut AppConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_search_state` [INFO] [stdout] --> src/client/context/context.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_search_state(&mut self, pattern: SearchPattern) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_search_state` [INFO] [stdout] --> src/client/context/context.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_search_state(&self) -> Option<&SearchPattern> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LocalStateContext` [INFO] [stdout] --> src/client/context/local_state.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LocalStateContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/context/local_state.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_paths` [INFO] [stdout] --> src/client/context/local_state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_paths(&mut self, vals: I) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/client/fs/entry_list.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TsuchitaList` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/fs/entry_list.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/client/fs/entry_list.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/fs/message.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(source: String, title: String, content: String, timestamp: SystemTime) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `source` [INFO] [stdout] --> src/client/fs/message.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn source(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_borders` [INFO] [stdout] --> src/client/util/display.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn show_borders(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_options_mut` [INFO] [stdout] --> src/client/util/display.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn sort_options_mut(&mut self) -> &mut sort::SortOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timezone` [INFO] [stdout] --> src/client/util/display.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn timezone(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `time_to_utc` [INFO] [stdout] --> src/client/util/format.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn time_to_utc(systime: time::SystemTime, date_format: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glob` [INFO] [stdout] --> src/client/util/search.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Glob(GlobMatcher), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SearchPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/util/search.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/client/util/search.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SearchPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/util/search.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_true` [INFO] [stdout] --> src/client/config/default/default.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | const fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scroll_offset` [INFO] [stdout] --> src/client/config/default/default.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | const fn default_scroll_offset() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_max_preview_size` [INFO] [stdout] --> src/client/config/default/default.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | const fn default_max_preview_size() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/config/default/default.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(server: ServerConfig, client: ClientConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `client_mut` [INFO] [stdout] --> src/client/config/default/default.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn client_mut(&mut self) -> &mut ClientConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_mut` [INFO] [stdout] --> src/client/config/default/default.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn server_mut(&mut self) -> &mut ServerConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display_options_mut` [INFO] [stdout] --> src/client/config/default/default.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn display_options_mut(&mut self) -> &mut DisplayOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_options_ref` [INFO] [stdout] --> src/client/config/default/default.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn sort_options_ref(&self) -> &sort::SortOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_options_mut` [INFO] [stdout] --> src/client/config/default/default.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn sort_options_mut(&mut self) -> &mut sort::SortOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> src/client/config/theme/style.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StylePrefix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/theme/style.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/client/config/theme/style.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StylePrefix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/theme/style.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix` [INFO] [stdout] --> src/client/config/theme/style.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn prefix(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/client/config/theme/style.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_prefix` [INFO] [stdout] --> src/client/config/theme/style.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_prefix(mut self, prefix: StylePrefix) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_color` [INFO] [stdout] --> src/client/config/theme/theme.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | const fn default_color() -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ELLIPSIS` [INFO] [stdout] --> src/client/ui/widgets/tui_entry_list.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const ELLIPSIS: &str = "…"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ELLIPSIS` [INFO] [stdout] --> src/client/ui/widgets/tui_message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const ELLIPSIS: &str = "…"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/commands/cursor_move.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | / context.tree_mut().fetch_messages( [INFO] [stdout] 39 | | url.as_str(), [INFO] [stdout] 40 | | source.as_str(), [INFO] [stdout] 41 | | &display_options, [INFO] [stdout] 42 | | ); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/commands/cursor_move.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | / context.tree_mut().fetch_messages( [INFO] [stdout] 47 | | url.as_str(), [INFO] [stdout] 48 | | source.as_str(), [INFO] [stdout] 49 | | &display_options, [INFO] [stdout] 50 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "95b0b32007dbdf9598c17d1517479ac66bdbfa136c55063dfaf5e1384bf90bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b0b32007dbdf9598c17d1517479ac66bdbfa136c55063dfaf5e1384bf90bee", kill_on_drop: false }` [INFO] [stdout] 95b0b32007dbdf9598c17d1517479ac66bdbfa136c55063dfaf5e1384bf90bee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9030938c2337a07b2be5fe7975d84395e12829b4be92a9390f406caa05ebc2da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9030938c2337a07b2be5fe7975d84395e12829b4be92a9390f406caa05ebc2da", kill_on_drop: false }` [INFO] [stderr] Compiling tsuchita v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::context::AppContext` [INFO] [stdout] --> src/client/commands/command_keybind.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::AppContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::TuiBackend` [INFO] [stdout] --> src/client/commands/command_keybind.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ui::TuiBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/client/config/keymap.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use termion::event::{Event, Key}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCommand` [INFO] [stdout] --> src/client/run.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{CommandKeybind, KeyCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/client/ui/tui_backend.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Style` [INFO] [stdout] --> src/client/ui/views/tui_view.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::style::{Color, Style}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_config_file` [INFO] [stdout] --> src/server/config/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_config_file(filename: &str) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title` [INFO] [stdout] --> src/server/message.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn title(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content` [INFO] [stdout] --> src/server/message.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timestamp` [INFO] [stdout] --> src/server/message.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn timestamp(&self) -> SystemTime { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_url` [INFO] [stdout] --> src/server/config/default/default.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | server_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/server/config/default/default.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/server/config/default/default.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(server: ServerConfig, client: ClientConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `client_ref` [INFO] [stdout] --> src/server/config/default/default.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn client_ref(&self) -> &ClientConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthStr` [INFO] [stdout] --> src/client/ui/widgets/tui_message.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use unicode_width::UnicodeWidthStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client/error.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(err: ureq::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/client/run.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | AppEvent::Termion(Event::Mouse(event)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/client/run.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | if let Err(e) = command.execute(context, backend) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/client/run.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | Some(CommandKeybind::CompositeKeybind(m)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_options` [INFO] [stdout] --> src/client/tree.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | display_options: &DisplayOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/client/config/keymap.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut m = self; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/client/util/input.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn process_noninteractive(event: AppEvent, context: &mut AppContext) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_width` [INFO] [stdout] --> src/client/ui/widgets/tui_entry_list.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let name_width = entry.name().width(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drawing_width` [INFO] [stdout] --> src/client/ui/widgets/tui_message.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let drawing_width = area.width as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drawing_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/config/keymap.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut m = self; [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/tree.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut contents: Vec = json_res [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_config_file` [INFO] [stdout] --> src/client/config/mod.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn parse_config_file(filename: &str) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/client/error.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn kind(&self) -> AppErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SearchString` [INFO] [stdout] --> src/client/commands/commands.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | SearchString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KeyCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/commands/commands.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/client/config/keymap.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub command: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/keymap.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keys` [INFO] [stdout] --> src/client/config/keymap.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub keys: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/keymap.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `search_state` [INFO] [stdout] --> src/client/context/context.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | search_state: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_event_tx` [INFO] [stdout] --> src/client/context/context.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_event_tx(&self) -> mpsc::Sender { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config_mut` [INFO] [stdout] --> src/client/context/context.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn config_mut(&mut self) -> &mut AppConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_search_state` [INFO] [stdout] --> src/client/context/context.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_search_state(&mut self, pattern: SearchPattern) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_search_state` [INFO] [stdout] --> src/client/context/context.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_search_state(&self) -> Option<&SearchPattern> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LocalStateContext` [INFO] [stdout] --> src/client/context/local_state.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LocalStateContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/context/local_state.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_paths` [INFO] [stdout] --> src/client/context/local_state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_paths(&mut self, vals: I) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/client/fs/entry_list.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TsuchitaList` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/fs/entry_list.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/client/fs/entry_list.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/fs/message.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(source: String, title: String, content: String, timestamp: SystemTime) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `source` [INFO] [stdout] --> src/client/fs/message.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn source(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_borders` [INFO] [stdout] --> src/client/util/display.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn show_borders(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_options_mut` [INFO] [stdout] --> src/client/util/display.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn sort_options_mut(&mut self) -> &mut sort::SortOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timezone` [INFO] [stdout] --> src/client/util/display.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn timezone(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `time_to_utc` [INFO] [stdout] --> src/client/util/format.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn time_to_utc(systime: time::SystemTime, date_format: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glob` [INFO] [stdout] --> src/client/util/search.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Glob(GlobMatcher), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SearchPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/util/search.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/client/util/search.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SearchPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/util/search.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_true` [INFO] [stdout] --> src/client/config/default/default.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | const fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scroll_offset` [INFO] [stdout] --> src/client/config/default/default.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | const fn default_scroll_offset() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_max_preview_size` [INFO] [stdout] --> src/client/config/default/default.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | const fn default_max_preview_size() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/config/default/default.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(server: ServerConfig, client: ClientConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `client_mut` [INFO] [stdout] --> src/client/config/default/default.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn client_mut(&mut self) -> &mut ClientConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_mut` [INFO] [stdout] --> src/client/config/default/default.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn server_mut(&mut self) -> &mut ServerConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display_options_mut` [INFO] [stdout] --> src/client/config/default/default.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn display_options_mut(&mut self) -> &mut DisplayOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_options_ref` [INFO] [stdout] --> src/client/config/default/default.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn sort_options_ref(&self) -> &sort::SortOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_options_mut` [INFO] [stdout] --> src/client/config/default/default.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn sort_options_mut(&mut self) -> &mut sort::SortOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> src/client/config/theme/style.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StylePrefix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/theme/style.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/client/config/theme/style.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StylePrefix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/config/theme/style.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix` [INFO] [stdout] --> src/client/config/theme/style.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn prefix(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/client/config/theme/style.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_prefix` [INFO] [stdout] --> src/client/config/theme/style.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_prefix(mut self, prefix: StylePrefix) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_color` [INFO] [stdout] --> src/client/config/theme/theme.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | const fn default_color() -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ELLIPSIS` [INFO] [stdout] --> src/client/ui/widgets/tui_entry_list.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const ELLIPSIS: &str = "…"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ELLIPSIS` [INFO] [stdout] --> src/client/ui/widgets/tui_message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const ELLIPSIS: &str = "…"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/commands/cursor_move.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | / context.tree_mut().fetch_messages( [INFO] [stdout] 39 | | url.as_str(), [INFO] [stdout] 40 | | source.as_str(), [INFO] [stdout] 41 | | &display_options, [INFO] [stdout] 42 | | ); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client/commands/cursor_move.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | / context.tree_mut().fetch_messages( [INFO] [stdout] 47 | | url.as_str(), [INFO] [stdout] 48 | | source.as_str(), [INFO] [stdout] 49 | | &display_options, [INFO] [stdout] 50 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "9030938c2337a07b2be5fe7975d84395e12829b4be92a9390f406caa05ebc2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9030938c2337a07b2be5fe7975d84395e12829b4be92a9390f406caa05ebc2da", kill_on_drop: false }` [INFO] [stdout] 9030938c2337a07b2be5fe7975d84395e12829b4be92a9390f406caa05ebc2da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ab836b2c3159575de8dc6357b697cd65ead7d46eba0b4cdafb2b9f19f65e3c0b [INFO] running `Command { std: "docker" "start" "-a" "ab836b2c3159575de8dc6357b697cd65ead7d46eba0b4cdafb2b9f19f65e3c0b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::context::AppContext` [INFO] [stderr] --> src/client/commands/command_keybind.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::context::AppContext; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ui::TuiBackend` [INFO] [stderr] --> src/client/commands/command_keybind.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ui::TuiBackend; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Key` [INFO] [stderr] --> src/client/config/keymap.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | use termion::event::{Event, Key}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `KeyCommand` [INFO] [stderr] --> src/client/run.rs:3:39 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::commands::{CommandKeybind, KeyCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::stdout` [INFO] [stderr] --> src/client/ui/tui_backend.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::stdout; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Color`, `Style` [INFO] [stderr] --> src/client/ui/views/tui_view.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use tui::style::{Color, Style}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `unicode_width::UnicodeWidthStr` [INFO] [stderr] --> src/client/ui/widgets/tui_message.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use unicode_width::UnicodeWidthStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/client/error.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | fn from(err: ureq::Error) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/client/run.rs:25:44 [INFO] [stderr] | [INFO] [stderr] 25 | AppEvent::Termion(Event::Mouse(event)) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/client/run.rs:34:36 [INFO] [stderr] | [INFO] [stderr] 34 | if let Err(e) = command.execute(context, backend) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/client/run.rs:38:59 [INFO] [stderr] | [INFO] [stderr] 38 | Some(CommandKeybind::CompositeKeybind(m)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `display_options` [INFO] [stderr] --> src/client/tree.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | display_options: &DisplayOption, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m` [INFO] [stderr] --> src/client/config/keymap.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | let mut m = self; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/client/util/input.rs:6:48 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn process_noninteractive(event: AppEvent, context: &mut AppContext) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name_width` [INFO] [stderr] --> src/client/ui/widgets/tui_entry_list.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let name_width = entry.name().width(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `drawing_width` [INFO] [stderr] --> src/client/ui/widgets/tui_message.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let drawing_width = area.width as usize; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drawing_width` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/client/config/keymap.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let mut m = self; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/client/tree.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let mut contents: Vec = json_res [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_config_file` [INFO] [stderr] --> src/client/config/mod.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | fn parse_config_file(filename: &str) -> Option [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `kind` [INFO] [stderr] --> src/client/error.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn kind(&self) -> AppErrorKind { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SearchString` [INFO] [stderr] --> src/client/commands/commands.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | SearchString(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `KeyCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/commands/commands.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `command` [INFO] [stderr] --> src/client/config/keymap.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | pub command: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MapCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/config/keymap.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `keys` [INFO] [stderr] --> src/client/config/keymap.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | pub keys: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MapCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/config/keymap.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `search_state` [INFO] [stderr] --> src/client/context/context.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | search_state: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_event_tx` [INFO] [stderr] --> src/client/context/context.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn get_event_tx(&self) -> mpsc::Sender { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `config_mut` [INFO] [stderr] --> src/client/context/context.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn config_mut(&mut self) -> &mut AppConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_search_state` [INFO] [stderr] --> src/client/context/context.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn set_search_state(&mut self, pattern: SearchPattern) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_search_state` [INFO] [stderr] --> src/client/context/context.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_search_state(&self) -> Option<&SearchPattern> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `LocalStateContext` [INFO] [stderr] --> src/client/context/local_state.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct LocalStateContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/client/context/local_state.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_paths` [INFO] [stderr] --> src/client/context/local_state.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn set_paths(&mut self, vals: I) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/client/fs/entry_list.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TsuchitaList` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/fs/entry_list.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iter_mut` [INFO] [stderr] --> src/client/fs/entry_list.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/client/fs/message.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(source: String, title: String, content: String, timestamp: SystemTime) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `source` [INFO] [stderr] --> src/client/fs/message.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn source(&self) -> &str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `show_borders` [INFO] [stderr] --> src/client/util/display.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn show_borders(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sort_options_mut` [INFO] [stderr] --> src/client/util/display.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn sort_options_mut(&mut self) -> &mut sort::SortOption { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `timezone` [INFO] [stderr] --> src/client/util/display.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn timezone(&self) -> &str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `time_to_utc` [INFO] [stderr] --> src/client/util/format.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn time_to_utc(systime: time::SystemTime, date_format: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Glob` [INFO] [stderr] --> src/client/util/search.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Glob(GlobMatcher), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SearchPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/util/search.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `String` [INFO] [stderr] --> src/client/util/search.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | String(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SearchPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/util/search.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `default_true` [INFO] [stderr] --> src/client/config/default/default.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | const fn default_true() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `default_scroll_offset` [INFO] [stderr] --> src/client/config/default/default.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | const fn default_scroll_offset() -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `default_max_preview_size` [INFO] [stderr] --> src/client/config/default/default.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | const fn default_max_preview_size() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/client/config/default/default.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn new(server: ServerConfig, client: ClientConfig) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `client_mut` [INFO] [stderr] --> src/client/config/default/default.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn client_mut(&mut self) -> &mut ClientConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `server_mut` [INFO] [stderr] --> src/client/config/default/default.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn server_mut(&mut self) -> &mut ServerConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `display_options_mut` [INFO] [stderr] --> src/client/config/default/default.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn display_options_mut(&mut self) -> &mut DisplayOption { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sort_options_ref` [INFO] [stderr] --> src/client/config/default/default.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn sort_options_ref(&self) -> &sort::SortOption { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sort_options_mut` [INFO] [stderr] --> src/client/config/default/default.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn sort_options_mut(&mut self) -> &mut sort::SortOption { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `prefix` [INFO] [stderr] --> src/client/config/theme/style.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | prefix: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StylePrefix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/config/theme/style.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/client/config/theme/style.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StylePrefix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/config/theme/style.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `prefix` [INFO] [stderr] --> src/client/config/theme/style.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn prefix(&self) -> &str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/client/config/theme/style.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn size(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_prefix` [INFO] [stderr] --> src/client/config/theme/style.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn set_prefix(mut self, prefix: StylePrefix) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `default_color` [INFO] [stderr] --> src/client/config/theme/theme.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | const fn default_color() -> Color { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ELLIPSIS` [INFO] [stderr] --> src/client/ui/widgets/tui_entry_list.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const ELLIPSIS: &str = "…"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ELLIPSIS` [INFO] [stderr] --> src/client/ui/widgets/tui_message.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const ELLIPSIS: &str = "…"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/client/commands/cursor_move.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | / context.tree_mut().fetch_messages( [INFO] [stderr] 39 | | url.as_str(), [INFO] [stderr] 40 | | source.as_str(), [INFO] [stderr] 41 | | &display_options, [INFO] [stderr] 42 | | ); [INFO] [stderr] | |__________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/client/commands/cursor_move.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | / context.tree_mut().fetch_messages( [INFO] [stderr] 47 | | url.as_str(), [INFO] [stderr] 48 | | source.as_str(), [INFO] [stderr] 49 | | &display_options, [INFO] [stderr] 50 | | ); [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_config_file` [INFO] [stderr] --> src/server/config/mod.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn parse_config_file(filename: &str) -> Option [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `title` [INFO] [stderr] --> src/server/message.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn title(&self) -> &str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `content` [INFO] [stderr] --> src/server/message.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn content(&self) -> &str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `timestamp` [INFO] [stderr] --> src/server/message.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn timestamp(&self) -> SystemTime { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `server_url` [INFO] [stderr] --> src/server/config/default/default.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | server_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ClientConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/server/config/default/default.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/server/config/default/default.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn new(server: ServerConfig, client: ClientConfig) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `client_ref` [INFO] [stderr] --> src/server/config/default/default.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn client_ref(&self) -> &ClientConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tsuchita` (bin "tsuchita" test) generated 60 warnings [INFO] [stderr] warning: `tsuchita` (bin "tsuchita-server" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tsuchita-0c2b170edc8ac1db) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tsuchita_server-ae5ad4802cebdb5f) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab836b2c3159575de8dc6357b697cd65ead7d46eba0b4cdafb2b9f19f65e3c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab836b2c3159575de8dc6357b697cd65ead7d46eba0b4cdafb2b9f19f65e3c0b", kill_on_drop: false }` [INFO] [stdout] ab836b2c3159575de8dc6357b697cd65ead7d46eba0b4cdafb2b9f19f65e3c0b