[INFO] cloning repository https://github.com/Artentus/gsim2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Artentus/gsim2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtentus%2Fgsim2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtentus%2Fgsim2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82fe6e204f7edbc2c02d4af8e32995a77c6d80b5 [INFO] linting Artentus/gsim2 against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtentus%2Fgsim2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Artentus/gsim2 [INFO] finished tweaking git repo https://github.com/Artentus/gsim2 [INFO] tweaked toml for git repo https://github.com/Artentus/gsim2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Artentus/gsim2 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Artentus/gsim2 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pod-enum-macros v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.84 [INFO] [stderr] Downloaded pod-enum v0.1.0 [INFO] [stderr] Downloaded wgpu v0.20.0 [INFO] [stderr] Downloaded wgpu-core v0.20.0 [INFO] [stderr] Downloaded wgpu-hal v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ee58b01c3cd26c79cfbd46ddfbf037404c66aba6dff87c47d2a2d1e85a0e5d8 [INFO] running `Command { std: "docker" "start" "-a" "1ee58b01c3cd26c79cfbd46ddfbf037404c66aba6dff87c47d2a2d1e85a0e5d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ee58b01c3cd26c79cfbd46ddfbf037404c66aba6dff87c47d2a2d1e85a0e5d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee58b01c3cd26c79cfbd46ddfbf037404c66aba6dff87c47d2a2d1e85a0e5d8", kill_on_drop: false }` [INFO] [stdout] 1ee58b01c3cd26c79cfbd46ddfbf037404c66aba6dff87c47d2a2d1e85a0e5d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a79706fcf54a56ddd6aee42c2f2ab280bd5abfc88765de58eb5282478e908b50 [INFO] running `Command { std: "docker" "start" "-a" "a79706fcf54a56ddd6aee42c2f2ab280bd5abfc88765de58eb5282478e908b50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling wgpu-hal v0.20.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling wgpu-core v0.20.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling wgpu v0.20.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling pod-enum-macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking pod-enum v0.1.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking gsim2 v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/logic.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | state: state, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/logic.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | valid: valid, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `valid` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `small_vec` [INFO] [stdout] --> src/vec.rs:527:14 [INFO] [stdout] | [INFO] [stdout] 527 | macro_rules! small_vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `small_vec` [INFO] [stdout] --> src/vec.rs:539:16 [INFO] [stdout] | [INFO] [stdout] 539 | pub(crate) use small_vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/logic.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | state: state, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/logic.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | valid: valid, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `valid` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `small_vec` [INFO] [stdout] --> src/vec.rs:527:14 [INFO] [stdout] | [INFO] [stdout] 527 | macro_rules! small_vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `small_vec` [INFO] [stdout] --> src/vec.rs:539:16 [INFO] [stdout] | [INFO] [stdout] 539 | pub(crate) use small_vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[repr(transparent)] [INFO] [stdout] 22 | | pub struct WireId(Index); [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / #[repr(transparent)] [INFO] [stdout] 30 | | pub struct ComponentId(Index); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lib.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 306 | / #[repr(C)] [INFO] [stdout] 307 | | struct ListData { [INFO] [stdout] 308 | | wires_changed: u32, [INFO] [stdout] 309 | | components_changed: u32, [INFO] [stdout] 310 | | conflict_list_len: u32, [INFO] [stdout] 311 | | has_conflicts: u32, [INFO] [stdout] 312 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | struct ListData { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_memory` is never used [INFO] [stdout] --> src/lib.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl Simulator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | fn sync_memory(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linked_list_iter` is never used [INFO] [stdout] --> src/graph.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn linked_list_iter<'a, T: LinkedListNode, S: BufferState>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[repr(C)] [INFO] [stdout] 80 | | pub struct WireDriver { [INFO] [stdout] 81 | | pub width: u32, [INFO] [stdout] 82 | | pub output_state_offset: Offset, [INFO] [stdout] 83 | | pub next_driver: Index, [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct WireDriver { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / #[repr(C)] [INFO] [stdout] 93 | | pub struct Wire { [INFO] [stdout] 94 | | pub width: u32, [INFO] [stdout] 95 | | pub state_offset: Offset, [INFO] [stdout] ... | [INFO] [stdout] 99 | | pub driver_list: Index, [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Wire { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | / #[repr(C)] [INFO] [stdout] 173 | | pub struct ComponentOutput { [INFO] [stdout] 174 | | pub width: u32, [INFO] [stdout] 175 | | pub state_offset: Offset, [INFO] [stdout] 176 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct ComponentOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / #[repr(C)] [INFO] [stdout] 180 | | pub struct ComponentFirstOutput { [INFO] [stdout] 181 | | pub padding: u32, [INFO] [stdout] 182 | | pub first_output: Index, [INFO] [stdout] 183 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ComponentFirstOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / #[repr(C)] [INFO] [stdout] 196 | | pub struct ComponentInput { [INFO] [stdout] 197 | | pub width: u32, [INFO] [stdout] 198 | | pub wire_state_offset: Offset, [INFO] [stdout] 199 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ComponentInput { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / #[repr(C)] [INFO] [stdout] 205 | | pub struct Component { [INFO] [stdout] 206 | | pub kind: ComponentKind, [INFO] [stdout] 207 | | pub output_count: u8, [INFO] [stdout] ... | [INFO] [stdout] 212 | | pub memory_size: u32, [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct Component { [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inline` is never constructed [INFO] [stdout] --> src/vec.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Inline { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 13 | impl Inline { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 14 | const INIT: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn from_array(array: [T; N]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn as_slice(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn as_mut_slice(&mut self) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_slice` and `repeat` are never used [INFO] [stdout] --> src/vec.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Inline { [INFO] [stdout] | ----------------------------------------------- associated functions in this implementation [INFO] [stdout] 84 | #[inline] [INFO] [stdout] 85 | fn from_slice(slice: &[T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn repeat(value: T, count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heap` is never constructed [INFO] [stdout] --> src/vec.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct Heap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 148 | impl Heap { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 149 | #[inline] [INFO] [stdout] 150 | fn from_vec(mut vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | unsafe fn from_inline( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | unsafe fn from_inline_and_remaining( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn from_array(array: [T; N]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn as_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn as_slice(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn as_mut_slice(&mut self) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_slice` and `repeat` are never used [INFO] [stdout] --> src/vec.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 249 | impl Heap { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 250 | #[inline] [INFO] [stdout] 251 | fn from_slice(slice: &[T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn repeat(value: T, count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `SmallVec` is never used [INFO] [stdout] --> src/vec.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | pub union SmallVec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 286 | impl SmallVec { [INFO] [stdout] | -------------------------------------------------------- associated items in this implementation [INFO] [stdout] 287 | #[inline] [INFO] [stdout] 288 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn from_array(array: [T; N]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub const fn is_inline(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn as_slice(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn as_mut_slice(&mut self) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_slice` and `repeat` are never used [INFO] [stdout] --> src/vec.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 412 | impl SmallVec { [INFO] [stdout] | --------------------------------------------------------------- associated functions in this implementation [INFO] [stdout] 413 | pub fn from_slice(slice: &[T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn repeat(value: T, count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/buffer.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn clone(&self) -> Self { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | Self { [INFO] [stdout] 83 | | value: self.value, [INFO] [stdout] 84 | | _marker: PhantomData, [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/buffer.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl PartialOrd for Index { [INFO] [stdout] 101 | | #[inline] [INFO] [stdout] 102 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 103 | | self.value.partial_cmp(&other.value) [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 102 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 103 - self.value.partial_cmp(&other.value) [INFO] [stdout] 104 - } [INFO] [stdout] 102 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/buffer.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | let data = if self.data.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.data.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/buffer.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | fn clone(&self) -> Self { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 278 | | Self(self.0) [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/buffer.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / impl PartialOrd for Offset { [INFO] [stdout] 294 | | #[inline] [INFO] [stdout] 295 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 296 | | self.0.partial_cmp(&other.0) [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 295 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 296 - self.0.partial_cmp(&other.0) [INFO] [stdout] 297 - } [INFO] [stdout] 295 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/buffer.rs:376:23 [INFO] [stdout] | [INFO] [stdout] 376 | let data = if self.data.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.data.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/gpu.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | if !staging_buffer [INFO] [stdout] | ________^ [INFO] [stdout] 81 | | .as_ref() [INFO] [stdout] 82 | | .is_some_and(|staging_buffer| staging_buffer.size() >= buffer.size()) [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 80 ~ if staging_buffer [INFO] [stdout] 81 + .as_ref().is_none_or(|staging_buffer| staging_buffer.size() < buffer.size()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual slice size calculation [INFO] [stdout] --> src/gpu.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(buffer.size() >= (dst.len() * mem::size_of::()) as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(dst)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation [INFO] [stdout] = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | encoder.copy_buffer_to_buffer(buffer, 0, &staging_buffer, 0, buffer.size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `staging_buffer` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | let wire_states = builder.wire_states.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:259:49 [INFO] [stdout] | [INFO] [stdout] 259 | let wire_drives = builder.wire_drives.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:260:51 [INFO] [stdout] | [INFO] [stdout] 260 | let wire_drivers = builder.wire_drivers.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | let wires = builder.wires.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | let output_states = builder.output_states.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | let outputs = builder.outputs.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:265:39 [INFO] [stdout] | [INFO] [stdout] 265 | let inputs = builder.inputs.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | let memory = builder.memory.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:267:47 [INFO] [stdout] | [INFO] [stdout] 267 | let components = builder.components.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | fn linked_list_iter<'a, T: LinkedListNode, S: BufferState>( [INFO] [stdout] | ^^ [INFO] [stdout] 53 | buffer: &'a Buffer, [INFO] [stdout] | ^^ [INFO] [stdout] 54 | first_index: Index, [INFO] [stdout] 55 | ) -> impl Iterator { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 52 ~ fn linked_list_iter( [INFO] [stdout] 53 ~ buffer: &Buffer, [INFO] [stdout] 54 | first_index: Index, [INFO] [stdout] 55 ~ ) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[repr(transparent)] [INFO] [stdout] 22 | | pub struct WireId(Index); [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / #[repr(transparent)] [INFO] [stdout] 30 | | pub struct ComponentId(Index); [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lib.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 306 | / #[repr(C)] [INFO] [stdout] 307 | | struct ListData { [INFO] [stdout] 308 | | wires_changed: u32, [INFO] [stdout] 309 | | components_changed: u32, [INFO] [stdout] 310 | | conflict_list_len: u32, [INFO] [stdout] 311 | | has_conflicts: u32, [INFO] [stdout] 312 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | struct ListData { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_memory` is never used [INFO] [stdout] --> src/lib.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl Simulator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | fn sync_memory(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linked_list_iter` is never used [INFO] [stdout] --> src/graph.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn linked_list_iter<'a, T: LinkedListNode, S: BufferState>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[repr(C)] [INFO] [stdout] 80 | | pub struct WireDriver { [INFO] [stdout] 81 | | pub width: u32, [INFO] [stdout] 82 | | pub output_state_offset: Offset, [INFO] [stdout] 83 | | pub next_driver: Index, [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct WireDriver { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / #[repr(C)] [INFO] [stdout] 93 | | pub struct Wire { [INFO] [stdout] 94 | | pub width: u32, [INFO] [stdout] 95 | | pub state_offset: Offset, [INFO] [stdout] ... | [INFO] [stdout] 99 | | pub driver_list: Index, [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Wire { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | / #[repr(C)] [INFO] [stdout] 173 | | pub struct ComponentOutput { [INFO] [stdout] 174 | | pub width: u32, [INFO] [stdout] 175 | | pub state_offset: Offset, [INFO] [stdout] 176 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct ComponentOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / #[repr(C)] [INFO] [stdout] 180 | | pub struct ComponentFirstOutput { [INFO] [stdout] 181 | | pub padding: u32, [INFO] [stdout] 182 | | pub first_output: Index, [INFO] [stdout] 183 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ComponentFirstOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / #[repr(C)] [INFO] [stdout] 196 | | pub struct ComponentInput { [INFO] [stdout] 197 | | pub width: u32, [INFO] [stdout] 198 | | pub wire_state_offset: Offset, [INFO] [stdout] 199 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ComponentInput { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graph.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / #[repr(C)] [INFO] [stdout] 205 | | pub struct Component { [INFO] [stdout] 206 | | pub kind: ComponentKind, [INFO] [stdout] 207 | | pub output_count: u8, [INFO] [stdout] ... | [INFO] [stdout] 212 | | pub memory_size: u32, [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graph.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct Component { [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inline` is never constructed [INFO] [stdout] --> src/vec.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Inline { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 13 | impl Inline { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 14 | const INIT: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn from_array(array: [T; N]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn as_slice(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn as_mut_slice(&mut self) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_slice` and `repeat` are never used [INFO] [stdout] --> src/vec.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Inline { [INFO] [stdout] | ----------------------------------------------- associated functions in this implementation [INFO] [stdout] 84 | #[inline] [INFO] [stdout] 85 | fn from_slice(slice: &[T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn repeat(value: T, count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heap` is never constructed [INFO] [stdout] --> src/vec.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct Heap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 148 | impl Heap { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 149 | #[inline] [INFO] [stdout] 150 | fn from_vec(mut vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | unsafe fn from_inline( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | unsafe fn from_inline_and_remaining( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn from_array(array: [T; N]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn as_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn as_slice(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn as_mut_slice(&mut self) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_slice` and `repeat` are never used [INFO] [stdout] --> src/vec.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 249 | impl Heap { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 250 | #[inline] [INFO] [stdout] 251 | fn from_slice(slice: &[T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn repeat(value: T, count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `SmallVec` is never used [INFO] [stdout] --> src/vec.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | pub union SmallVec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 286 | impl SmallVec { [INFO] [stdout] | -------------------------------------------------------- associated items in this implementation [INFO] [stdout] 287 | #[inline] [INFO] [stdout] 288 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn from_array(array: [T; N]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub const fn is_inline(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn as_slice(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn as_mut_slice(&mut self) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_slice` and `repeat` are never used [INFO] [stdout] --> src/vec.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 412 | impl SmallVec { [INFO] [stdout] | --------------------------------------------------------------- associated functions in this implementation [INFO] [stdout] 413 | pub fn from_slice(slice: &[T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn repeat(value: T, count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/buffer.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn clone(&self) -> Self { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | Self { [INFO] [stdout] 83 | | value: self.value, [INFO] [stdout] 84 | | _marker: PhantomData, [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/logic.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | if (width < MIN_WIRE_WIDTH) || (width > MAX_WIRE_WIDTH) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/logic.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | (width >= MIN_WIRE_WIDTH) && (width <= MAX_WIRE_WIDTH), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/logic.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | (width >= MIN_WIRE_WIDTH) && (width <= MAX_WIRE_WIDTH), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/buffer.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl PartialOrd for Index { [INFO] [stdout] 101 | | #[inline] [INFO] [stdout] 102 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 103 | | self.value.partial_cmp(&other.value) [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 102 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 103 - self.value.partial_cmp(&other.value) [INFO] [stdout] 104 - } [INFO] [stdout] 102 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `reserve` immediately after creation [INFO] [stdout] --> src/vec.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / let mut vec = Vec::new(); [INFO] [stdout] 168 | | vec.reserve(INLINE_CAP + 1); [INFO] [stdout] | |____________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut vec = Vec::with_capacity(INLINE_CAP + 1);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization [INFO] [stdout] = note: `#[warn(clippy::reserve_after_initialization)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `reserve` immediately after creation [INFO] [stdout] --> src/vec.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | / let mut vec = Vec::new(); [INFO] [stdout] 188 | | vec.reserve(INLINE_CAP + 1); [INFO] [stdout] | |____________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut vec = Vec::with_capacity(INLINE_CAP + 1);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/buffer.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | let data = if self.data.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.data.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/lib.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | if (width < MIN_WIRE_WIDTH) || (width > MAX_WIRE_WIDTH) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/buffer.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | fn clone(&self) -> Self { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 278 | | Self(self.0) [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/buffer.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / impl PartialOrd for Offset { [INFO] [stdout] 294 | | #[inline] [INFO] [stdout] 295 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 296 | | self.0.partial_cmp(&other.0) [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 295 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 296 - self.0.partial_cmp(&other.0) [INFO] [stdout] 297 - } [INFO] [stdout] 295 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | &self.device, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | &self.queue, [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | self.wire_states.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | self.wire_drives.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:444:34 [INFO] [stdout] | [INFO] [stdout] 444 | self.wire_drivers.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:445:27 [INFO] [stdout] | [INFO] [stdout] 445 | self.wires.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:447:35 [INFO] [stdout] | [INFO] [stdout] 447 | self.output_states.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | self.outputs.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | self.inputs.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:450:28 [INFO] [stdout] | [INFO] [stdout] 450 | self.memory.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:451:32 [INFO] [stdout] | [INFO] [stdout] 451 | self.components.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | &self.device, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/buffer.rs:376:23 [INFO] [stdout] | [INFO] [stdout] 376 | let data = if self.data.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.data.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | &self.queue, [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/gpu.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | if !staging_buffer [INFO] [stdout] | ________^ [INFO] [stdout] 81 | | .as_ref() [INFO] [stdout] 82 | | .is_some_and(|staging_buffer| staging_buffer.size() >= buffer.size()) [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 80 ~ if staging_buffer [INFO] [stdout] 81 + .as_ref().is_none_or(|staging_buffer| staging_buffer.size() < buffer.size()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual slice size calculation [INFO] [stdout] --> src/gpu.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(buffer.size() >= (dst.len() * mem::size_of::()) as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(dst)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation [INFO] [stdout] = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | encoder.copy_buffer_to_buffer(buffer, 0, &staging_buffer, 0, buffer.size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `staging_buffer` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | let wire_states = builder.wire_states.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:259:49 [INFO] [stdout] | [INFO] [stdout] 259 | let wire_drives = builder.wire_drives.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:260:51 [INFO] [stdout] | [INFO] [stdout] 260 | let wire_drivers = builder.wire_drivers.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | let wires = builder.wires.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | let output_states = builder.output_states.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | let outputs = builder.outputs.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:265:39 [INFO] [stdout] | [INFO] [stdout] 265 | let inputs = builder.inputs.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | let memory = builder.memory.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/gpu.rs:267:47 [INFO] [stdout] | [INFO] [stdout] 267 | let components = builder.components.build(&device); [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | fn linked_list_iter<'a, T: LinkedListNode, S: BufferState>( [INFO] [stdout] | ^^ [INFO] [stdout] 53 | buffer: &'a Buffer, [INFO] [stdout] | ^^ [INFO] [stdout] 54 | first_index: Index, [INFO] [stdout] 55 | ) -> impl Iterator { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 52 ~ fn linked_list_iter( [INFO] [stdout] 53 ~ buffer: &Buffer, [INFO] [stdout] 54 | first_index: Index, [INFO] [stdout] 55 ~ ) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/logic.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | if (width < MIN_WIRE_WIDTH) || (width > MAX_WIRE_WIDTH) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/logic.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | (width >= MIN_WIRE_WIDTH) && (width <= MAX_WIRE_WIDTH), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/logic.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | (width >= MIN_WIRE_WIDTH) && (width <= MAX_WIRE_WIDTH), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `reserve` immediately after creation [INFO] [stdout] --> src/vec.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / let mut vec = Vec::new(); [INFO] [stdout] 168 | | vec.reserve(INLINE_CAP + 1); [INFO] [stdout] | |____________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut vec = Vec::with_capacity(INLINE_CAP + 1);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization [INFO] [stdout] = note: `#[warn(clippy::reserve_after_initialization)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `reserve` immediately after creation [INFO] [stdout] --> src/vec.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | / let mut vec = Vec::new(); [INFO] [stdout] 188 | | vec.reserve(INLINE_CAP + 1); [INFO] [stdout] | |____________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut vec = Vec::with_capacity(INLINE_CAP + 1);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/lib.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | if (width < MIN_WIRE_WIDTH) || (width > MAX_WIRE_WIDTH) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(MIN_WIRE_WIDTH..=MAX_WIRE_WIDTH).contains(&width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | .sync(&self.device, &self.queue, &mut self.staging_buffer); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | &self.device, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | &self.queue, [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | self.wire_states.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | self.wire_drives.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:444:34 [INFO] [stdout] | [INFO] [stdout] 444 | self.wire_drivers.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:445:27 [INFO] [stdout] | [INFO] [stdout] 445 | self.wires.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:447:35 [INFO] [stdout] | [INFO] [stdout] 447 | self.output_states.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | self.outputs.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | self.inputs.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:450:28 [INFO] [stdout] | [INFO] [stdout] 450 | self.memory.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:451:32 [INFO] [stdout] | [INFO] [stdout] 451 | self.components.update(&self.queue); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | &self.device, [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `self.device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | &self.queue, [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.queue` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a79706fcf54a56ddd6aee42c2f2ab280bd5abfc88765de58eb5282478e908b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79706fcf54a56ddd6aee42c2f2ab280bd5abfc88765de58eb5282478e908b50", kill_on_drop: false }` [INFO] [stdout] a79706fcf54a56ddd6aee42c2f2ab280bd5abfc88765de58eb5282478e908b50