[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] 987d37805bf8a041843ce26005c44a4c31316942 [INFO] checking YKiselev/rustground against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYKiselev%2Frustground" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YKiselev/rustground on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/rg_ecs/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.9 [INFO] [stderr] Downloaded cookie-factory v0.3.3 [INFO] [stderr] Downloaded wayland-cursor v0.31.11 [INFO] [stderr] Downloaded bitcode_derive v0.6.0 [INFO] [stderr] Downloaded bitcode v0.6.0 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.9 [INFO] [stderr] Downloaded winit v0.30.12 [INFO] [stderr] Downloaded musli-zerocopy-macros v0.0.131 [INFO] [stderr] Downloaded musli-zerocopy v0.0.131 [INFO] [stderr] Downloaded vulkanalia v0.29.0 [INFO] [stderr] Downloaded vulkanalia-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2db7e37ef08e8fb2cc0bc26c666dd12f85866551d49c1e60366de6d36fedbb5e [INFO] running `Command { std: "docker" "start" "-a" "2db7e37ef08e8fb2cc0bc26c666dd12f85866551d49c1e60366de6d36fedbb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2db7e37ef08e8fb2cc0bc26c666dd12f85866551d49c1e60366de6d36fedbb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db7e37ef08e8fb2cc0bc26c666dd12f85866551d49c1e60366de6d36fedbb5e", kill_on_drop: false }` [INFO] [stdout] 2db7e37ef08e8fb2cc0bc26c666dd12f85866551d49c1e60366de6d36fedbb5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 987a6f6673dd9559e4772807a605c481008f29c921236a910640301e88abee75 [INFO] running `Command { std: "docker" "start" "-a" "987a6f6673dd9559e4772807a605c481008f29c921236a910640301e88abee75", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/rg_ecs/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking once_cell v1.20.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling argh_shared v0.1.13 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking rust-fuzzy-search v0.1.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking polling v3.9.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking vulkanalia-sys v0.29.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling rg_macros v0.1.0 (/opt/rustwide/workdir/rg_macros) [INFO] [stdout] warning: unused variable: `impl_gen` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_gen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_gen` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_clause` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_clause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let len = info.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [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] [stderr] Compiling argh_derive v0.1.13 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking snafu v0.8.5 [INFO] [stderr] Compiling musli-zerocopy-macros v0.0.131 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking musli-zerocopy v0.0.131 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking argh v0.1.13 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking rg_common v0.1.0 (/opt/rustwide/workdir/rg_common) [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> rg_common/src/commands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | any::Any, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::VariableError::NotFound` [INFO] [stdout] --> rg_common/src/vars.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::VariableError::NotFound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> rg_common/src/commands.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let mut k = 0usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 219 | impl_as_adapter!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rg_common/src/commands.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | let mut k = 0usize; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 219 | impl_as_adapter!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 220 | impl_as_adapter!(A); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_as_adapter!(A, B); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_as_adapter!(A, B, C); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_as_adapter!(A, B, C, D); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 224 | impl_as_adapter!(A, B, C, D, E); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | impl_as_adapter!(A, B, C, D, E, F); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.2 [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:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | 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: `v` [INFO] [stdout] --> rg_common/src/pool.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn release(v: V) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/pool.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | 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: `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: `arg` [INFO] [stdout] --> rg_common/src/test.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | fn to_arg(arg: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rg_common/src/commands.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CommandOwner(Vec>); [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: method `readonly` is never used [INFO] [stdout] --> rg_common/src/files.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl FileRoot { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn readonly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> rg_common/src/pool.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Pool [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `release` are never used [INFO] [stdout] --> rg_common/src/pool.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl Pool [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | F: Fn() -> V, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn new(capacity: usize, factory: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn borrow(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn release(v: V) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PoolError` is never used [INFO] [stdout] --> rg_common/src/pool.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum PoolError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToArg` is never used [INFO] [stdout] --> rg_common/src/test.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait ToArg<'a, T>: Sized [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `p` is never used [INFO] [stdout] --> rg_common/src/test.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn p(value:&str) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_handler` is never used [INFO] [stdout] --> rg_common/src/test.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn register_handler(handler: F) -> Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rg_common/src/vars.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | fn lock_data(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn lock_data(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Compiling bitcode_derive v0.6.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> app/build.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fmt::Error, process::Command}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitcode v0.6.0 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking rg_net v0.1.0 (/opt/rustwide/workdir/rg_net) [INFO] [stderr] Checking mio v1.0.3 [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> rg_net/src/net_rw.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> rg_net/src/accepted.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn write_accepted(writer: &mut W) -> Result<(), ProtocolError> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> rg_net/src/accepted.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read_accepted<'a, R>(reader: &mut R) -> Result [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> rg_net/src/net_rw.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | E::try_from_primitive(v).map_err(|e| ProtocolError::BadEnumTag { value: v as isize }) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rg_math v0.1.0 (/opt/rustwide/workdir/rg_math) [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking rg_ecs v0.1.0 (/opt/rustwide/workdir/rg_ecs) [INFO] [stderr] Checking vulkanalia v0.29.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stdout] warning: methods `get_by_type`, `get_by_type_at`, `get`, and `row_count` are never used [INFO] [stdout] --> rg_ecs/src/archetype/archetype_storage.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl ArchetypeStorage { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn get_by_type(&mut self) -> Option<(usize, &RwLock>)> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn get_by_type_at( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub(crate) fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub(crate) fn row_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `row_count` is never used [INFO] [stdout] --> rg_ecs/src/archetype/chunk.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub(super) fn row_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `archetypes` is never used [INFO] [stdout] --> rg_ecs/src/entity/entity_storage.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl EntityStorage { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub(super) fn archetypes(&self) -> Values<'_, ArchetypeId, RwLock> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> rg_common/src/commands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | any::Any, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Pool` [INFO] [stdout] --> rg_common/src/pool.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use super::Pool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::VariableError::NotFound` [INFO] [stdout] --> rg_common/src/vars.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::VariableError::NotFound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> rg_net/src/net_rw.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> rg_common/src/commands.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let mut k = 0usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] ... [INFO] [stdout] 219 | impl_as_adapter!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rg_common/src/commands.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | let mut k = 0usize; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 219 | impl_as_adapter!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 220 | impl_as_adapter!(A); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | impl_as_adapter!(A, B); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl_as_adapter!(A, B, C); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 223 | impl_as_adapter!(A, B, C, D); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 224 | impl_as_adapter!(A, B, C, D, E); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `k` is never read [INFO] [stdout] --> rg_common/src/commands.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | k += 1; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | impl_as_adapter!(A, B, C, D, E, F); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `impl_as_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> rg_net/src/accepted.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn write_accepted(writer: &mut W) -> Result<(), ProtocolError> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> rg_net/src/accepted.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read_accepted<'a, R>(reader: &mut R) -> Result [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> rg_net/src/net_rw.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | E::try_from_primitive(v).map_err(|e| ProtocolError::BadEnumTag { value: v as isize }) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> rg_common/src/commands.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | b.add("1", |a: i32| Ok(())).unwrap(); [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:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | 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:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | b.add("2", |a: i32, b: String| Ok(())).unwrap(); [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:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | b.add("2", |a: i32, b: String| Ok(())).unwrap(); [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:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | b.add("3", |a: i32, b: u8, c: String| Ok(())).unwrap(); [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:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | b.add("3", |a: i32, b: u8, c: String| Ok(())).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> rg_common/src/commands.rs:300:36 [INFO] [stdout] | [INFO] [stdout] 300 | b.add("3", |a: i32, b: u8, c: String| Ok(())).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [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:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | 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: `v` [INFO] [stdout] --> rg_common/src/pool.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn release(v: V) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rg_common/src/pool.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | 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: `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:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let infos = v [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_infos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> rg_common/src/test.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | fn to_arg(arg: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rg_common/src/commands.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CommandOwner(Vec>); [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: 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: field `data` is never read [INFO] [stdout] --> rg_common/src/commands.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 348 | struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 349 | commands: Option, [INFO] [stdout] 350 | data: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readonly` is never used [INFO] [stdout] --> rg_common/src/files.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl FileRoot { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn readonly(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> rg_common/src/pool.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Pool [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `release` are never used [INFO] [stdout] --> rg_common/src/pool.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl Pool [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | F: Fn() -> V, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn new(capacity: usize, factory: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn borrow(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn release(v: V) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PoolError` is never used [INFO] [stdout] --> rg_common/src/pool.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum PoolError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `p` is never used [INFO] [stdout] --> rg_common/src/test.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn p(value:&str) -> &str { [INFO] [stdout] | ^ [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rg_common/src/vars.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | fn lock_data(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn lock_data(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_1` [INFO] [stdout] --> rg_ecs/benches/ecs_benchmark.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let fn_1 = |vel: &Location, dir: &Direction| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fn_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_2` [INFO] [stdout] --> rg_ecs/benches/ecs_benchmark.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let fn_2 = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fn_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e5` [INFO] [stdout] --> rg_ecs/src/entity/ecs.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let e5 = entities.add(Some(arch_id1)).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e5` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rg_ecs/src/entity/ecs.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_by_type_at` is never used [INFO] [stdout] --> rg_ecs/src/archetype/archetype_storage.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl ArchetypeStorage { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn get_by_type_at( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `archetypes` is never used [INFO] [stdout] --> rg_ecs/src/entity/entity_storage.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl EntityStorage { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub(super) fn archetypes(&self) -> Values<'_, ArchetypeId, RwLock> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> rg_ecs/src/visitor.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | struct Direction(i8, i8); [INFO] [stdout] | --------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Direction` 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: `impl_gen` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_gen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_gen` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_clause` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_clause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let len = info.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [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: unused variable: `impl_gen` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_gen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_gen` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_clause` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | let (impl_gen, type_gen, where_clause) = input.generics.split_for_impl(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_clause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> rg_macros/src/slice_adapter.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let len = info.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [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] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking rg_vulkan v0.1.0 (/opt/rustwide/workdir/rg_vulkan) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> rg_vulkan/src/instance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageView` [INFO] [stdout] --> rg_vulkan/src/instance.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | HasBuilder, ImageView, InstanceV1_0, KhrSurfaceExtension, KhrSwapchainExtension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> rg_vulkan/src/pipeline.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> rg_vulkan/src/instance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageView` [INFO] [stdout] --> rg_vulkan/src/instance.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | HasBuilder, ImageView, InstanceV1_0, KhrSurfaceExtension, KhrSwapchainExtension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> rg_vulkan/src/pipeline.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fence_info` [INFO] [stdout] --> rg_vulkan/src/instance.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let fence_info = vk::FenceCreateInfo::builder().flags(vk::FenceCreateFlags::SIGNALED); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fence_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rg_vulkan/src/swapchain.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | .map(|i| unsafe { device.create_semaphore(&semaphore_info, None) }) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fence_info` [INFO] [stdout] --> rg_vulkan/src/instance.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let fence_info = vk::FenceCreateInfo::builder().flags(vk::FenceCreateFlags::SIGNALED); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fence_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> rg_vulkan/src/renderer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VulkanRenderer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | entry: Entry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VulkanRenderer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_fence`, `create_texture_image`, and `create_image` are never used [INFO] [stdout] --> rg_vulkan/src/instance.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl VkInstance { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn wait_for_fence(&self, fence: Fence) -> Result<(), VkError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | fn create_texture_image(&self) -> Result<(), VkError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | fn create_image( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> rg_vulkan/src/swapchain.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | pub format: Format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Swapchain` 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: `i` [INFO] [stdout] --> rg_vulkan/src/swapchain.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | .map(|i| unsafe { device.create_semaphore(&semaphore_info, None) }) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> rg_vulkan/src/renderer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VulkanRenderer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | entry: Entry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VulkanRenderer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_fence`, `create_texture_image`, and `create_image` are never used [INFO] [stdout] --> rg_vulkan/src/instance.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl VkInstance { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn wait_for_fence(&self, fence: Fence) -> Result<(), VkError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | fn create_texture_image(&self) -> Result<(), VkError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | fn create_image( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> rg_vulkan/src/swapchain.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Swapchain { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | pub format: Format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Swapchain` 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 imports: `thread` and `time::Duration` [INFO] [stdout] --> app/src/application/client_server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Plugin` [INFO] [stdout] --> app/src/application/client_server.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use rg_common::{Arguments, Plugin}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(x11_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(wayland_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(web_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> app/src/client/cl_state.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> app/src/client/cl_state.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | fps::{self, FrameStats}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time::Duration` [INFO] [stdout] --> app/src/application/client_server.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Plugin` [INFO] [stdout] --> app/src/application/client_server.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use rg_common::{Arguments, Plugin}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(x11_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(wayland_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(macos_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `web_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(web_platform)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(web_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x11_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wayland_platform` [INFO] [stdout] --> app/src/client/cl_window.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(any(x11_platform, wayland_platform))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wayland_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wayland_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> app/src/client/cl_state.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> app/src/client/cl_state.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | fps::{self, FrameStats}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> app/src/application/client_server.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | let (handle, log_buf) = app_logger::init(&args)?; [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:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let (handle, log_buf) = app_logger::init(&args)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/cl_net.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn new(app: &Arc) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/cl_net.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | fn frame_start(&mut self, app: &Arc) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/cl_net.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | fn frame_end(&mut self, app: &Arc) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> app/src/client/cl_window.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | fn create_window_attributes(&mut self, event_loop: &ActiveEventLoop) -> WindowAttributes { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/client/cl_window.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut attrs = Window::default_attributes() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> app/src/client/cl_window.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | event, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> app/src/client/cl_window.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let mods = self.modifiers; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> app/src/client/cl_window.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | WindowEvent::MouseInput { state, button, .. } => { [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> app/src/client/cl_window.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | WindowEvent::MouseInput { state, button, .. } => { [INFO] [stdout] | ^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> app/src/client/cl_window.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let mods = self.modifiers; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> app/src/client/cl_window.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | WindowEvent::CursorMoved { position, .. } => { [INFO] [stdout] | ^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> app/src/client/cl_window.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | event_loop: &ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> app/src/application/client_server.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | let (handle, log_buf) = app_logger::init(&args)?; [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:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let (handle, log_buf) = app_logger::init(&args)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> app/src/server/sv_clients.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let client = v.insert(Client::new(name)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/cl_net.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn new(app: &Arc) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/cl_net.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | fn frame_start(&mut self, app: &Arc) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_dedicated_config` is never used [INFO] [stdout] --> app/src/app_logger.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) fn build_dedicated_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX_LAST_SEEN` is never used [INFO] [stdout] --> app/src/client/cl_net.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 46 | impl ClientNetwork { [INFO] [stdout] | ------------------ associated constant in this implementation [INFO] [stdout] 47 | const MAX_LAST_SEEN: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app` is never read [INFO] [stdout] --> app/src/client/cl_window.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) struct ClientWindow { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 18 | app: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientWindow` 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 `max_fps` is never read [INFO] [stdout] --> app/src/client/cl_state.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) struct ClientState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | max_fps: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientState` 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 `public_key` is never used [INFO] [stdout] --> app/src/server/key_pair.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl KeyPair { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn public_key(&self) -> &RsaPublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> app/src/server/sv_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | 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: constant `MAX_PENDING_PACKETS` is never used [INFO] [stdout] --> app/src/server/sv_poll.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAX_PENDING_PACKETS: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> app/src/client/cl_net.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | fn frame_end(&mut self, app: &Arc) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> app/src/client/cl_window.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | fn create_window_attributes(&mut self, event_loop: &ActiveEventLoop) -> WindowAttributes { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> app/src/app_logger.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/client/cl_window.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut attrs = Window::default_attributes() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> app/src/client/cl_window.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | event, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> app/src/client/cl_window.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let mods = self.modifiers; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> app/src/client/cl_window.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | WindowEvent::MouseInput { state, button, .. } => { [INFO] [stdout] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> app/src/client/cl_window.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | WindowEvent::MouseInput { state, button, .. } => { [INFO] [stdout] | ^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> app/src/client/cl_window.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let mods = self.modifiers; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> app/src/client/cl_window.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | WindowEvent::CursorMoved { position, .. } => { [INFO] [stdout] | ^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> app/src/client/cl_window.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | event_loop: &ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> app/src/server/sv_clients.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let client = v.insert(Client::new(name)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rx`, `max_size`, and `buffer` are never read [INFO] [stdout] --> app/src/app_logger.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct AppLoggerBuffer { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 25 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | max_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | buffer: VecDeque, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_dedicated_config` is never used [INFO] [stdout] --> app/src/app_logger.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | 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:106:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl AppLoggerBuffer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 106 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX_LAST_SEEN` is never used [INFO] [stdout] --> app/src/client/cl_net.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 46 | impl ClientNetwork { [INFO] [stdout] | ------------------ associated constant in this implementation [INFO] [stdout] 47 | const MAX_LAST_SEEN: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app` is never read [INFO] [stdout] --> app/src/client/cl_window.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) struct ClientWindow { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 18 | app: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientWindow` 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 `max_fps` is never read [INFO] [stdout] --> app/src/client/cl_state.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) struct ClientState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | max_fps: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientState` 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 `public_key` is never read [INFO] [stdout] --> app/src/server/key_pair.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct KeyPair { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | private_key: RsaPrivateKey, [INFO] [stdout] 10 | public_key: RsaPublicKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `public_key` and `encode` are never used [INFO] [stdout] --> app/src/server/key_pair.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl KeyPair { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn public_key(&self) -> &RsaPublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn encode(&self, data: &[u8]) -> Result, AppError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> app/src/server/sv_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | 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: constant `MAX_PENDING_PACKETS` is never used [INFO] [stdout] --> app/src/server/sv_poll.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAX_PENDING_PACKETS: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> app/src/app_logger.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "987a6f6673dd9559e4772807a605c481008f29c921236a910640301e88abee75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "987a6f6673dd9559e4772807a605c481008f29c921236a910640301e88abee75", kill_on_drop: false }` [INFO] [stdout] 987a6f6673dd9559e4772807a605c481008f29c921236a910640301e88abee75