[INFO] cloning repository https://github.com/christian-plourde/fishies [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christian-plourde/fishies" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristian-plourde%2Ffishies", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristian-plourde%2Ffishies'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 387ece59946638e56b652f2e03bb6e438e1b9293 [INFO] linting christian-plourde/fishies against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristian-plourde%2Ffishies" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/christian-plourde/fishies [INFO] finished tweaking git repo https://github.com/christian-plourde/fishies [INFO] tweaked toml for git repo https://github.com/christian-plourde/fishies written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/christian-plourde/fishies 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/christian-plourde/fishies 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded zerocopy v0.6.6 [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded syn v2.0.72 [INFO] [stderr] Downloaded stability v0.2.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.18 [INFO] [stderr] Downloaded signal-hook v0.3.17 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded unicode-segmentation v1.11.0 [INFO] [stderr] Downloaded zerocopy-derive v0.6.6 [INFO] [stderr] Downloaded lru v0.12.4 [INFO] [stderr] Downloaded libc v0.2.155 [INFO] [stderr] Downloaded unicode-width v0.1.13 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded ratatui v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 008a87ad6a551c0f4e0fdbaa96ff2ce58b813bb585971897e679bdfeb445f905 [INFO] running `Command { std: "docker" "start" "-a" "008a87ad6a551c0f4e0fdbaa96ff2ce58b813bb585971897e679bdfeb445f905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "008a87ad6a551c0f4e0fdbaa96ff2ce58b813bb585971897e679bdfeb445f905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008a87ad6a551c0f4e0fdbaa96ff2ce58b813bb585971897e679bdfeb445f905", kill_on_drop: false }` [INFO] [stdout] 008a87ad6a551c0f4e0fdbaa96ff2ce58b813bb585971897e679bdfeb445f905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7431db0229bae0f5e79144914e18639591afd1bc73687b556b6268a2d325e4b9 [INFO] running `Command { std: "docker" "start" "-a" "7431db0229bae0f5e79144914e18639591afd1bc73687b556b6268a2d325e4b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Checking ppv-lite86 v0.2.18 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ratatui v0.27.0 [INFO] [stderr] Checking fish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/shapes/fish.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | facing_right: if rand::thread_rng().gen_range(0.0..1.0) > 0.5 {true} else {false}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `rand::thread_rng().gen_range(0.0..1.0) > 0.5` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/shapes/fish.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | facing_right: if rand::thread_rng().gen_range(0.0..1.0) > 0.5 {true} else {false}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `rand::thread_rng().gen_range(0.0..1.0) > 0.5` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fish.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | return false; [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: remove `return` [INFO] [stdout] | [INFO] [stdout] 45 - return false; [INFO] [stdout] 45 + false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fish.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | return false; [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: remove `return` [INFO] [stdout] | [INFO] [stdout] 45 - return false; [INFO] [stdout] 45 + false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/shapes/fish.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | if !self.facing_right && !(self.y as i16 - self.size as i16 > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(self.y as i16 - self.size as i16 <= 0)` [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/shapes/fish.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | if !self.facing_right && !(self.y as i16 - self.size as i16 > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(self.y as i16 - self.size as i16 <= 0)` [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: unneeded `return` statement [INFO] [stdout] --> src/shapes/fish.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | return points; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 84 - return points; [INFO] [stdout] 84 + points [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fish.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | return points; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 84 - return points; [INFO] [stdout] 84 + points [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/shapes/fish.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | let rotation = if !self.facing_right {self.rotation*-1.0} else {self.rotation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: consider using: `-self.rotation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] = note: `#[warn(clippy::neg_multiply)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/shapes/fish.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | let rotation = if !self.facing_right {self.rotation*-1.0} else {self.rotation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: consider using: `-self.rotation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] = note: `#[warn(clippy::neg_multiply)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/shapes/fish.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | / match painter.get_point(point.0, point.1) { [INFO] [stdout] 116 | | Some((paint_x, paint_y)) => painter.paint(paint_x, paint_y, point.2), [INFO] [stdout] 117 | | None => () [INFO] [stdout] 118 | | } [INFO] [stdout] | |_____________^ help: try: `if let Some((paint_x, paint_y)) = painter.get_point(point.0, point.1) { painter.paint(paint_x, paint_y, point.2) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/shapes/fish.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | / match painter.get_point(point.0, point.1) { [INFO] [stdout] 116 | | Some((paint_x, paint_y)) => painter.paint(paint_x, paint_y, point.2), [INFO] [stdout] 117 | | None => () [INFO] [stdout] 118 | | } [INFO] [stdout] | |_____________^ help: try: `if let Some((paint_x, paint_y)) = painter.get_point(point.0, point.1) { painter.paint(paint_x, paint_y, point.2) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ... return self.hook_location.0 == Fisherman::get_base_hook_location(self.frame).0 && self.hook_location.1 == Fisherman::get_base_hook_location(self.frame).1; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 24 - return self.hook_location.0 == Fisherman::get_base_hook_location(self.frame).0 && self.hook_location.1 == Fisherman::get_base_hook_location(self.frame).1; [INFO] [stdout] 24 + self.hook_location.0 == Fisherman::get_base_hook_location(self.frame).0 && self.hook_location.1 == Fisherman::get_base_hook_location(self.frame).1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ... return self.hook_location.0 == Fisherman::get_base_hook_location(self.frame).0 && self.hook_location.1 == Fisherman::get_base_hook_location(self.frame).1; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 24 - return self.hook_location.0 == Fisherman::get_base_hook_location(self.frame).0 && self.hook_location.1 == Fisherman::get_base_hook_location(self.frame).1; [INFO] [stdout] 24 + self.hook_location.0 == Fisherman::get_base_hook_location(self.frame).0 && self.hook_location.1 == Fisherman::get_base_hook_location(self.frame).1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | return locations; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 57 - return locations; [INFO] [stdout] 57 + locations [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | return locations; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 70 - return locations; [INFO] [stdout] 70 + locations [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | return locations; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 57 - return locations; [INFO] [stdout] 57 + locations [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | return locations; [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 70 - return locations; [INFO] [stdout] 70 + locations [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | return f64::atan((self.hook_location.1 - rod_end.1)/(self.hook_location.0 - rod_end.0)); [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 80 - return f64::atan((self.hook_location.1 - rod_end.1)/(self.hook_location.0 - rod_end.0)); [INFO] [stdout] 80 + f64::atan((self.hook_location.1 - rod_end.1)/(self.hook_location.0 - rod_end.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/shapes/fisherman.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | return f64::atan((self.hook_location.1 - rod_end.1)/(self.hook_location.0 - rod_end.0)); [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] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 80 - return f64::atan((self.hook_location.1 - rod_end.1)/(self.hook_location.0 - rod_end.0)); [INFO] [stdout] 80 + f64::atan((self.hook_location.1 - rod_end.1)/(self.hook_location.0 - rod_end.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/shapes/fisherman.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new(frame: Rect, surface_level: f64, water_bottom: f64, pants_color: Color, rod_color: Color, shirt_color: Color, skin_color: Color, shoe_color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/shapes/fisherman.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn new(frame: Rect, surface_level: f64, water_bottom: f64, pants_color: Color, rod_color: Color, shirt_color: Color, skin_color: Color, shoe_color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `get_point_result` after checking its variant with `is_some` [INFO] [stdout] --> src/shapes/fisherman.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 218 | if get_point_result.is_some() { [INFO] [stdout] | ----------------------------- help: try: `if let Some() = get_point_result` [INFO] [stdout] 219 | let (line_x, line_y) = get_point_result.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | painter.paint(shoe_1_x.into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_x` [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: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | painter.paint(shoe_1_x.into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | painter.paint(shoe_1_x.into(), (shoe_1_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `get_point_result` after checking its variant with `is_some` [INFO] [stdout] --> src/shapes/fisherman.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 218 | if get_point_result.is_some() { [INFO] [stdout] | ----------------------------- help: try: `if let Some() = get_point_result` [INFO] [stdout] 219 | let (line_x, line_y) = get_point_result.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | painter.paint(shoe_1_x.into(), (shoe_1_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | painter.paint((shoe_1_x + 1).into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_x + 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | painter.paint(shoe_1_x.into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_x` [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: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | painter.paint((shoe_1_x + 1).into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | painter.paint(shoe_1_x.into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | painter.paint(shoe_2_x.into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | painter.paint(shoe_1_x.into(), (shoe_1_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | painter.paint(shoe_1_x.into(), (shoe_1_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | painter.paint(shoe_2_x.into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | painter.paint((shoe_1_x + 1).into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_x + 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | painter.paint(shoe_2_x.into(), (shoe_2_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | painter.paint(shoe_2_x.into(), (shoe_2_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | painter.paint((shoe_1_x + 1).into(), shoe_1_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_1_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | painter.paint((shoe_2_x + 1).into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_x + 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | painter.paint((shoe_2_x + 1).into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | painter.paint(shoe_1_x, (shoe_1_y - 2).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | painter.paint(shoe_1_x, (shoe_1_y - 3).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | painter.paint(shoe_2_x.into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | painter.paint(shoe_2_x.into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | painter.paint(shoe_1_x, (shoe_1_y - 4).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | painter.paint(shoe_2_x.into(), (shoe_2_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | painter.paint(shoe_2_x.into(), (shoe_2_y - 1).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | painter.paint((shoe_2_x + 1).into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_x + 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | painter.paint((shoe_2_x + 1).into(), shoe_2_y.into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `shoe_2_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | painter.paint(shoe_2_x, (shoe_2_y - 2).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | painter.paint(shoe_1_x, (shoe_1_y - 2).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | painter.paint(shoe_1_x, (shoe_1_y - 3).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | painter.paint(shoe_1_x, (shoe_1_y - 4).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | painter.paint(shoe_2_x, (shoe_2_y - 2).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | painter.paint(shoe_2_x, (shoe_2_y - 3).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | painter.paint(shoe_2_x, (shoe_2_y - 4).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | painter.paint(x, (shoe_1_y - 5).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 5)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | painter.paint(x, (shoe_1_y - 6).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 6)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | painter.paint(x, (shoe_1_y - 7).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 7)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | painter.paint(x, (shoe_1_y - 8).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | painter.paint(x, (shoe_1_y - 9).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 9)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | painter.paint(shoe_2_x, (shoe_2_y - 3).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | painter.paint(shoe_2_x, (shoe_2_y - 4).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_2_y - 4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | painter.paint(x, (shoe_1_y - 5).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 5)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | painter.paint(x, (shoe_1_y - 6).into(), self.pants_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 6)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | painter.paint(x, (shoe_1_y - 7).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 7)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | painter.paint(x, (shoe_1_y - 8).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | painter.paint(x, (shoe_1_y - 9).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 9)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | painter.paint(x, (shoe_1_y - 10).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 10)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | painter.paint(x, (shoe_1_y - 11).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 11)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | painter.paint(x, (shoe_1_y - 12).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 12)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | painter.paint(x, (shoe_1_y - 13).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 13)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | painter.paint(shoe_2_x, (shoe_1_y - 14).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 14)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | painter.paint(shoe_2_x + 1, (shoe_1_y - 14).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 14)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | painter.paint(shoe_2_x + 2, (shoe_1_y - 14).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 14)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | painter.paint(shoe_2_x, (shoe_1_y - 15).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 15)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | painter.paint(shoe_2_x + 1, (shoe_1_y - 15).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 15)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | painter.paint(shoe_2_x + 2, (shoe_1_y - 15).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 15)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | painter.paint(shoe_2_x, (shoe_1_y - 16).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | painter.paint(shoe_2_x + 1, (shoe_1_y - 16).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | painter.paint(shoe_2_x + 2, (shoe_1_y - 16).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:201:33 [INFO] [stdout] | [INFO] [stdout] 201 | painter.paint(shoe_2_x, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | painter.paint(x, (shoe_1_y - 10).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 10)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | painter.paint(x, (shoe_1_y - 11).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 11)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | painter.paint(x, (shoe_1_y - 12).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 12)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | painter.paint(x, (shoe_1_y - 13).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 13)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | painter.paint(shoe_2_x, (shoe_1_y - 14).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 14)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | painter.paint(shoe_2_x + 1, (shoe_1_y - 14).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 14)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 202 | painter.paint(shoe_2_x + 1, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | painter.paint(shoe_2_x + 2, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | painter.paint(shoe_2_x + 3, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 205 | painter.paint(shoe_2_x, (shoe_1_y - 18).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 18)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | painter.paint(shoe_2_x + 1, (shoe_1_y - 18).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 18)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | painter.paint(shoe_2_x + 2, (shoe_1_y - 18).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 18)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:209:37 [INFO] [stdout] | [INFO] [stdout] 209 | painter.paint(shoe_1_x + 1, (shoe_1_y - 12).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 12)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | painter.paint(shoe_1_x + 1, (shoe_1_y - 11).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 11)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | painter.paint(shoe_1_x + 2, (shoe_1_y - 10).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 10)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | painter.paint(shoe_1_x + 2, (shoe_1_y - 9).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 9)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | painter.paint(shoe_1_x + 3, (shoe_1_y - 8).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | painter.paint(shoe_1_x + 3, (shoe_1_y - 8).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | painter.paint(shoe_2_x + 2, (shoe_1_y - 14).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 14)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | painter.paint(shoe_2_x, (shoe_1_y - 15).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 15)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:196:37 [INFO] [stdout] | [INFO] [stdout] 196 | painter.paint(shoe_2_x + 1, (shoe_1_y - 15).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 15)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | painter.paint(shoe_2_x + 2, (shoe_1_y - 15).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 15)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | painter.paint(shoe_2_x, (shoe_1_y - 16).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | painter.paint(shoe_2_x + 1, (shoe_1_y - 16).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | painter.paint(shoe_2_x + 2, (shoe_1_y - 16).into(), self.skin_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:201:33 [INFO] [stdout] | [INFO] [stdout] 201 | painter.paint(shoe_2_x, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 202 | painter.paint(shoe_2_x + 1, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | painter.paint(shoe_2_x + 2, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | painter.paint(shoe_2_x + 3, (shoe_1_y - 17).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 17)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 205 | painter.paint(shoe_2_x, (shoe_1_y - 18).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 18)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | painter.paint(shoe_2_x + 1, (shoe_1_y - 18).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 18)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | painter.paint(shoe_2_x + 2, (shoe_1_y - 18).into(), self.shoe_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 18)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:209:37 [INFO] [stdout] | [INFO] [stdout] 209 | painter.paint(shoe_1_x + 1, (shoe_1_y - 12).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 12)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | painter.paint(shoe_1_x + 1, (shoe_1_y - 11).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 11)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | painter.paint(shoe_1_x + 2, (shoe_1_y - 10).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 10)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | painter.paint(shoe_1_x + 2, (shoe_1_y - 9).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 9)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | painter.paint(shoe_1_x + 3, (shoe_1_y - 8).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `usize` [INFO] [stdout] --> src/shapes/fisherman.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | painter.paint(shoe_1_x + 3, (shoe_1_y - 8).into(), self.shirt_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(shoe_1_y - 8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.09s [INFO] running `Command { std: "docker" "inspect" "7431db0229bae0f5e79144914e18639591afd1bc73687b556b6268a2d325e4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7431db0229bae0f5e79144914e18639591afd1bc73687b556b6268a2d325e4b9", kill_on_drop: false }` [INFO] [stdout] 7431db0229bae0f5e79144914e18639591afd1bc73687b556b6268a2d325e4b9