[INFO] updating cached repository Trangar/mayjun_2017 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Trangar/mayjun_2017 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Trangar/mayjun_2017" "work/ex/clippy-test-run/sources/stable/gh/Trangar/mayjun_2017"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Trangar/mayjun_2017'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Trangar/mayjun_2017" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Trangar/mayjun_2017"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Trangar/mayjun_2017'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 63c70c759af801f3985dec488bc64902b1eeb456 [INFO] sha for GitHub repo Trangar/mayjun_2017: 63c70c759af801f3985dec488bc64902b1eeb456 [INFO] validating manifest of Trangar/mayjun_2017 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Trangar/mayjun_2017 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Trangar/mayjun_2017 [INFO] finished frobbing Trangar/mayjun_2017 [INFO] frobbed toml for Trangar/mayjun_2017 written to work/ex/clippy-test-run/sources/stable/gh/Trangar/mayjun_2017/Cargo.toml [INFO] started frobbing Trangar/mayjun_2017 [INFO] finished frobbing Trangar/mayjun_2017 [INFO] frobbed toml for Trangar/mayjun_2017 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Trangar/mayjun_2017/Cargo.toml [INFO] crate Trangar/mayjun_2017 has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting Trangar/mayjun_2017 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/Trangar/mayjun_2017:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f71ad926f90b5e4482ff4e20a935648d5ff51910e19413de16c2d7d788ba4c95 [INFO] running `"docker" "start" "-a" "f71ad926f90b5e4482ff4e20a935648d5ff51910e19413de16c2d7d788ba4c95"` [INFO] [stderr] Checking deflate v0.7.6 [INFO] [stderr] Checking rayon-core v1.0.0 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Checking libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking rayon v0.7.0 [INFO] [stderr] Checking wayland-sys v0.7.8 [INFO] [stderr] Checking png v0.6.2 [INFO] [stderr] Checking wayland-client v0.7.8 [INFO] [stderr] Checking jpeg-decoder v0.1.12 [INFO] [stderr] Checking wayland-kbd v0.6.3 [INFO] [stderr] Checking wayland-window v0.4.4 [INFO] [stderr] Checking image v0.12.3 [INFO] [stderr] Checking winit v0.5.11 [INFO] [stderr] Checking glutin v0.7.4 [INFO] [stderr] Checking glium v0.16.0 [INFO] [stderr] Checking glium_text v0.11.0 [INFO] [stderr] Checking rust_card_game v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/card_wrapper.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | card: card, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `card` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/gamestate/mod.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | player: player, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `player` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/gamestate/mod.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | opponent: opponent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `opponent` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/gamestate/mod.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | area: area, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `area` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/point.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | Point { x: x, y: y } [INFO] [stderr] | ^^^^ help: replace it with: `x` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/point.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | Point { x: x, y: y } [INFO] [stderr] | ^^^^ help: replace it with: `y` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/card_wrapper.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | card: card, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `card` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/gamestate/mod.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | player: player, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `player` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/gamestate/mod.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | opponent: opponent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `opponent` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/gamestate/mod.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | area: area, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `area` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/point.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | Point { x: x, y: y } [INFO] [stderr] | ^^^^ help: replace it with: `x` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/point.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | Point { x: x, y: y } [INFO] [stderr] | ^^^^ help: replace it with: `y` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/card_wrapper.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn contains(&self, p: &Point) -> bool { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/card_wrapper.rs:69:50 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn drag_start(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/card_wrapper.rs:79:51 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn mouse_moved(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:43:46 [INFO] [stderr] | [INFO] [stderr] 43 | screen_size: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:112:56 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn update_card_origins(&mut self, screen_size: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:125:54 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn mouse_moved_to(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:137:58 [INFO] [stderr] | [INFO] [stderr] 137 | fn get_card_drag_result(wrapper: &CardWrapper, area: &AreaReference) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider passing by value instead: `AreaReference` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:151:56 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn mouse_pressed_at(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:198:42 [INFO] [stderr] | [INFO] [stderr] 198 | fn get_area_from_point(&self, point: &Point, screen_size: &Point) -> Option { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:198:63 [INFO] [stderr] | [INFO] [stderr] 198 | fn get_area_from_point(&self, point: &Point, screen_size: &Point) -> Option { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:243:51 [INFO] [stderr] | [INFO] [stderr] 243 | pub fn mouse_released(&mut self, screen_size: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn between(&self, min: &Point, max: &Point) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn between(&self, min: &Point, max: &Point) -> bool { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:18:45 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn between(&self, min: &Point, max: &Point) -> bool { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn to_slice(&self) -> [f32; 2] { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/card_wrapper.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn contains(&self, p: &Point) -> bool { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/card_wrapper.rs:69:50 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn drag_start(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/card_wrapper.rs:79:51 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn mouse_moved(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:43:46 [INFO] [stderr] | [INFO] [stderr] 43 | screen_size: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:112:56 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn update_card_origins(&mut self, screen_size: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:125:54 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn mouse_moved_to(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:137:58 [INFO] [stderr] | [INFO] [stderr] 137 | fn get_card_drag_result(wrapper: &CardWrapper, area: &AreaReference) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider passing by value instead: `AreaReference` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:151:56 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn mouse_pressed_at(&mut self, mouse_position: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:198:42 [INFO] [stderr] | [INFO] [stderr] 198 | fn get_area_from_point(&self, point: &Point, screen_size: &Point) -> Option { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:198:63 [INFO] [stderr] | [INFO] [stderr] 198 | fn get_area_from_point(&self, point: &Point, screen_size: &Point) -> Option { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/gamestate/mod.rs:243:51 [INFO] [stderr] | [INFO] [stderr] 243 | pub fn mouse_released(&mut self, screen_size: &Point) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn between(&self, min: &Point, max: &Point) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn between(&self, min: &Point, max: &Point) -> bool { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:18:45 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn between(&self, min: &Point, max: &Point) -> bool { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Point` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/point.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn to_slice(&self) -> [f32; 2] { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.30s [INFO] running `"docker" "inspect" "f71ad926f90b5e4482ff4e20a935648d5ff51910e19413de16c2d7d788ba4c95"` [INFO] running `"docker" "rm" "-f" "f71ad926f90b5e4482ff4e20a935648d5ff51910e19413de16c2d7d788ba4c95"` [INFO] [stdout] f71ad926f90b5e4482ff4e20a935648d5ff51910e19413de16c2d7d788ba4c95