[INFO] fetching crate vec_clock 0.2.1... [INFO] linting vec_clock-0.2.1 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate vec_clock 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate vec_clock 0.2.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate vec_clock 0.2.1 [INFO] tweaked toml for crates.io crate vec_clock 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vec_clock 0.2.1 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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e692476ffab53e2beadfe8759f322a7fb909b8d257190045acd7aeafa91bb12c [INFO] running `Command { std: "docker" "start" "-a" "e692476ffab53e2beadfe8759f322a7fb909b8d257190045acd7aeafa91bb12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e692476ffab53e2beadfe8759f322a7fb909b8d257190045acd7aeafa91bb12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e692476ffab53e2beadfe8759f322a7fb909b8d257190045acd7aeafa91bb12c", kill_on_drop: false }` [INFO] [stdout] e692476ffab53e2beadfe8759f322a7fb909b8d257190045acd7aeafa91bb12c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 01c4b76ce7d50ab74bf8318fd4292173e825ffe84b19afe2ec15de1688a68880 [INFO] running `Command { std: "docker" "start" "-a" "01c4b76ce7d50ab74bf8318fd4292173e825ffe84b19afe2ec15de1688a68880", kill_on_drop: false }` [INFO] [stderr] Checking vec_clock v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless conversion to the same type: `T` [INFO] [stdout] --> src/clock.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | } else if self.time.as_slice()[self.self_index] < T::from(causal_ref[self.self_index]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `T::from()`: `causal_ref[self.self_index]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecClock` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> src/clock.rs:64:2 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn len(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecTime` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> src/time.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn len(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t1.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t2.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | if t1 == None || t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t1.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | if t1 == None || t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t2.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t1.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t2.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/func.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/func.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `T` [INFO] [stdout] --> src/clock.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | } else if self.time.as_slice()[self.self_index] < T::from(causal_ref[self.self_index]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `T::from()`: `causal_ref[self.self_index]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecClock` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> src/clock.rs:64:2 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn len(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(vc.time_by(&[0u64; 3]).unwrap() == [0, 1, 0]); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 3]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(vc.time_by(&[1u64, 1, 3]).unwrap() == [1, 2, 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 1, 3]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(vc.time_by(&[!0u64, 0, !0 - 1]).unwrap() == [!0, 3, !0 - 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: change this to: `[!0u64, 0, !0 - 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let e = vc.time_by(&[0u64; 2]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let e = vc.time_by(&[0u64; 4]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 4]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let e = vc.time_by(&[0u64, u64::MAX, 0]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `[0u64, u64::MAX, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let _ = vc.time_by(&[0u64; 3]); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 3]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | assert!(vc.nocheck_time_by(&[0u64; 3]) == [0, 1, 0]); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 3]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(vc.nocheck_time_by(&[1u64, 1, 3]) == [1, 2, 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 1, 3]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(vc.nocheck_time_by(&[!0u64, 0, !0 - 1]) == [!0, 3, !0 - 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: change this to: `[!0u64, 0, !0 - 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | assert!(vc.nocheck_time_by(&[0u64; 2]) != [!0, 5, !0 - 1]); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(vc.nocheck_time_by(&[0u64; 4]) != [!0, 6, !0 - 1]); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 4]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let _ = vc.nocheck_time_by(&[0u64, !0, 0]); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `[0u64, !0, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(vc.compare(&[0u64, 0, 0]).unwrap(), CompareState::After); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 0, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(vc.compare(&[0u64, 0, 1]).unwrap(), CompareState::After); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 0, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(vc.compare(&[0u64, 0, 2]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 0, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(vc.compare(&[0u64, 1, 0]).unwrap(), CompareState::After); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 1, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(vc.compare(&[0u64, 1, 1]).unwrap(), CompareState::After); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 1, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(vc.compare(&[0u64, 1, 2]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 1, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | assert_eq!(vc.compare(&[0u64, 2, 0]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 2, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | assert_eq!(vc.compare(&[0u64, 2, 1]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 2, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(vc.compare(&[0u64, 2, 2]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[0u64, 2, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(vc.compare(&[1u64, 0, 0]).unwrap(), CompareState::After); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 0, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(vc.compare(&[1u64, 0, 1]).unwrap(), CompareState::After); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 0, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(vc.compare(&[1u64, 0, 2]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 0, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(vc.compare(&[1u64, 1, 0]).unwrap(), CompareState::After); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 1, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | assert_eq!(vc.compare(&[1u64, 1, 1]).unwrap(), CompareState::Same); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 1, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(vc.compare(&[1u64, 1, 2]).unwrap(), CompareState::Before); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 1, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!(vc.compare(&[1u64, 2, 0]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 2, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(vc.compare(&[1u64, 2, 1]).unwrap(), CompareState::Before); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 2, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(vc.compare(&[1u64, 2, 2]).unwrap(), CompareState::Before); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[1u64, 2, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(vc.compare(&[2u64, 0, 0]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 0, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(vc.compare(&[2u64, 0, 1]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 0, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(vc.compare(&[2u64, 0, 2]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 0, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(vc.compare(&[2u64, 1, 0]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 1, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(vc.compare(&[2u64, 1, 1]).unwrap(), CompareState::Before); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 1, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(vc.compare(&[2u64, 1, 2]).unwrap(), CompareState::Before); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 1, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | assert_eq!(vc.compare(&[2u64, 2, 0]).unwrap(), CompareState::Concurrent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 2, 0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(vc.compare(&[2u64, 2, 1]).unwrap(), CompareState::Before); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 2, 1]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(vc.compare(&[2u64, 2, 2]).unwrap(), CompareState::Before); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `[2u64, 2, 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | let e = vc.compare(&[0u64; 2]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 2]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/clock.rs:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | let e = vc.compare(&[0u64; 4]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `[0u64; 4]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VecTime` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> src/time.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn len(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t1.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t2.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | if t1 == None || t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t1.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | if t1 == None || t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t2.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t1.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/time.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | if t1 == None && t2 == None { [INFO] [stdout] | ^^^^^^^^^^ help: use `Option::is_none()` instead: `t2.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/time.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | .map(|o| std::cmp::Ordering::reverse(o)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::cmp::Ordering::reverse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:386:11 [INFO] [stdout] | [INFO] [stdout] 386 | assert!(!(time1 < time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] = note: `#[warn(clippy::neg_cmp_op_on_partial_ord)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:388:11 [INFO] [stdout] | [INFO] [stdout] 388 | assert!(!(time1 > time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:398:11 [INFO] [stdout] | [INFO] [stdout] 398 | assert!(!(time1 > time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:399:11 [INFO] [stdout] | [INFO] [stdout] 399 | assert!(!(time1 >= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:406:11 [INFO] [stdout] | [INFO] [stdout] 406 | assert!(!(time1 < time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:407:11 [INFO] [stdout] | [INFO] [stdout] 407 | assert!(!(time1 <= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:408:11 [INFO] [stdout] | [INFO] [stdout] 408 | assert!(!(time1 > time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:409:11 [INFO] [stdout] | [INFO] [stdout] 409 | assert!(!(time1 >= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:416:11 [INFO] [stdout] | [INFO] [stdout] 416 | assert!(!(time1 < time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:417:11 [INFO] [stdout] | [INFO] [stdout] 417 | assert!(!(time1 <= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:426:11 [INFO] [stdout] | [INFO] [stdout] 426 | assert!(!(time1 < time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:427:11 [INFO] [stdout] | [INFO] [stdout] 427 | assert!(!(time1 <= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:428:11 [INFO] [stdout] | [INFO] [stdout] 428 | assert!(!(time1 > time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | assert!(!(time1 >= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:436:11 [INFO] [stdout] | [INFO] [stdout] 436 | assert!(!(time1 < time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:437:11 [INFO] [stdout] | [INFO] [stdout] 437 | assert!(!(time1 <= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | assert!(!(time1 > time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:439:11 [INFO] [stdout] | [INFO] [stdout] 439 | assert!(!(time1 >= time2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/time.rs:456:11 [INFO] [stdout] | [INFO] [stdout] 456 | assert!(!(vec1 == time1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `(vec1 != time1)` [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/time.rs:458:11 [INFO] [stdout] | [INFO] [stdout] 458 | assert!(!(vec1 < time1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `(vec1 >= time1)` [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/time.rs:459:11 [INFO] [stdout] | [INFO] [stdout] 459 | assert!(!(vec1 <= time1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `(vec1 > time1)` [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: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:453:11 [INFO] [stdout] | [INFO] [stdout] 453 | assert!(!(time1 > vec1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:454:11 [INFO] [stdout] | [INFO] [stdout] 454 | assert!(!(time1 >= vec1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/time.rs:478:11 [INFO] [stdout] | [INFO] [stdout] 478 | assert!(!(arr1 == time1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `(arr1 != time1)` [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/time.rs:480:11 [INFO] [stdout] | [INFO] [stdout] 480 | assert!(!(arr1 < time1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `(arr1 >= time1)` [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/time.rs:481:11 [INFO] [stdout] | [INFO] [stdout] 481 | assert!(!(arr1 <= time1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `(arr1 > time1)` [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: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:475:11 [INFO] [stdout] | [INFO] [stdout] 475 | assert!(!(time1 > arr1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable [INFO] [stdout] --> src/time.rs:476:11 [INFO] [stdout] | [INFO] [stdout] 476 | assert!(!(time1 >= arr1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/func.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/func.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/test.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | new::(convert(&arr), 0).unwrap(); [INFO] [stdout] | ^^^^ help: change this to: `arr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/test.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | new::(convert(&mut arr), 0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: change this to: `arr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/test.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | new::(try_convert(&arr).unwrap(), 0).unwrap(); [INFO] [stdout] | ^^^^ help: change this to: `arr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/test.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | new::(try_convert(&mut arr).unwrap(), 0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: change this to: `arr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | convert::(&[u8::MAX as u8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | convert::(&[u8::MAX as u8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | convert::(&[u8::MAX as u8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | convert::(&[u8::MAX as u8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | convert::(&[u8::MAX as u8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | convert::(&[u8::MAX as u8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | convert::(&[u8::MAX as u8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | convert::(&[u16::MAX as u16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | convert::(&[u16::MAX as u16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | convert::(&[u16::MAX as u16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | convert::(&[u16::MAX as u16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | convert::(&[u16::MAX as u16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:271:27 [INFO] [stdout] | [INFO] [stdout] 271 | convert::(&[u32::MAX as u32; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | convert::(&[u32::MAX as u32; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | convert::(&[u32::MAX as u32; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:313:27 [INFO] [stdout] | [INFO] [stdout] 313 | convert::(&[u64::MAX as u64; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | convert::(&[i8::MAX as i8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:355:26 [INFO] [stdout] | [INFO] [stdout] 355 | convert::(&[i8::MAX as i8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:360:26 [INFO] [stdout] | [INFO] [stdout] 360 | convert::(&[i8::MAX as i8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | convert::(&[i8::MAX as i8; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:393:27 [INFO] [stdout] | [INFO] [stdout] 393 | convert::(&[i16::MAX as i16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | convert::(&[i16::MAX as i16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 405 | convert::(&[i16::MAX as i16; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | convert::(&[i32::MAX as i32; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:443:27 [INFO] [stdout] | [INFO] [stdout] 443 | convert::(&[i32::MAX as i32; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:481:27 [INFO] [stdout] | [INFO] [stdout] 481 | convert::(&[i64::MAX as i64; 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:874:29 [INFO] [stdout] | [INFO] [stdout] 874 | try_convert::(&[u8::MAX as u8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:887:30 [INFO] [stdout] | [INFO] [stdout] 887 | try_convert::(&[u16::MAX as u16; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:900:30 [INFO] [stdout] | [INFO] [stdout] 900 | try_convert::(&[u32::MAX as u32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:913:30 [INFO] [stdout] | [INFO] [stdout] 913 | try_convert::(&[u64::MAX as u64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:926:29 [INFO] [stdout] | [INFO] [stdout] 926 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:939:30 [INFO] [stdout] | [INFO] [stdout] 939 | try_convert::(&[i16::MAX as i16; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:952:30 [INFO] [stdout] | [INFO] [stdout] 952 | try_convert::(&[i32::MAX as i32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:965:30 [INFO] [stdout] | [INFO] [stdout] 965 | try_convert::(&[i64::MAX as i64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:982:30 [INFO] [stdout] | [INFO] [stdout] 982 | try_convert::(&[u8::MAX as u8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:995:31 [INFO] [stdout] | [INFO] [stdout] 995 | try_convert::(&[u16::MAX as u16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:1008:31 [INFO] [stdout] | [INFO] [stdout] 1008 | try_convert::(&[u32::MAX as u32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:1021:31 [INFO] [stdout] | [INFO] [stdout] 1021 | try_convert::(&[u64::MAX as u64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:1034:30 [INFO] [stdout] | [INFO] [stdout] 1034 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:1047:31 [INFO] [stdout] | [INFO] [stdout] 1047 | try_convert::(&[i16::MAX as i16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:1060:31 [INFO] [stdout] | [INFO] [stdout] 1060 | try_convert::(&[i32::MAX as i32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:1073:31 [INFO] [stdout] | [INFO] [stdout] 1073 | try_convert::(&[i64::MAX as i64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:1090:30 [INFO] [stdout] | [INFO] [stdout] 1090 | try_convert::(&[u8::MAX as u8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:1103:31 [INFO] [stdout] | [INFO] [stdout] 1103 | try_convert::(&[u16::MAX as u16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:1116:31 [INFO] [stdout] | [INFO] [stdout] 1116 | try_convert::(&[u32::MAX as u32; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:1129:31 [INFO] [stdout] | [INFO] [stdout] 1129 | try_convert::(&[u64::MAX as u64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:1142:30 [INFO] [stdout] | [INFO] [stdout] 1142 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:1155:31 [INFO] [stdout] | [INFO] [stdout] 1155 | try_convert::(&[i16::MAX as i16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:1168:31 [INFO] [stdout] | [INFO] [stdout] 1168 | try_convert::(&[i32::MAX as i32; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:1181:31 [INFO] [stdout] | [INFO] [stdout] 1181 | try_convert::(&[i64::MAX as i64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:1198:30 [INFO] [stdout] | [INFO] [stdout] 1198 | try_convert::(&[u8::MAX as u8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:1211:31 [INFO] [stdout] | [INFO] [stdout] 1211 | try_convert::(&[u16::MAX as u16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:1224:31 [INFO] [stdout] | [INFO] [stdout] 1224 | try_convert::(&[u32::MAX as u32; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:1237:31 [INFO] [stdout] | [INFO] [stdout] 1237 | try_convert::(&[u64::MAX as u64; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:1250:30 [INFO] [stdout] | [INFO] [stdout] 1250 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:1263:31 [INFO] [stdout] | [INFO] [stdout] 1263 | try_convert::(&[i16::MAX as i16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:1276:31 [INFO] [stdout] | [INFO] [stdout] 1276 | try_convert::(&[i32::MAX as i32; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:1289:31 [INFO] [stdout] | [INFO] [stdout] 1289 | try_convert::(&[i64::MAX as i64; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:1306:29 [INFO] [stdout] | [INFO] [stdout] 1306 | try_convert::(&[u8::MAX as u8; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:1319:30 [INFO] [stdout] | [INFO] [stdout] 1319 | try_convert::(&[u16::MAX as u16; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:1332:30 [INFO] [stdout] | [INFO] [stdout] 1332 | try_convert::(&[u32::MAX as u32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:1345:30 [INFO] [stdout] | [INFO] [stdout] 1345 | try_convert::(&[u64::MAX as u64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:1358:29 [INFO] [stdout] | [INFO] [stdout] 1358 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:1371:30 [INFO] [stdout] | [INFO] [stdout] 1371 | try_convert::(&[i16::MAX as i16; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:1384:30 [INFO] [stdout] | [INFO] [stdout] 1384 | try_convert::(&[i32::MAX as i32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:1397:30 [INFO] [stdout] | [INFO] [stdout] 1397 | try_convert::(&[i64::MAX as i64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:1414:30 [INFO] [stdout] | [INFO] [stdout] 1414 | try_convert::(&[u8::MAX as u8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:1427:31 [INFO] [stdout] | [INFO] [stdout] 1427 | try_convert::(&[u16::MAX as u16; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:1440:31 [INFO] [stdout] | [INFO] [stdout] 1440 | try_convert::(&[u32::MAX as u32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:1453:31 [INFO] [stdout] | [INFO] [stdout] 1453 | try_convert::(&[u64::MAX as u64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:1466:30 [INFO] [stdout] | [INFO] [stdout] 1466 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:1479:31 [INFO] [stdout] | [INFO] [stdout] 1479 | try_convert::(&[i16::MAX as i16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:1492:31 [INFO] [stdout] | [INFO] [stdout] 1492 | try_convert::(&[i32::MAX as i32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:1505:31 [INFO] [stdout] | [INFO] [stdout] 1505 | try_convert::(&[i64::MAX as i64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:1522:30 [INFO] [stdout] | [INFO] [stdout] 1522 | try_convert::(&[u8::MAX as u8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:1535:31 [INFO] [stdout] | [INFO] [stdout] 1535 | try_convert::(&[u16::MAX as u16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:1548:31 [INFO] [stdout] | [INFO] [stdout] 1548 | try_convert::(&[u32::MAX as u32; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:1561:31 [INFO] [stdout] | [INFO] [stdout] 1561 | try_convert::(&[u64::MAX as u64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:1574:30 [INFO] [stdout] | [INFO] [stdout] 1574 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:1587:31 [INFO] [stdout] | [INFO] [stdout] 1587 | try_convert::(&[i16::MAX as i16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:1600:31 [INFO] [stdout] | [INFO] [stdout] 1600 | try_convert::(&[i32::MAX as i32; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:1613:31 [INFO] [stdout] | [INFO] [stdout] 1613 | try_convert::(&[i64::MAX as i64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> tests/test.rs:1630:30 [INFO] [stdout] | [INFO] [stdout] 1630 | try_convert::(&[u8::MAX as u8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `u8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u16` -> `u16`) [INFO] [stdout] --> tests/test.rs:1643:31 [INFO] [stdout] | [INFO] [stdout] 1643 | try_convert::(&[u16::MAX as u16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> tests/test.rs:1656:31 [INFO] [stdout] | [INFO] [stdout] 1656 | try_convert::(&[u32::MAX as u32; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> tests/test.rs:1669:31 [INFO] [stdout] | [INFO] [stdout] 1669 | try_convert::(&[u64::MAX as u64; 3]).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i8` -> `i8`) [INFO] [stdout] --> tests/test.rs:1682:30 [INFO] [stdout] | [INFO] [stdout] 1682 | try_convert::(&[i8::MAX as i8; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `i8::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i16` -> `i16`) [INFO] [stdout] --> tests/test.rs:1695:31 [INFO] [stdout] | [INFO] [stdout] 1695 | try_convert::(&[i16::MAX as i16; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i16::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> tests/test.rs:1708:31 [INFO] [stdout] | [INFO] [stdout] 1708 | try_convert::(&[i32::MAX as i32; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i32::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i64` -> `i64`) [INFO] [stdout] --> tests/test.rs:1721:31 [INFO] [stdout] | [INFO] [stdout] 1721 | try_convert::(&[i64::MAX as i64; 3]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `i64::MAX` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "01c4b76ce7d50ab74bf8318fd4292173e825ffe84b19afe2ec15de1688a68880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c4b76ce7d50ab74bf8318fd4292173e825ffe84b19afe2ec15de1688a68880", kill_on_drop: false }` [INFO] [stdout] 01c4b76ce7d50ab74bf8318fd4292173e825ffe84b19afe2ec15de1688a68880