[INFO] cloning repository https://github.com/JulianKnodt/quad_simplification [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JulianKnodt/quad_simplification" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianKnodt%2Fquad_simplification", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianKnodt%2Fquad_simplification'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 780d488941a0bcb62b695c7f1c4db7a23157b42d [INFO] linting JulianKnodt/quad_simplification against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulianKnodt%2Fquad_simplification" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JulianKnodt/quad_simplification [INFO] finished tweaking git repo https://github.com/JulianKnodt/quad_simplification [INFO] tweaked toml for git repo https://github.com/JulianKnodt/quad_simplification written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JulianKnodt/quad_simplification on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JulianKnodt/quad_simplification already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/JulianKnodt/pars3d.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.8 [INFO] [stderr] Downloaded fdeflate v0.3.4 [INFO] [stderr] Downloaded anstyle-query v1.1.0 [INFO] [stderr] Downloaded clap_lex v0.7.1 [INFO] [stderr] Downloaded clap_derive v4.5.5 [INFO] [stderr] Downloaded gif v0.13.1 [INFO] [stderr] Downloaded priority-queue v2.0.3 [INFO] [stderr] Downloaded clap v4.5.7 [INFO] [stderr] Downloaded flume v0.11.0 [INFO] [stderr] Downloaded png v0.17.13 [INFO] [stderr] Downloaded miniz_oxide v0.7.4 [INFO] [stderr] Downloaded ordered-float v4.2.0 [INFO] [stderr] Downloaded flate2 v1.0.30 [INFO] [stderr] Downloaded clap_builder v4.5.7 [INFO] [stderr] Downloaded exr v1.72.0 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] [stderr] Downloaded jpeg-decoder v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2078d49e9a1d56e5807e20f21155d3ec4ecfb1b5eff8be6aced1fe26bfea8b4e [INFO] running `Command { std: "docker" "start" "-a" "2078d49e9a1d56e5807e20f21155d3ec4ecfb1b5eff8be6aced1fe26bfea8b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2078d49e9a1d56e5807e20f21155d3ec4ecfb1b5eff8be6aced1fe26bfea8b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2078d49e9a1d56e5807e20f21155d3ec4ecfb1b5eff8be6aced1fe26bfea8b4e", kill_on_drop: false }` [INFO] [stdout] 2078d49e9a1d56e5807e20f21155d3ec4ecfb1b5eff8be6aced1fe26bfea8b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fd88c54cd55a8a629933fcd9b2bc9b48dbaa1d2fb8f4be9cb73b38257300d3b3 [INFO] running `Command { std: "docker" "start" "-a" "fd88c54cd55a8a629933fcd9b2bc9b48dbaa1d2fb8f4be9cb73b38257300d3b3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking priority-queue v2.0.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking pars3d v0.1.0 (https://github.com/JulianKnodt/pars3d.git#d6a6a973) [INFO] [stderr] Checking quad_collapse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_arg_infer` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_arg_infer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `get_many_mut` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(get_many_mut)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_as_chunks` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vec_into_raw_parts` has been stable since 1.93.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(vec_into_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_arg_infer` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_arg_infer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `get_many_mut` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(get_many_mut)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_as_chunks` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vec_into_raw_parts` has been stable since 1.93.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(vec_into_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/manifold.rs:67:52 [INFO] [stdout] | [INFO] [stdout] 67 | [a, b, c, d] | [d, a, b, c] if (a == b && b == c) || (a == b && c == d) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 67 - [a, b, c, d] | [d, a, b, c] if (a == b && b == c) || (a == b && c == d) => { [INFO] [stdout] 67 + [a, b, c, d] | [d, a, b, c] if !(a != b || b != c && c != d) => { [INFO] [stdout] | [INFO] [stdout] 67 - [a, b, c, d] | [d, a, b, c] if (a == b && b == c) || (a == b && c == d) => { [INFO] [stdout] 67 + [a, b, c, d] | [d, a, b, c] if (c == d || b == c) && a == b => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/manifold.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | FaceKind::Degenerate => return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: replace `return` with a unit value [INFO] [stdout] | [INFO] [stdout] 51 - FaceKind::Degenerate => return, [INFO] [stdout] 51 + FaceKind::Degenerate => (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/manifold.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | FaceKind::Polygon(vs) => &vs, [INFO] [stdout] | ^^^ help: change this to: `vs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/manifold.rs:67:52 [INFO] [stdout] | [INFO] [stdout] 67 | [a, b, c, d] | [d, a, b, c] if (a == b && b == c) || (a == b && c == d) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 67 - [a, b, c, d] | [d, a, b, c] if (a == b && b == c) || (a == b && c == d) => { [INFO] [stdout] 67 + [a, b, c, d] | [d, a, b, c] if !(a != b || b != c && c != d) => { [INFO] [stdout] | [INFO] [stdout] 67 - [a, b, c, d] | [d, a, b, c] if (a == b && b == c) || (a == b && c == d) => { [INFO] [stdout] 67 + [a, b, c, d] | [d, a, b, c] if (c == d || b == c) && a == b => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/manifold.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | FaceKind::Degenerate => return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: replace `return` with a unit value [INFO] [stdout] | [INFO] [stdout] 51 - FaceKind::Degenerate => return, [INFO] [stdout] 51 + FaceKind::Degenerate => (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/manifold.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | FaceKind::Polygon(vs) => &vs, [INFO] [stdout] | ^^^ help: change this to: `vs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is used to index `next` [INFO] [stdout] --> src/inv_map.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | for i in 0..size { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] = note: `#[warn(clippy::needless_range_loop)]` on by default [INFO] [stdout] help: consider using an iterator and enumerate() [INFO] [stdout] | [INFO] [stdout] 9 - for i in 0..size { [INFO] [stdout] 9 + for (i, ) in next.iter_mut().enumerate().take(size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is used to index `ptrs` [INFO] [stdout] --> src/union_find.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | for i in 0..size { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator and enumerate() [INFO] [stdout] | [INFO] [stdout] 13 - for i in 0..size { [INFO] [stdout] 13 + for (i, ) in ptrs.iter().enumerate().take(size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is used to index `next` [INFO] [stdout] --> src/inv_map.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | for i in 0..size { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] = note: `#[warn(clippy::needless_range_loop)]` on by default [INFO] [stdout] help: consider using an iterator and enumerate() [INFO] [stdout] | [INFO] [stdout] 9 - for i in 0..size { [INFO] [stdout] 9 + for (i, ) in next.iter_mut().enumerate().take(size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is used to index `ptrs` [INFO] [stdout] --> src/union_find.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | for i in 0..size { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator and enumerate() [INFO] [stdout] | [INFO] [stdout] 13 - for i in 0..size { [INFO] [stdout] 13 + for (i, ) in ptrs.iter().enumerate().take(size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quad_area` [INFO] [stdout] --> src/bin/decimate.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use quad_collapse::{poly_area, quad_area, tri_area, F}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_windows` has been stable since 1.94.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/decimate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(array_windows)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quad_area` [INFO] [stdout] --> src/bin/decimate.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use quad_collapse::{poly_area, quad_area, tri_area, F}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_windows` has been stable since 1.94.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/decimate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(array_windows)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/bin/decimate.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | enum ScaffoldKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 91 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScaffoldKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/bin/decimate.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | / match [a, b] { [INFO] [stdout] 332 | | [[x, y, z] | [z, x, y] | [y, z, x] | [x, z, y] | [y, x, z] | [z, y, x], [a, b, c]] [INFO] [stdout] 333 | | if x == a && y == b && z == c => [INFO] [stdout] ... | [INFO] [stdout] 337 | | _ => false, [INFO] [stdout] 338 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 331 - match [a, b] { [INFO] [stdout] 332 - [[x, y, z] | [z, x, y] | [y, z, x] | [x, z, y] | [y, x, z] | [z, y, x], [a, b, c]] [INFO] [stdout] 333 - if x == a && y == b && z == c => [INFO] [stdout] 334 - { [INFO] [stdout] 335 - true [INFO] [stdout] 336 - } [INFO] [stdout] 337 - _ => false, [INFO] [stdout] 338 - } [INFO] [stdout] 331 + matches!([a, b], [[x, y, z] | [z, x, y] | [y, z, x] | [x, z, y] | [y, x, z] | [z, y, x], [a, b, c]] if x == a && y == b && z == c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/bin/decimate.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | / match [a, b] { [INFO] [stdout] 332 | | [[x, y, z] | [z, x, y] | [y, z, x] | [x, z, y] | [y, x, z] | [z, y, x], [a, b, c]] [INFO] [stdout] 333 | | if x == a && y == b && z == c => [INFO] [stdout] ... | [INFO] [stdout] 337 | | _ => false, [INFO] [stdout] 338 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 331 - match [a, b] { [INFO] [stdout] 332 - [[x, y, z] | [z, x, y] | [y, z, x] | [x, z, y] | [y, x, z] | [z, y, x], [a, b, c]] [INFO] [stdout] 333 - if x == a && y == b && z == c => [INFO] [stdout] 334 - { [INFO] [stdout] 335 - true [INFO] [stdout] 336 - } [INFO] [stdout] 337 - _ => false, [INFO] [stdout] 338 - } [INFO] [stdout] 331 + matches!([a, b], [[x, y, z] | [z, x, y] | [y, z, x] | [x, z, y] | [y, x, z] | [z, y, x], [a, b, c]] if x == a && y == b && z == c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.30s [INFO] running `Command { std: "docker" "inspect" "fd88c54cd55a8a629933fcd9b2bc9b48dbaa1d2fb8f4be9cb73b38257300d3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd88c54cd55a8a629933fcd9b2bc9b48dbaa1d2fb8f4be9cb73b38257300d3b3", kill_on_drop: false }` [INFO] [stdout] fd88c54cd55a8a629933fcd9b2bc9b48dbaa1d2fb8f4be9cb73b38257300d3b3