[INFO] fetching crate rusty_junctions 0.1.0... [INFO] linting rusty_junctions-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate rusty_junctions 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rusty_junctions 0.1.0 [INFO] finished tweaking crates.io crate rusty_junctions 0.1.0 [INFO] tweaked toml for crates.io crate rusty_junctions 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_junctions 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 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] 1f00a828135e64288b7c5fc0b77a299f726f3117c41b292c11f73d7575abe8ff [INFO] running `Command { std: "docker" "start" "-a" "1f00a828135e64288b7c5fc0b77a299f726f3117c41b292c11f73d7575abe8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f00a828135e64288b7c5fc0b77a299f726f3117c41b292c11f73d7575abe8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f00a828135e64288b7c5fc0b77a299f726f3117c41b292c11f73d7575abe8ff", kill_on_drop: false }` [INFO] [stdout] 1f00a828135e64288b7c5fc0b77a299f726f3117c41b292c11f73d7575abe8ff [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] 6f86cab96b1f9470bdd7c0b0dd89194901f3cab6f7b327a3fdb21c03cc498aaf [INFO] running `Command { std: "docker" "start" "-a" "6f86cab96b1f9470bdd7c0b0dd89194901f3cab6f7b327a3fdb21c03cc498aaf", kill_on_drop: false }` [INFO] [stderr] Checking rusty_junctions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `contains_items` is never used [INFO] [stdout] --> src/bag.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Bag [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | K: Hash + Eq, [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn contains_items(&self, key: &K) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/channels.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 34 | impl SendChannel { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 35 | /// Return the channel's ID. [INFO] [stdout] 36 | pub(crate) fn id(&self) -> ids::ChannelId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/channels.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 125 | impl RecvChannel { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 126 | /// Return the channel's ID. [INFO] [stdout] 127 | pub(crate) fn id(&self) -> ids::ChannelId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/channels.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 236 | impl BidirChannel { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 237 | /// Return the channel's ID. [INFO] [stdout] 238 | pub(crate) fn id(&self) -> ids::ChannelId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_multiple` and `peek_first` are never used [INFO] [stdout] --> src/inverted_index.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 16 | / impl InvertedIndex [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | K: Hash + Eq, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn insert_multiple(&mut self, key: K, values: impl IntoIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(crate) fn peek_first(&self, key: &K) -> Option<&V> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `junction_id` is never read [INFO] [stdout] --> src/patterns.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 767 | pub struct SendPartialPattern { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 768 | junction_id: ids::JunctionId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 221 | impl ChannelId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 222 | pub(crate) fn new(value: usize) -> ChannelId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/bag.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.items.get(key).map_or(false, |q| !q.is_empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 57 - self.items.get(key).map_or(false, |q| !q.is_empty()) [INFO] [stdout] 57 + self.items.get(key).is_some_and(|q| !q.is_empty()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do [INFO] [stdout] --> src/controller.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | alive_jp_ids: &'a mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 170 - alive_jp_ids: &'a mut Vec, [INFO] [stdout] 170 + alive_jp_ids: &'a mut [JoinPatternId], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | /// has been fired yet, so they can be viewed as equal in this ordering. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 269 | /// has been fired yet, so they can be viewed as equal in this ordering. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | /// one has to be ordered as less than the other since having been fired [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 271 | /// one has to be ordered as less than the other since having been fired [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | /// at least once will always be a later point of firing than not having [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 272 | /// at least once will always be a later point of firing than not having [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | /// been fired yet. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 273 | /// been fired yet. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | /// of these. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 275 | /// of these. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/counter.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | const UINT_MIN: Uint = Uint::min_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 20 - const UINT_MIN: Uint = Uint::min_value(); [INFO] [stdout] 20 + const UINT_MIN: Uint = Uint::MIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/counter.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | const UINT_MAX: Uint = Uint::max_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 23 - const UINT_MAX: Uint = Uint::max_value(); [INFO] [stdout] 23 + const UINT_MAX: Uint = Uint::MAX; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/counter.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / let mut digits = Vec::with_capacity(1); [INFO] [stdout] 87 | | digits.push(UINT_MIN); [INFO] [stdout] | |______________________________^ help: consider using the `vec![]` macro: `let digits = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] = note: `#[warn(clippy::vec_init_then_push)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | /// more digits the greater the counter value. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 126 | /// more digits the greater the counter value. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | /// more digits the greater the counter value. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 128 | /// more digits the greater the counter value. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | /// digit from left (lowest index) to right (greatest index) and choose the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 130 | /// digit from left (lowest index) to right (greatest index) and choose the [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | /// last Ordering that is not `Ordering::Equal`. If there is `None`, then [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 131 | /// last Ordering that is not `Ordering::Equal`. If there is `None`, then [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | /// the two `Counter`s are equal. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 132 | /// the two `Counter`s are equal. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator [INFO] [stdout] --> src/counter.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | let comparison = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 140 | | .digits [INFO] [stdout] 141 | | .iter() [INFO] [stdout] 142 | | .zip(other.digits.iter()) [INFO] [stdout] 143 | | .map(|(a, b)| a.cmp(b)) [INFO] [stdout] 144 | | .filter(|&v| v != Ordering::Equal) [INFO] [stdout] 145 | | .last(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last [INFO] [stdout] = note: `#[warn(clippy::double_ended_iterator_last)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 145 - .last(); [INFO] [stdout] 145 + .next_back(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/function_transforms.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | F: Fn(T) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/function_transforms.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | F: Fn(T, U) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/function_transforms.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | F: Fn(T, U, V) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/patterns.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | F: Fn(T) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/patterns.rs:508:24 [INFO] [stdout] | [INFO] [stdout] 508 | F: Fn(T, U) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/patterns.rs:810:27 [INFO] [stdout] | [INFO] [stdout] 810 | F: Fn(T, U, V) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | pub trait FnBoxClone: Fn(Message) -> () + Send { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | F: Fn(Message) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait FnBoxClone: Fn(Message, Message) -> () + Send { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | F: Fn(Message, Message) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | pub trait FnBoxClone: Fn(Message, Message, Message) -> () + Send { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | F: Fn(Message, Message, Message) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> examples/storage-cell.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | get_val.send(v.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: try removing the `clone` call: `v` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/channels.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 34 | impl SendChannel { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 35 | /// Return the channel's ID. [INFO] [stdout] 36 | pub(crate) fn id(&self) -> ids::ChannelId { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/channels.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 125 | impl RecvChannel { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 126 | /// Return the channel's ID. [INFO] [stdout] 127 | pub(crate) fn id(&self) -> ids::ChannelId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/channels.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 236 | impl BidirChannel { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 237 | /// Return the channel's ID. [INFO] [stdout] 238 | pub(crate) fn id(&self) -> ids::ChannelId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `junction_id` is never read [INFO] [stdout] --> src/patterns.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 767 | pub struct SendPartialPattern { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 768 | junction_id: ids::JunctionId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 221 | impl ChannelId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 222 | pub(crate) fn new(value: usize) -> ChannelId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/bag.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.items.get(key).map_or(false, |q| !q.is_empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 57 - self.items.get(key).map_or(false, |q| !q.is_empty()) [INFO] [stdout] 57 + self.items.get(key).is_some_and(|q| !q.is_empty()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do [INFO] [stdout] --> src/controller.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | alive_jp_ids: &'a mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 170 - alive_jp_ids: &'a mut Vec, [INFO] [stdout] 170 + alive_jp_ids: &'a mut [JoinPatternId], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | /// has been fired yet, so they can be viewed as equal in this ordering. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 269 | /// has been fired yet, so they can be viewed as equal in this ordering. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | /// one has to be ordered as less than the other since having been fired [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 271 | /// one has to be ordered as less than the other since having been fired [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | /// at least once will always be a later point of firing than not having [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 272 | /// at least once will always be a later point of firing than not having [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | /// been fired yet. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 273 | /// been fired yet. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/controller.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | /// of these. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 275 | /// of these. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/counter.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | const UINT_MIN: Uint = Uint::min_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 20 - const UINT_MIN: Uint = Uint::min_value(); [INFO] [stdout] 20 + const UINT_MIN: Uint = Uint::MIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/counter.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | const UINT_MAX: Uint = Uint::max_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 23 - const UINT_MAX: Uint = Uint::max_value(); [INFO] [stdout] 23 + const UINT_MAX: Uint = Uint::MAX; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/counter.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / let mut digits = Vec::with_capacity(1); [INFO] [stdout] 87 | | digits.push(UINT_MIN); [INFO] [stdout] | |______________________________^ help: consider using the `vec![]` macro: `let digits = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] = note: `#[warn(clippy::vec_init_then_push)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | /// more digits the greater the counter value. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 126 | /// more digits the greater the counter value. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | /// more digits the greater the counter value. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 128 | /// more digits the greater the counter value. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | /// digit from left (lowest index) to right (greatest index) and choose the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 130 | /// digit from left (lowest index) to right (greatest index) and choose the [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | /// last Ordering that is not `Ordering::Equal`. If there is `None`, then [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 131 | /// last Ordering that is not `Ordering::Equal`. If there is `None`, then [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/counter.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | /// the two `Counter`s are equal. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 132 | /// the two `Counter`s are equal. [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator [INFO] [stdout] --> src/counter.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | let comparison = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 140 | | .digits [INFO] [stdout] 141 | | .iter() [INFO] [stdout] 142 | | .zip(other.digits.iter()) [INFO] [stdout] 143 | | .map(|(a, b)| a.cmp(b)) [INFO] [stdout] 144 | | .filter(|&v| v != Ordering::Equal) [INFO] [stdout] 145 | | .last(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last [INFO] [stdout] = note: `#[warn(clippy::double_ended_iterator_last)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 145 - .last(); [INFO] [stdout] 145 + .next_back(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | assert!(!(b < a)); [INFO] [stdout] | ^^^^^^^^ help: try: `(b >= a)` [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] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | assert!(!(b < a)); [INFO] [stdout] | ^^^^^^^^ help: try: `(b >= a)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:432:21 [INFO] [stdout] | [INFO] [stdout] 432 | assert!(!(a <= b)); [INFO] [stdout] | ^^^^^^^^^ help: try: `(a > b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:452:21 [INFO] [stdout] | [INFO] [stdout] 452 | assert!(!(b <= a)); [INFO] [stdout] | ^^^^^^^^^ help: try: `(b > a)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | assert!(!(a > b)); [INFO] [stdout] | ^^^^^^^^ help: try: `(a <= b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:492:21 [INFO] [stdout] | [INFO] [stdout] 492 | assert!(!(a > b)); [INFO] [stdout] | ^^^^^^^^ help: try: `(a <= b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:522:21 [INFO] [stdout] | [INFO] [stdout] 522 | assert!(!(b >= a)); [INFO] [stdout] | ^^^^^^^^^ help: try: `(b < a)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/counter.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | assert!(!(a >= b)); [INFO] [stdout] | ^^^^^^^^^ help: try: `(a < b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/function_transforms.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | F: Fn(T) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/function_transforms.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | F: Fn(T, U) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/function_transforms.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | F: Fn(T, U, V) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/patterns.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | F: Fn(T) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/patterns.rs:508:24 [INFO] [stdout] | [INFO] [stdout] 508 | F: Fn(T, U) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/patterns.rs:810:27 [INFO] [stdout] | [INFO] [stdout] 810 | F: Fn(T, U, V) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | pub trait FnBoxClone: Fn(Message) -> () + Send { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | F: Fn(Message) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait FnBoxClone: Fn(Message, Message) -> () + Send { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | F: Fn(Message, Message) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | pub trait FnBoxClone: Fn(Message, Message, Message) -> () + Send { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/types.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | F: Fn(Message, Message, Message) -> () + Send + Clone + 'static, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "6f86cab96b1f9470bdd7c0b0dd89194901f3cab6f7b327a3fdb21c03cc498aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f86cab96b1f9470bdd7c0b0dd89194901f3cab6f7b327a3fdb21c03cc498aaf", kill_on_drop: false }` [INFO] [stdout] 6f86cab96b1f9470bdd7c0b0dd89194901f3cab6f7b327a3fdb21c03cc498aaf