[INFO] cloning repository https://github.com/YKiselev/rustground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YKiselev/rustground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYKiselev%2Frustground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYKiselev%2Frustground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfb8871a9956a26955d1b10242a082ac8c25eb33 [INFO] checking YKiselev/rustground/dfb8871a9956a26955d1b10242a082ac8c25eb33 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYKiselev%2Frustground" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YKiselev/rustground on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YKiselev/rustground [INFO] finished tweaking git repo https://github.com/YKiselev/rustground [INFO] tweaked toml for git repo https://github.com/YKiselev/rustground written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YKiselev/rustground 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcode_derive v0.6.0 [INFO] [stderr] Downloaded bitcode v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03c57441c11753d9cae49242e8d33f3106315f22b08b5ff3d2cb2c2bd8462219 [INFO] running `Command { std: "docker" "start" "-a" "03c57441c11753d9cae49242e8d33f3106315f22b08b5ff3d2cb2c2bd8462219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03c57441c11753d9cae49242e8d33f3106315f22b08b5ff3d2cb2c2bd8462219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03c57441c11753d9cae49242e8d33f3106315f22b08b5ff3d2cb2c2bd8462219", kill_on_drop: false }` [INFO] [stdout] 03c57441c11753d9cae49242e8d33f3106315f22b08b5ff3d2cb2c2bd8462219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9af4cd38ee5d522d52f5ca640816e970012e6a848e6c3f6d24c065414ed35ce9 [INFO] running `Command { std: "docker" "start" "-a" "9af4cd38ee5d522d52f5ca640816e970012e6a848e6c3f6d24c065414ed35ce9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking rg_ecs v0.1.0 (/opt/rustwide/workdir/rg_ecs) [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rg_ecs/src/entity.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EntityId(usize); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `archetypes` is never read [INFO] [stdout] --> rg_ecs/src/entity.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Entities { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | archetypes: HashMap> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentStorageFactory` is never constructed [INFO] [stdout] --> rg_ecs/src/component.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct ComponentStorageFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create` are never used [INFO] [stdout] --> rg_ecs/src/component.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ComponentStorageFactory { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn create(&self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypedComponentStorage` is never constructed [INFO] [stdout] --> rg_ecs/src/component.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct TypedComponentStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedComponentStorage` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `get`, and `get_mut` are never used [INFO] [stdout] --> rg_ecs/src/component.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl TypedComponentStorage { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] 48 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn get_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArchetypeBuilder` is never constructed [INFO] [stdout] --> rg_ecs/src/archetype.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ArchetypeBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArchetypeBuilder` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `build` are never used [INFO] [stdout] --> rg_ecs/src/archetype.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ArchetypeBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 13 | fn add(mut self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn build(self) -> Archetype { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Archetype` is never constructed [INFO] [stdout] --> rg_ecs/src/archetype.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct Archetype { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_storage` is never used [INFO] [stdout] --> rg_ecs/src/archetype.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Archetype { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 36 | fn create_storage(&self) -> ArchetypeStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `data` are never read [INFO] [stdout] --> rg_ecs/src/archetype.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) struct ArchetypeStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 48 | pub id: ArchetypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | data: Vec<(ComponentId, Box)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> rg_ecs/src/archetype.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let storage = archetype.create_storage(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rg_ecs/src/entity.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EntityId(usize); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `archetypes` is never read [INFO] [stdout] --> rg_ecs/src/entity.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Entities { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | archetypes: HashMap> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> rg_ecs/src/component.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl TypedComponentStorage { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn get_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `data` are never read [INFO] [stdout] --> rg_ecs/src/archetype.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) struct ArchetypeStorage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 48 | pub id: ArchetypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | data: Vec<(ComponentId, Box)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking syn v2.0.72 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rg_math v0.1.0 (/opt/rustwide/workdir/rg_math) [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> rg_math/src/matrix.rs:874:13 [INFO] [stdout] | [INFO] [stdout] 874 | let args = [ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_v4` is never used [INFO] [stdout] --> rg_math/src/matrix.rs:545:8 [INFO] [stdout] | [INFO] [stdout] 545 | fn assert_v4(expected: Vector4f, actual: Vector4f) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perspective` is never used [INFO] [stdout] --> rg_math/src/matrix.rs:870:12 [INFO] [stdout] | [INFO] [stdout] 870 | fn perspective(v: Vector4f, expected: Vector4f) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rg_macros v0.1.0 (/opt/rustwide/workdir/rg_macros) [INFO] [stdout] warning: function `find_attribute` is never used [INFO] [stdout] --> rg_macros/src/var_bag.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_attribute<'a>(attrs: &'a Vec, path: &str) -> Option<&'a Attribute> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_attribute` is never used [INFO] [stdout] --> rg_macros/src/var_bag.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn has_attribute(attrs: &Vec, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_attribute` is never used [INFO] [stdout] --> rg_macros/src/var_bag.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_attribute<'a>(attrs: &'a Vec, path: &str) -> Option<&'a Attribute> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_attribute` is never used [INFO] [stdout] --> rg_macros/src/var_bag.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn has_attribute(attrs: &Vec, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bitcode_derive v0.6.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stdout] warning: function `find_attribute` is never used [INFO] [stdout] --> rg_macros/src/var_bag.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_attribute<'a>(attrs: &'a Vec, path: &str) -> Option<&'a Attribute> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_attribute` is never used [INFO] [stdout] --> rg_macros/src/var_bag.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn has_attribute(attrs: &Vec, path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking bitcode v0.6.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rg_common v0.1.0 (/opt/rustwide/workdir/rg_common) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> rg_common/src/commands.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | .map_err(|e| CmdError::ParseError(value.to_owned())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/commands.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | fn from(value: PoisonError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> rg_common/src/config.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let read = cfg [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> rg_common/src/files.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(args: &Arguments) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/v_from_str.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | fn from(value: ParseIntError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/v_from_str.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(value: ParseFloatError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/v_from_str.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(value: ParseBoolError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_value` is never used [INFO] [stdout] --> rg_common/src/arguments.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Arguments { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_value<'a>(v: &'a Vec, opt: &str) -> Option<&'a String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readonly` is never used [INFO] [stdout] --> rg_common/src/files.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl FileRoot { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn readonly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> rg_common/src/commands.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | .map_err(|e| CmdError::ParseError(value.to_owned())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/commands.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | fn from(value: PoisonError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | b.add("1", |a: &[String]| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | b.add("2", |a: &[String]| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | b.add("3", |a: &[String]| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:284:22 [INFO] [stdout] | [INFO] [stdout] 284 | b.add1("1", |a: String| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 286 | b.try_add1("1", |a: i32| Ok(())), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | b.add1("2", |a: i32| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | b.add2("3", |a: i32, b: String| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> rg_common/src/commands.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 290 | b.add2("3", |a: i32, b: String| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | b.add("4", |a: &[String]| Ok(())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> rg_common/src/config.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let read = cfg [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> rg_common/src/files.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(args: &Arguments) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/v_from_str.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | fn from(value: ParseIntError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/v_from_str.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(value: ParseFloatError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/v_from_str.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(value: ParseBoolError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infos` [INFO] [stdout] --> rg_common/src/vars.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let infos = v [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_infos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_value` is never used [INFO] [stdout] --> rg_common/src/arguments.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Arguments { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_value<'a>(v: &'a Vec, opt: &str) -> Option<&'a String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readonly` is never used [INFO] [stdout] --> rg_common/src/files.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl FileRoot { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn readonly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> app/src/client/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> app/src/application/client_server.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | let (handle, log_buf) = app_logger::init().expect("Unable to init app logger!"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_buf` [INFO] [stdout] --> app/src/application/client_server.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (handle, log_buf) = app_logger::init().expect("Unable to init app logger!"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/client/cl_pub_key.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | .map_err(|e| AppError::from("Unable to reconstruct public key!"))?, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/client/client.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|e| AppError::from("Unable to deserialize!"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> app/src/client/client.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/client.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | pub(crate) fn new(app: &Arc) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/server/key_pair.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| AppError::from("Unable to generate key!"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> app/src/client/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/server/server.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e| KeyPairError::default()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arguments`, `started_at`, `files`, and `vars` are never read [INFO] [stdout] --> app/src/app.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 13 | arguments: Arguments, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | exit_flag: AtomicBool, [INFO] [stdout] 15 | started_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | config: Arc>, [INFO] [stdout] 17 | files: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | vars: VarRegistry, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `args` and `elapsed` are never used [INFO] [stdout] --> app/src/app.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn args(&self) -> &Arguments { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rx`, `max_size`, and `buffer` are never read [INFO] [stdout] --> app/src/app_logger.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct AppLoggerBuffer { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 21 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | max_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | buffer: VecDeque, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_dedicated_config` is never used [INFO] [stdout] --> app/src/app_logger.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn build_dedicated_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `iter` are never used [INFO] [stdout] --> app/src/app_logger.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl AppLoggerBuffer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 98 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_pem` is never used [INFO] [stdout] --> app/src/client/cl_pub_key.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl PublicKey { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 36 | pub(crate) fn from_pem(data: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_addr` and `last_seen` are never read [INFO] [stdout] --> app/src/client/client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | server_addr: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | last_seen: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX_LAST_SEEN` is never used [INFO] [stdout] --> app/src/client/client.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 33 | impl Client { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 34 | const MAX_LAST_SEEN: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peer_addr` is never used [INFO] [stdout] --> app/src/net.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait Endpoint: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn peer_addr(&self) -> io::Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decoder` is never read [INFO] [stdout] --> app/src/net.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct NetEndpoint { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | decoder: as bitcode::Decode<'static>>::Decoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decoder` is never read [INFO] [stdout] --> app/src/net.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) struct ReceivedData<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 190 | decoder: Option< as bitcode::Decode<'a>>::Decoder>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> app/src/server/key_pair.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 34 | impl KeyPair { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn encode(&self, data: &[u8]) -> Result, KeyPairError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_flag` is never read [INFO] [stdout] --> app/src/server/server.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | exit_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit` and `shutdown` are never used [INFO] [stdout] --> app/src/server/server.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(crate) fn shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> app/src/server/sv_client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> app/src/application/client_server.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | let (handle, log_buf) = app_logger::init().expect("Unable to init app logger!"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_buf` [INFO] [stdout] --> app/src/application/client_server.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (handle, log_buf) = app_logger::init().expect("Unable to init app logger!"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/client/cl_pub_key.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | .map_err(|e| AppError::from("Unable to reconstruct public key!"))?, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/client/client.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|e| AppError::from("Unable to deserialize!"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> app/src/client/client.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/client.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | pub(crate) fn new(app: &Arc) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/server/key_pair.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| AppError::from("Unable to generate key!"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> app/src/server/server.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e| KeyPairError::default()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arguments`, `started_at`, `files`, and `vars` are never read [INFO] [stdout] --> app/src/app.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 13 | arguments: Arguments, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | exit_flag: AtomicBool, [INFO] [stdout] 15 | started_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | config: Arc>, [INFO] [stdout] 17 | files: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | vars: VarRegistry, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `args` and `elapsed` are never used [INFO] [stdout] --> app/src/app.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn args(&self) -> &Arguments { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_dedicated_config` is never used [INFO] [stdout] --> app/src/app_logger.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn build_dedicated_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_pem` is never used [INFO] [stdout] --> app/src/client/cl_pub_key.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl PublicKey { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 36 | pub(crate) fn from_pem(data: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_addr` and `last_seen` are never read [INFO] [stdout] --> app/src/client/client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | server_addr: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | last_seen: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX_LAST_SEEN` is never used [INFO] [stdout] --> app/src/client/client.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 33 | impl Client { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 34 | const MAX_LAST_SEEN: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peer_addr` is never used [INFO] [stdout] --> app/src/net.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait Endpoint: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn peer_addr(&self) -> io::Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decoder` is never read [INFO] [stdout] --> app/src/net.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct NetEndpoint { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | decoder: as bitcode::Decode<'static>>::Decoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decoder` is never read [INFO] [stdout] --> app/src/net.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) struct ReceivedData<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 190 | decoder: Option< as bitcode::Decode<'a>>::Decoder>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_flag` is never read [INFO] [stdout] --> app/src/server/server.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | exit_flag: AtomicBool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit` and `shutdown` are never used [INFO] [stdout] --> app/src/server/server.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(crate) fn shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> app/src/server/sv_client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.91s [INFO] running `Command { std: "docker" "inspect" "9af4cd38ee5d522d52f5ca640816e970012e6a848e6c3f6d24c065414ed35ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9af4cd38ee5d522d52f5ca640816e970012e6a848e6c3f6d24c065414ed35ce9", kill_on_drop: false }` [INFO] [stdout] 9af4cd38ee5d522d52f5ca640816e970012e6a848e6c3f6d24c065414ed35ce9