[INFO] cloning repository https://github.com/hahatianx/lumo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hahatianx/lumo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhahatianx%2Flumo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhahatianx%2Flumo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fab3e4b91ec62b92c2d87897c3e4ebb046c6d4c [INFO] checking hahatianx/lumo against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhahatianx%2Flumo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hahatianx/lumo [INFO] finished tweaking git repo https://github.com/hahatianx/lumo [INFO] tweaked toml for git repo https://github.com/hahatianx/lumo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hahatianx/lumo on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hahatianx/lumo 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62bf70dd607a7291018e5176d012eee31f605a38aa92b9fde1613b642940309f [INFO] running `Command { std: "docker" "start" "-a" "62bf70dd607a7291018e5176d012eee31f605a38aa92b9fde1613b642940309f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62bf70dd607a7291018e5176d012eee31f605a38aa92b9fde1613b642940309f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62bf70dd607a7291018e5176d012eee31f605a38aa92b9fde1613b642940309f", kill_on_drop: false }` [INFO] [stdout] 62bf70dd607a7291018e5176d012eee31f605a38aa92b9fde1613b642940309f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb1f442d4c7f374d078b9bc42641bc37cc84862fbcd2dd7d1efe2d45f3f31f76 [INFO] running `Command { std: "docker" "start" "-a" "bb1f442d4c7f374d078b9bc42641bc37cc84862fbcd2dd7d1efe2d45f3f31f76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking lexical-util v1.0.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling type-map v0.5.1 [INFO] [stderr] Compiling self_cell v1.2.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking lexical-parse-integer v1.0.6 [INFO] [stderr] Checking lexical-write-integer v1.0.6 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking lexical-write-float v1.0.6 [INFO] [stderr] Checking lexical-parse-float v1.0.6 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Checking io_tee v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking lexical-core v1.0.6 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rust-embed-utils v8.9.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking chacha20 v0.10.0-rc.2 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking pnet_sys v0.34.0 [INFO] [stderr] Checking pnet_base v0.34.0 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking rand v0.10.0-rc.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking scc v2.4.0 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rust-embed-impl v8.9.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling cli_handler v0.1.0 (/opt/rustwide/workdir/cli_handler) [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling rust-embed v8.9.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking unic-langid-impl v0.9.6 [INFO] [stderr] Checking unic-langid v0.9.6 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking fluent-langneg v0.13.1 [INFO] [stderr] Checking intl-memoizer v0.5.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling fluent-syntax v0.11.1 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking fluent-bundle v0.15.3 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking fluent v0.16.1 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking pnet_datalink v0.34.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking api_model v0.1.0 (/opt/rustwide/workdir/api_model) [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling i18n-config v0.4.8 [INFO] [stderr] Checking age-core v0.11.0 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stdout] warning: associated functions `to_utf8` and `parse_from_str` are never used [INFO] [stdout] --> api_model/src/protocol/token.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Token { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 22 | #[inline] [INFO] [stdout] 23 | fn to_utf8(bytes: &[u8]) -> Result<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn parse_from_str(s: &str, what: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: associated functions `to_utf8` and `parse_from_str` are never used [INFO] [stdout] --> api_model/src/protocol/token.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Token { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 22 | #[inline] [INFO] [stdout] 23 | fn to_utf8(bytes: &[u8]) -> Result<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn parse_from_str(s: &str, what: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> client/src/action/list_tasks.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | _ => xterm_color::red("Unknown"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> client/src/action/list_tasks.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 65 | JobStatus::Running => String::from("Running"), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 66 | JobStatus::Completed => xterm_color::bold_green("Completed"), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 67 | JobStatus::Failed => xterm_color::bold_red("Failed"), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 68 | JobStatus::TimedOut => xterm_color::bold_yellow("Timed out"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | _ => xterm_color::red("Unknown"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> client/src/error/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> client/src/error/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 18 | ClientError::ConnectionBindError(msg, _) => write!(f, "Connection bind error: {}", msg), [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] 19 | ClientError::ConnectionTimeoutError(msg, _) => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | ClientError::ConnectionReceiverError(msg, _) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 25 | ClientError::ResponseParseError(msg, _) => write!(f, "Response parse error: {}", msg), [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> client/src/error/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> client/src/error/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 36 | ClientError::ConnectionBindError(msg, trace) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 39 | ClientError::ConnectionTimeoutError(msg, trace) => { [INFO] [stdout] | ----------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 42 | ClientError::ConnectionReceiverError(msg, trace) => { [INFO] [stdout] | ------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | ClientError::ResponseParseError(msg, trace) => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 52 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionTimeoutError` and `InternalError` are never constructed [INFO] [stdout] --> client/src/error/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ClientError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | ConnectionTimeoutError(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InternalError(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> client/src/format/table.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TableColumn { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | pub(crate) idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> client/src/format/table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TableColumn { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(idx: usize, name: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `green` is never used [INFO] [stdout] --> client/src/format/xterm_color.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn green(text: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yellow` is never used [INFO] [stdout] --> client/src/format/xterm_color.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn yellow(text: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blue` is never used [INFO] [stdout] --> client/src/format/xterm_color.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn blue(text: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling i18n-embed-impl v0.8.4 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> client/src/action/list_tasks.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | _ => xterm_color::red("Unknown"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> client/src/action/list_tasks.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 65 | JobStatus::Running => String::from("Running"), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 66 | JobStatus::Completed => xterm_color::bold_green("Completed"), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 67 | JobStatus::Failed => xterm_color::bold_red("Failed"), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 68 | JobStatus::TimedOut => xterm_color::bold_yellow("Timed out"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | _ => xterm_color::red("Unknown"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> client/src/error/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> client/src/error/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 18 | ClientError::ConnectionBindError(msg, _) => write!(f, "Connection bind error: {}", msg), [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] 19 | ClientError::ConnectionTimeoutError(msg, _) => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | ClientError::ConnectionReceiverError(msg, _) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 25 | ClientError::ResponseParseError(msg, _) => write!(f, "Response parse error: {}", msg), [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> client/src/error/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> client/src/error/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 36 | ClientError::ConnectionBindError(msg, trace) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 39 | ClientError::ConnectionTimeoutError(msg, trace) => { [INFO] [stdout] | ----------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 42 | ClientError::ConnectionReceiverError(msg, trace) => { [INFO] [stdout] | ------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | ClientError::ResponseParseError(msg, trace) => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 52 | _ => write!(f, "Unknown error"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionTimeoutError` and `InternalError` are never constructed [INFO] [stdout] --> client/src/error/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ClientError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | ConnectionTimeoutError(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InternalError(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> client/src/format/table.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TableColumn { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | pub(crate) idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> client/src/format/table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TableColumn { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(idx: usize, name: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `green` is never used [INFO] [stdout] --> client/src/format/xterm_color.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn green(text: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yellow` is never used [INFO] [stdout] --> client/src/format/xterm_color.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn yellow(text: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blue` is never used [INFO] [stdout] --> client/src/format/xterm_color.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn blue(text: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling i18n-embed v0.15.4 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling i18n-embed-fl v0.9.4 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking age v0.11.1 [INFO] [stderr] [INFO] [stderr] thread 'rustc' (2448) panicked at /rustc-dev/66388cc165a6c4ac98c074dc9f0281ff23528c55/compiler/rustc_ast/src/attr/mod.rs:302:36: [INFO] [stderr] attribute is missing tokens: Attribute { kind: Normal(NormalAttr { item: AttrItem { unsafety: Default, path: Path { span: server/src/config/config.rs:368:5: 368:12 (#193), segments: [PathSegment { ident: #193, id: NodeId(4294967040), args: None }], tokens: None }, args: Unparsed(Empty), tokens: None }, tokens: None }), id: AttrId(795), style: Outer, span: server/src/config/config.rs:368:5: 368:12 (#193) } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7434eb62bfa3 - <::print::DisplayBacktrace as core[75ca2badb63c4514]::fmt::Display>::fmt [INFO] [stderr] 1: 0x7434ebc0fb48 - core[75ca2badb63c4514]::fmt::write [INFO] [stderr] 2: 0x7434eb642226 - ::write_fmt [INFO] [stderr] 3: 0x7434eb601b98 - std[7d609349af90bec6]::panicking::default_hook::{closure#0} [INFO] [stderr] 4: 0x7434eb61f833 - std[7d609349af90bec6]::panicking::default_hook [INFO] [stderr] 5: 0x7434ea60236a - std[7d609349af90bec6]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 6: 0x7434eb61fb12 - std[7d609349af90bec6]::panicking::panic_with_hook [INFO] [stderr] 7: 0x7434eb601c58 - std[7d609349af90bec6]::panicking::panic_handler::{closure#0} [INFO] [stderr] 8: 0x7434eb5f89a9 - std[7d609349af90bec6]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] 9: 0x7434eb60372d - __rustc[69841a6cbc58d81d]::rust_begin_unwind [INFO] [stderr] 10: 0x7434e8238f9c - core[75ca2badb63c4514]::panicking::panic_fmt [INFO] [stderr] 11: 0x7434ec9e0110 - ::token_trees [INFO] [stderr] 12: 0x7434ed21c314 - ::fully_expand_fragment [INFO] [stderr] 13: 0x7434ed1e65d2 - ::expand_crate [INFO] [stderr] 14: 0x7434ec2f0af3 - rustc_interface[903e43df8d6bd657]::passes::configure_and_expand [INFO] [stderr] 15: 0x7434ece07658 - rustc_interface[903e43df8d6bd657]::passes::resolver_for_lowering_raw [INFO] [stderr] 16: 0x7434ece073cd - rustc_query_impl[8c5349e00d64015e]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 17: 0x7434ece073a7 - >::call_once [INFO] [stderr] 18: 0x7434ecdecb5f - rustc_query_system[d45be4fb383a0235]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[8c5349e00d64015e]::plumbing::QueryCtxt, false> [INFO] [stderr] 19: 0x7434ecdec6bc - rustc_query_impl[8c5349e00d64015e]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 20: 0x7434ecf7127b - , rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[75ca2badb63c4514]::ops::function::FnOnce<(&rustc_session[1e6875ba352dc1ba]::session::Session, rustc_middle[2342951a64deba5]::ty::context::CurrentGcx, alloc[d7482eb0f1d19161]::sync::Arc, &std[7d609349af90bec6]::sync::once_lock::OnceLock, &rustc_data_structures[c82a87ce5cdbfc92]::sync::worker_local::WorkerLocal, &rustc_data_structures[c82a87ce5cdbfc92]::sync::worker_local::WorkerLocal, rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stderr] 21: 0x7434ece5ac98 - rustc_interface[903e43df8d6bd657]::interface::run_compiler::<(), rustc_driver_impl[3f9d6dd912ac34bd]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 22: 0x7434ecceac4e - std[7d609349af90bec6]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 23: 0x7434ecceaa20 - ::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[75ca2badb63c4514]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 24: 0x7434ecced138 - ::new::thread_start [INFO] [stderr] 25: 0x7434e688aaa4 - [INFO] [stderr] 26: 0x7434e6917a64 - clone [INFO] [stderr] 27: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2026-01-09T14_33_26-2442.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.94.0-nightly (66388cc16 2026-01-08) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [resolver_for_lowering_raw] getting the resolver for lowering [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `server` (lib test) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/66388cc165a6c4ac98c074dc9f0281ff23528c55/bin/rustc --crate-name server --edition=2024 server/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench"))' -C metadata=2c2dafd49da168fc -C extra-filename=-505f572be254dd5d --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern aes=/opt/rustwide/target/debug/deps/libaes-30e4fb63d8f710a0.rmeta --extern age=/opt/rustwide/target/debug/deps/libage-cc23aae489c0e847.rmeta --extern api_model=/opt/rustwide/target/debug/deps/libapi_model-468716e16d7da7f3.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-39659cbedaa2d26f.so --extern bech32=/opt/rustwide/target/debug/deps/libbech32-8b184b87c4bb0a30.rmeta --extern bincode=/opt/rustwide/target/debug/deps/libbincode-5b856cd486578aa9.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-6dcfbc6bad33d8b2.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-696d9749778e1593.rmeta --extern cbc=/opt/rustwide/target/debug/deps/libcbc-d043bf081af0f926.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-cb7bbe7ccafe1cab.rmeta --extern cli_handler=/opt/rustwide/target/debug/deps/libcli_handler-176a86137471e149.so --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-882720387323a673.rmeta --extern fs2=/opt/rustwide/target/debug/deps/libfs2-f9bf89469dbdf772.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-4852862d92867e36.rmeta --extern notify=/opt/rustwide/target/debug/deps/libnotify-d169e2dbc6007d51.rmeta --extern pnet_datalink=/opt/rustwide/target/debug/deps/libpnet_datalink-bb7b32cc69cdb50c.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-3a3bdfcf8e76f178.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-c14a51d2b5c81222.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-384c33841af5db10.rmeta --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-5ce46369d9b75f59.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-add78605c5734319.rmeta --extern structopt=/opt/rustwide/target/debug/deps/libstructopt-473e5f31f1311c00.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-ef9a6fff2ccab735.rmeta --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-8866fb7b2dd0ca2c.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-9bca554fcb1ae443.rmeta --extern xxhash_rust=/opt/rustwide/target/debug/deps/libxxhash_rust-60389bbe080974c3.rmeta --cap-lints=forbid` (exit status: 101) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> server/src/core/protocol/file_recv.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | 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: `crate::err::Result` [INFO] [stdout] --> server/src/core/protocol/file_send.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::err::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utilities::crypto::f_to_encryption` [INFO] [stdout] --> server/src/core/protocol/file_send.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utilities::crypto::f_to_encryption; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::error::Elapsed` [INFO] [stdout] --> server/src/core/protocol/file_send.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::time::error::Elapsed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::global_var::LOGGER` [INFO] [stdout] --> server/src/core/tasks/jobs/job_fs_index_dump.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::global_var::LOGGER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> server/src/err/mod.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|e| e as &(dyn std::error::Error)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - .map(|e| e as &(dyn std::error::Error)) [INFO] [stdout] 63 + .map(|e| e as &dyn std::error::Error ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::global_var::LOGGER` [INFO] [stdout] --> server/src/fs/file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::global_var::LOGGER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> server/src/fs/file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::global_var::LOGGER` [INFO] [stdout] --> server/src/fs/fs_lock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::global_var::LOGGER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lumo_error_with_source` [INFO] [stdout] --> server/src/fs/fs_lock.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{lumo_error, lumo_error_with_source}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> server/src/fs/fs_lock.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncSeekExt` [INFO] [stdout] --> server/src/fs/task_management/file_request_tasks.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::io::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `age::secrecy::SecretString` [INFO] [stdout] --> server/src/utilities/crypto.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use age::secrecy::SecretString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> server/src/utilities/crypto.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{BufReader, BufWriter, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> server/src/utilities/crypto.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{BufReader, BufWriter, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> server/src/utilities/crypto.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{BufReader, BufWriter, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt` [INFO] [stdout] --> server/src/fs/file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> server/src/fs/fs_lock.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> server/src/fs/task_management/file_request_tasks.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::io::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> server/src/fs/task_management/file_request_tasks.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::io::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> server/src/core/protocol/file_send.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let base = PathBuf::from(ENV_VAR.get().unwrap().get_temp_downloads_dir()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/src/interface/handlers/local_pull_file.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => LocalPullFileResult::Reject(PullFileError::InternalError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_size` [INFO] [stdout] --> server/src/fs/task_management/file_request_tasks.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let (f_size, m_time, checksum, read_guard) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m_time` [INFO] [stdout] --> server/src/fs/task_management/file_request_tasks.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | let (f_size, m_time, checksum, read_guard) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_m_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_guard` [INFO] [stdout] --> server/src/fs/task_management/file_request_tasks.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | let (f_size, m_time, checksum, read_guard) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> server/src/core/tasks/handlers/message_pull_response_handler.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | PullDecision::Accept(c, n) => n, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> server/src/core/tasks/handlers/message_pull_response_handler.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | PullDecision::Reject(c, r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> server/src/fs/fs_index.rs:1057:14 [INFO] [stdout] | [INFO] [stdout] 1057 | for (path, arc) in guard.map.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_peers` [INFO] [stdout] --> server/src/core/tasks/jobs/job_heartbeat.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let active_peers = PEER_TABLE [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_peers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> server/src/utilities/logger.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | level, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `level: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> server/src/utilities/logger.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | msg, [INFO] [stdout] | ^^^ help: try ignoring the field: `msg: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_millis` [INFO] [stdout] --> server/src/utilities/logger.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | ts_millis, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `ts_millis: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Uint`, and `Bool` are never constructed [INFO] [stdout] --> server/src/config/config.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | enum ConfigInputValue { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 83 | String(String), [INFO] [stdout] 84 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | Uint(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_sync_port` is never read [INFO] [stdout] --> server/src/config/env_var.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct ConnectionConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | file_sync_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nonce` is never read [INFO] [stdout] --> server/src/core/protocol/file_recv.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FileRecvSummary { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 21 | pub nonce: Nonce, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expected_checksum` is never read [INFO] [stdout] --> server/src/core/protocol/file_recv.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct FileRecvTracker { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 47 | nonce: Nonce, [INFO] [stdout] 48 | expected_checksum: Expected, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nonce` and `checksum` are never read [INFO] [stdout] --> server/src/core/protocol/file_send.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FileSendSummary { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 16 | pub nonce: Nonce, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub file_size: u64, [INFO] [stdout] 18 | pub checksum: Checksum, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `maybe_checksum` is never used [INFO] [stdout] --> server/src/core/protocol/file_sync.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl FileSyncAck { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn maybe_checksum(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Challenge` is never used [INFO] [stdout] --> server/src/core/tasks/handlers/message_pull_response_handler.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type Challenge = u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nonce` is never used [INFO] [stdout] --> server/src/core/tasks/handlers/message_pull_response_handler.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Nonce = u64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Checksum` is never used [INFO] [stdout] --> server/src/core/tasks/handlers/message_pull_response_handler.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type Checksum = u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FileChecksumMismatch` is never constructed [INFO] [stdout] --> server/src/core/tasks/handlers/message_pull_response_handler.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum DownloadFileError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | FileChecksumMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains_key` is never used [INFO] [stdout] --> server/src/fs/fs_index.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 275 | impl FileIndexInner { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 283 | fn contains_key>(&self, path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_paths` is never used [INFO] [stdout] --> server/src/fs/fs_index.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 367 | impl FileIndex { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 417 | pub(crate) async fn list_paths(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `activate_checked`, `deactivate_checked`, and `set_last_writer_checked` are never used [INFO] [stdout] --> server/src/fs/fs_index.rs:647:14 [INFO] [stdout] | [INFO] [stdout] 468 | impl FileIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 647 | async fn activate_checked>(&self, path: P, from_ver: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | async fn deactivate_checked>(&self, path: P, from_ver: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 711 | async fn set_last_writer_checked>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `activate`, `deactivate`, `mark_stale`, and `set_last_writer` are never used [INFO] [stdout] --> server/src/fs/fs_index.rs:750:14 [INFO] [stdout] | [INFO] [stdout] 749 | impl FileIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 750 | async fn remove>(&self, p: P) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | async fn activate>(&self, p: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | async fn deactivate>(&self, p: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 777 | async fn mark_stale>(&self, p: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | async fn set_last_writer>(&self, p: P, writer: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_lock` is never read [INFO] [stdout] --> server/src/fs/fs_lock.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct ReadGuard { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 269 | file_lock: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `local_addr` is never used [INFO] [stdout] --> server/src/network/udp_listener.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl UdpListener { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn local_addr(&self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind_on` and `local_addr` are never used [INFO] [stdout] --> server/src/network/tcp_listener.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl TcpListener { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn bind_on(addr: SocketAddr) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn local_addr(&self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connect_timeout` is never read [INFO] [stdout] --> server/src/network/tcp_sender.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TcpConn { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | connect_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpConn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_path_disc_meta` is never used [INFO] [stdout] --> server/src/utilities/disk_op.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn check_path_disc_meta>(p: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb1f442d4c7f374d078b9bc42641bc37cc84862fbcd2dd7d1efe2d45f3f31f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1f442d4c7f374d078b9bc42641bc37cc84862fbcd2dd7d1efe2d45f3f31f76", kill_on_drop: false }` [INFO] [stdout] bb1f442d4c7f374d078b9bc42641bc37cc84862fbcd2dd7d1efe2d45f3f31f76