[INFO] cloning repository https://github.com/robbinhan/rssh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robbinhan/rssh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbinhan%2Frssh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbinhan%2Frssh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd24ac7a1aad0bba9eb9b1af12afe137ae61d257 [INFO] building robbinhan/rssh against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbinhan%2Frssh" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/robbinhan/rssh [INFO] finished tweaking git repo https://github.com/robbinhan/rssh [INFO] tweaked toml for git repo https://github.com/robbinhan/rssh written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/robbinhan/rssh on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/robbinhan/rssh already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] [stderr] Downloaded rpassword v7.3.1 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded env_logger v0.11.7 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded russh-keys v0.40.1 [INFO] [stderr] Downloaded anyhow v1.0.97 [INFO] [stderr] Downloaded jiff-static v0.2.5 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded winnow v0.7.4 [INFO] [stderr] Downloaded russh v0.40.2 [INFO] [stderr] Downloaded rusqlite v0.30.0 [INFO] [stderr] Downloaded flate2 v1.1.0 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded shellexpand v3.1.0 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] [stderr] Downloaded instability v0.3.7 [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded rtoolbox v0.0.2 [INFO] [stderr] Downloaded ssh2 v0.9.5 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded jiff v0.2.5 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] [stderr] Downloaded data-encoding v2.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a6916b9f66e0644f4f5fa275564137df2636b4568e7ad381824d77f5691cde1 [INFO] running `Command { std: "docker" "start" "-a" "3a6916b9f66e0644f4f5fa275564137df2636b4568e7ad381824d77f5691cde1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6916b9f66e0644f4f5fa275564137df2636b4568e7ad381824d77f5691cde1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6916b9f66e0644f4f5fa275564137df2636b4568e7ad381824d77f5691cde1", kill_on_drop: false }` [INFO] [stdout] 3a6916b9f66e0644f4f5fa275564137df2636b4568e7ad381824d77f5691cde1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f9e3409ead4c2b923016280f8e74db98d4acb12b8045e08f0154adc6e978b8c [INFO] running `Command { std: "docker" "start" "-a" "3f9e3409ead4c2b923016280f8e74db98d4acb12b8045e08f0154adc6e978b8c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling bcrypt-pbkdf v0.10.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling russh-cryptovec v0.7.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling ssh2 v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling russh-keys v0.40.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling russh v0.40.2 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling rssh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `ZMODEM_DETECT` is never used [INFO] [stdout] --> src/utils/rzsz.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ZMODEM_DETECT: &[u8] = b"**\x18B00000000000000\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZMODEM_START` is never used [INFO] [stdout] --> src/rzsz_proxy.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ZMODEM_START: &[u8] = b"**\x18B00000000000000\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/config/session_manager.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [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: `ssh::*` [INFO] [stdout] --> src/utils/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use ssh::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file_kitty` and `upload_file_kitty` [INFO] [stdout] --> src/utils/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | upload_file_kitty, download_file_kitty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SshClient`, `russh_connect`, and `ssh_command_connect` [INFO] [stdout] --> src/commands/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | ...s::{SshClient, import_ssh_config, connect_via_system_ssh, connect_via_system_ssh_with_command, ssh_command_connect, russh_connect}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/commands/mod.rs:275:18 [INFO] [stdout] | [INFO] [stdout] 275 | .split(f.size()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead [INFO] [stdout] --> src/commands/mod.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | .highlight_style(Style::default().add_modifier(Modifier::REVERSED)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/utils/simple_ssh.rs:469:28 [INFO] [stdout] | [INFO] [stdout] 469 | AuthType::Password(password) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/models/server.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_session_from_file` is never used [INFO] [stdout] --> src/models/session.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn load_session_from_file(path: &PathBuf) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_session_to_file` is never used [INFO] [stdout] --> src/models/session.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn save_session_to_file(config: &SessionConfig, path: &PathBuf) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `edit_session` is never used [INFO] [stdout] --> src/config/session_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SessionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn edit_session( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZMODEM_DETECT` is never used [INFO] [stdout] --> src/utils/rzsz.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ZMODEM_DETECT: &[u8] = b"**\x18B00000000000000\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RZ_COMMAND` is never used [INFO] [stdout] --> src/utils/rzsz.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const RZ_COMMAND: &[u8] = b"rz\r"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SZ_COMMAND` is never used [INFO] [stdout] --> src/utils/rzsz.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SZ_COMMAND: &[u8] = b"sz"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_rzsz_command` is never used [INFO] [stdout] --> src/utils/rzsz.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_rzsz_command(data: &[u8]) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rzsz` is never used [INFO] [stdout] --> src/utils/rzsz.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn handle_rzsz(data: &[u8], channel: &mut ssh2::Channel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_receive_file` is never used [INFO] [stdout] --> src/utils/rzsz.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn handle_receive_file(_channel: &mut ssh2::Channel) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_send_file` is never used [INFO] [stdout] --> src/utils/rzsz.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn handle_send_file(channel: &mut ssh2::Channel, args: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_file_dialog` is never used [INFO] [stdout] --> src/utils/rzsz.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn select_file_dialog() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_save_location` is never used [INFO] [stdout] --> src/utils/rzsz.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn select_save_location(default_filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_gui_file_selection` is never used [INFO] [stdout] --> src/utils/rzsz.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn try_gui_file_selection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_gui_save_selection` is never used [INFO] [stdout] --> src/utils/rzsz.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn try_gui_save_selection(default_filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_log` is never used [INFO] [stdout] --> src/utils/ssh.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn debug_log(msg: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshClient` is never constructed [INFO] [stdout] --> src/utils/ssh.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SshClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `execute_command`, and `start_shell` are never used [INFO] [stdout] --> src/utils/ssh.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SshClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 39 | pub fn connect(server: &ServerConfig) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn execute_command(&self, command: &str) -> Result<(String, String, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn start_shell(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terminal_size` is never used [INFO] [stdout] --> src/utils/ssh.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn terminal_size() -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/utils/terminal_style.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 29 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | BrightRed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | BrightGreen, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | BrightYellow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | BrightBlue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | BrightMagenta, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | BrightCyan, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | BrightWhite, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | RGB(u8, u8, u8), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` 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: multiple methods are never used [INFO] [stdout] --> src/utils/terminal_style.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Style { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn bg(mut self, color: Color) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn italic(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn underline(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn strikethrough(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn dim(mut self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn reverse(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn blink(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn rapid_blink(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn hidden(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn framed(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn encircled(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn overlined(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn superscript(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn subscript(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn to_ansi(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub const BLACK: Color = Color::Black; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub const RED: Color = Color::Red; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const BLUE: Color = Color::Blue; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGENTA` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MAGENTA: Color = Color::Magenta; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_RED` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const BRIGHT_RED: Color = Color::BrightRed; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_GREEN` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BRIGHT_GREEN: Color = Color::BrightGreen; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_YELLOW` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const BRIGHT_YELLOW: Color = Color::BrightYellow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_BLUE` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BRIGHT_BLUE: Color = Color::BrightBlue; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_MAGENTA` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BRIGHT_MAGENTA: Color = Color::BrightMagenta; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_CYAN` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const BRIGHT_CYAN: Color = Color::BrightCyan; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_WHITE` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const BRIGHT_WHITE: Color = Color::BrightWhite; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handler` is never constructed [INFO] [stdout] --> src/utils/russh_client.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Handler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/russh_client.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Handler { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_with_russh` is never used [INFO] [stdout] --> src/utils/russh_client.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn connect_with_russh(server: &ServerConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `russh_connect` is never used [INFO] [stdout] --> src/utils/russh_client.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn russh_connect(server: &ServerConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ssh_command_connect` is never used [INFO] [stdout] --> src/utils/simple_ssh.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn ssh_command_connect(server: &ServerConfig, use_kitten: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_file_kitty` is never used [INFO] [stdout] --> src/utils/file_transfer.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn upload_file_kitty>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_via_kitty` is never used [INFO] [stdout] --> src/utils/kitty_transfer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn upload_via_kitty>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rzsz` is never used [INFO] [stdout] --> src/utils/handle_rzsz.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn handle_rzsz(data: &[u8], _channel: &mut impl Write) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_path` is never read [INFO] [stdout] --> src/utils/rclone.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RcloneConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | config_path: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcloneConfig` is never constructed [INFO] [stdout] --> src/rclone.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RcloneConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ensure_rclone_installed`, `configure_remote`, and `copy` are never used [INFO] [stdout] --> src/rclone.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RcloneConfig { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn ensure_rclone_installed() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn configure_remote(&self, server: &Server) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn copy(&self, from_server: &Server, from_path: &str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "3f9e3409ead4c2b923016280f8e74db98d4acb12b8045e08f0154adc6e978b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f9e3409ead4c2b923016280f8e74db98d4acb12b8045e08f0154adc6e978b8c", kill_on_drop: false }` [INFO] [stdout] 3f9e3409ead4c2b923016280f8e74db98d4acb12b8045e08f0154adc6e978b8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0690a6dad4a4dd81d2f0992d0538ddb4235cfc83de53038a84b23b427c25458 [INFO] running `Command { std: "docker" "start" "-a" "c0690a6dad4a4dd81d2f0992d0538ddb4235cfc83de53038a84b23b427c25458", kill_on_drop: false }` [INFO] [stderr] Compiling rssh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `ZMODEM_DETECT` is never used [INFO] [stdout] --> src/utils/rzsz.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ZMODEM_DETECT: &[u8] = b"**\x18B00000000000000\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZMODEM_START` is never used [INFO] [stdout] --> src/rzsz_proxy.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ZMODEM_START: &[u8] = b"**\x18B00000000000000\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/config/session_manager.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [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: `ssh::*` [INFO] [stdout] --> src/utils/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use ssh::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file_kitty` and `upload_file_kitty` [INFO] [stdout] --> src/utils/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | upload_file_kitty, download_file_kitty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SshClient`, `russh_connect`, and `ssh_command_connect` [INFO] [stdout] --> src/commands/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | ...s::{SshClient, import_ssh_config, connect_via_system_ssh, connect_via_system_ssh_with_command, ssh_command_connect, russh_connect}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZMODEM_DETECT` is never used [INFO] [stdout] --> src/utils/rzsz.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ZMODEM_DETECT: &[u8] = b"**\x18B00000000000000\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/commands/mod.rs:275:18 [INFO] [stdout] | [INFO] [stdout] 275 | .split(f.size()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead [INFO] [stdout] --> src/commands/mod.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | .highlight_style(Style::default().add_modifier(Modifier::REVERSED)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/utils/simple_ssh.rs:469:28 [INFO] [stdout] | [INFO] [stdout] 469 | AuthType::Password(password) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/models/server.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_session_from_file` is never used [INFO] [stdout] --> src/models/session.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn load_session_from_file(path: &PathBuf) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_session_to_file` is never used [INFO] [stdout] --> src/models/session.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn save_session_to_file(config: &SessionConfig, path: &PathBuf) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `edit_session` is never used [INFO] [stdout] --> src/config/session_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SessionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn edit_session( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZMODEM_DETECT` is never used [INFO] [stdout] --> src/utils/rzsz.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ZMODEM_DETECT: &[u8] = b"**\x18B00000000000000\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RZ_COMMAND` is never used [INFO] [stdout] --> src/utils/rzsz.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const RZ_COMMAND: &[u8] = b"rz\r"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SZ_COMMAND` is never used [INFO] [stdout] --> src/utils/rzsz.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SZ_COMMAND: &[u8] = b"sz"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_rzsz_command` is never used [INFO] [stdout] --> src/utils/rzsz.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_rzsz_command(data: &[u8]) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rzsz` is never used [INFO] [stdout] --> src/utils/rzsz.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn handle_rzsz(data: &[u8], channel: &mut ssh2::Channel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_receive_file` is never used [INFO] [stdout] --> src/utils/rzsz.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn handle_receive_file(_channel: &mut ssh2::Channel) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_send_file` is never used [INFO] [stdout] --> src/utils/rzsz.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn handle_send_file(channel: &mut ssh2::Channel, args: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_file_dialog` is never used [INFO] [stdout] --> src/utils/rzsz.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn select_file_dialog() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_save_location` is never used [INFO] [stdout] --> src/utils/rzsz.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn select_save_location(default_filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_gui_file_selection` is never used [INFO] [stdout] --> src/utils/rzsz.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn try_gui_file_selection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_gui_save_selection` is never used [INFO] [stdout] --> src/utils/rzsz.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn try_gui_save_selection(default_filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_log` is never used [INFO] [stdout] --> src/utils/ssh.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn debug_log(msg: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SshClient` is never constructed [INFO] [stdout] --> src/utils/ssh.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SshClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `execute_command`, and `start_shell` are never used [INFO] [stdout] --> src/utils/ssh.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SshClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 39 | pub fn connect(server: &ServerConfig) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn execute_command(&self, command: &str) -> Result<(String, String, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn start_shell(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terminal_size` is never used [INFO] [stdout] --> src/utils/ssh.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn terminal_size() -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/utils/terminal_style.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 29 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | BrightRed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | BrightGreen, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | BrightYellow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | BrightBlue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | BrightMagenta, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | BrightCyan, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | BrightWhite, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | RGB(u8, u8, u8), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` 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: multiple methods are never used [INFO] [stdout] --> src/utils/terminal_style.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Style { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn bg(mut self, color: Color) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn italic(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn underline(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn strikethrough(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn dim(mut self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn reverse(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn blink(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn rapid_blink(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn hidden(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn framed(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn encircled(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn overlined(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn superscript(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn subscript(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn to_ansi(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub const BLACK: Color = Color::Black; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub const RED: Color = Color::Red; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const BLUE: Color = Color::Blue; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGENTA` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MAGENTA: Color = Color::Magenta; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_RED` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const BRIGHT_RED: Color = Color::BrightRed; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_GREEN` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BRIGHT_GREEN: Color = Color::BrightGreen; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_YELLOW` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const BRIGHT_YELLOW: Color = Color::BrightYellow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_BLUE` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BRIGHT_BLUE: Color = Color::BrightBlue; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_MAGENTA` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BRIGHT_MAGENTA: Color = Color::BrightMagenta; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_CYAN` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const BRIGHT_CYAN: Color = Color::BrightCyan; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRIGHT_WHITE` is never used [INFO] [stdout] --> src/utils/terminal_style.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const BRIGHT_WHITE: Color = Color::BrightWhite; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handler` is never constructed [INFO] [stdout] --> src/utils/russh_client.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Handler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/russh_client.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Handler { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_with_russh` is never used [INFO] [stdout] --> src/utils/russh_client.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn connect_with_russh(server: &ServerConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `russh_connect` is never used [INFO] [stdout] --> src/utils/russh_client.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn russh_connect(server: &ServerConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ssh_command_connect` is never used [INFO] [stdout] --> src/utils/simple_ssh.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn ssh_command_connect(server: &ServerConfig, use_kitten: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_file_kitty` is never used [INFO] [stdout] --> src/utils/file_transfer.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn upload_file_kitty>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_via_kitty` is never used [INFO] [stdout] --> src/utils/kitty_transfer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn upload_via_kitty>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rzsz` is never used [INFO] [stdout] --> src/utils/handle_rzsz.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn handle_rzsz(data: &[u8], _channel: &mut impl Write) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_path` is never read [INFO] [stdout] --> src/utils/rclone.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RcloneConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | config_path: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcloneConfig` is never constructed [INFO] [stdout] --> src/rclone.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RcloneConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ensure_rclone_installed`, `configure_remote`, and `copy` are never used [INFO] [stdout] --> src/rclone.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RcloneConfig { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn ensure_rclone_installed() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn configure_remote(&self, server: &Server) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn copy(&self, from_server: &Server, from_path: &str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.61s [INFO] running `Command { std: "docker" "inspect" "c0690a6dad4a4dd81d2f0992d0538ddb4235cfc83de53038a84b23b427c25458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0690a6dad4a4dd81d2f0992d0538ddb4235cfc83de53038a84b23b427c25458", kill_on_drop: false }` [INFO] [stdout] c0690a6dad4a4dd81d2f0992d0538ddb4235cfc83de53038a84b23b427c25458