[INFO] crate passpartout_printer 1.0.0 is already in cache [INFO] extracting crate passpartout_printer 1.0.0 into work/ex/clippy-test-run/sources/stable/reg/passpartout_printer/1.0.0 [INFO] extracting crate passpartout_printer 1.0.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/passpartout_printer/1.0.0 [INFO] validating manifest of passpartout_printer-1.0.0 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 passpartout_printer-1.0.0 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 passpartout_printer-1.0.0 [INFO] finished frobbing passpartout_printer-1.0.0 [INFO] frobbed toml for passpartout_printer-1.0.0 written to work/ex/clippy-test-run/sources/stable/reg/passpartout_printer/1.0.0/Cargo.toml [INFO] started frobbing passpartout_printer-1.0.0 [INFO] finished frobbing passpartout_printer-1.0.0 [INFO] frobbed toml for passpartout_printer-1.0.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/passpartout_printer/1.0.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 passpartout_printer-1.0.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/passpartout_printer/1.0.0:/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] 6dd83a133f6394b2a00d93eb8ddc98462eac665810ac3ed8286bef51c3b3f396 [INFO] running `"docker" "start" "-a" "6dd83a133f6394b2a00d93eb8ddc98462eac665810ac3ed8286bef51c3b3f396"` [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling device_query v0.1.0 [INFO] [stderr] Compiling enigo v0.0.11 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking passpartout_printer v1.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/easel.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | mouse: mouse, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `mouse` [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/easel.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | mouse_wait: mouse_wait, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `mouse_wait` [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/easel.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | easel_coords: easel_coords, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `easel_coords` [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/easel.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | orientation: orientation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `orientation` [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/image_drawer.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | easel: easel, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `easel` [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/image_drawer.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | current_color: current_color, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `current_color` [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/image_drawer.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | easel_size: easel_size, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `easel_size` [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/image_drawer.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | image_size: image_size, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `image_size` [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/image_drawer.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | current_pos: current_pos, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `current_pos` [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/image_drawer.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | offset: offset, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `offset` [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/colors.rs:98:16 [INFO] [stderr] | [INFO] [stderr] 98 | Rgba { data: data } [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `data` [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/manual_config.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | paintbrush: paintbrush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `paintbrush` [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/manual_config.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | spray_can: spray_can, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `spray_can` [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/manual_config.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | pen: pen, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `pen` [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/manual_config.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | decrease_brush: decrease_brush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `decrease_brush` [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/manual_config.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | increase_brush: increase_brush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `increase_brush` [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/manual_config.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | color_start: color_start, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `color_start` [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/manual_config.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | color_row_step: color_row_step, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `color_row_step` [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/manual_config.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | color_col_step: color_col_step, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `color_col_step` [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/coords.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | Coord { 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/coords.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | Coord { 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/easel.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | mouse: mouse, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `mouse` [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/easel.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | mouse_wait: mouse_wait, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `mouse_wait` [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/easel.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | easel_coords: easel_coords, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `easel_coords` [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/easel.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | orientation: orientation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `orientation` [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/image_drawer.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | easel: easel, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `easel` [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/image_drawer.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | current_color: current_color, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `current_color` [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/image_drawer.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | easel_size: easel_size, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `easel_size` [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/image_drawer.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | image_size: image_size, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `image_size` [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/image_drawer.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | current_pos: current_pos, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `current_pos` [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/image_drawer.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | offset: offset, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `offset` [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/colors.rs:98:16 [INFO] [stderr] | [INFO] [stderr] 98 | Rgba { data: data } [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `data` [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/manual_config.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | paintbrush: paintbrush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `paintbrush` [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/manual_config.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | spray_can: spray_can, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `spray_can` [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/manual_config.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | pen: pen, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `pen` [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/manual_config.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | decrease_brush: decrease_brush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `decrease_brush` [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/manual_config.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | increase_brush: increase_brush, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `increase_brush` [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/manual_config.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | color_start: color_start, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `color_start` [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/manual_config.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | color_row_step: color_row_step, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `color_row_step` [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/manual_config.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | color_col_step: color_col_step, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `color_col_step` [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/coords.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | Coord { 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/coords.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | Coord { 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/easel.rs:167:41 [INFO] [stderr] | [INFO] [stderr] 167 | fn move_and_click(&mut self, coord: &Coord) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Coord` [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/easel.rs:204:43 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn change_color(&mut self, color: &PaletteColor) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/easel.rs:288:16 [INFO] [stderr] | [INFO] [stderr] 288 | color: &PaletteColor, [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/easel.rs:307:16 [INFO] [stderr] | [INFO] [stderr] 307 | color: &PaletteColor, [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/easel.rs:361:16 [INFO] [stderr] | [INFO] [stderr] 361 | color: &PaletteColor, [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/easel.rs:167:41 [INFO] [stderr] | [INFO] [stderr] 167 | fn move_and_click(&mut self, coord: &Coord) { [INFO] [stderr] | ^^^^^^ help: consider passing by value instead: `Coord` [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/easel.rs:204:43 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn change_color(&mut self, color: &PaletteColor) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/easel.rs:288:16 [INFO] [stderr] | [INFO] [stderr] 288 | color: &PaletteColor, [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/easel.rs:307:16 [INFO] [stderr] | [INFO] [stderr] 307 | color: &PaletteColor, [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/easel.rs:361:16 [INFO] [stderr] | [INFO] [stderr] 361 | color: &PaletteColor, [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider passing by value instead: `PaletteColor` [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/colors.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn get_row_col(&self) -> Coord { [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/colors.rs:71:21 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn get_rgba(&self) -> Rgba { [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/colors.rs:133:40 [INFO] [stderr] | [INFO] [stderr] 133 | fn get_closest_color(&self, color: &Rgba) -> (usize, Rgba) { [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `Rgba` [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/colors.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn get_row_col(&self) -> Coord { [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/colors.rs:71:21 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn get_rgba(&self) -> Rgba { [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/colors.rs:133:40 [INFO] [stderr] | [INFO] [stderr] 133 | fn get_closest_color(&self, color: &Rgba) -> (usize, Rgba) { [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `Rgba` [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 18.53s [INFO] running `"docker" "inspect" "6dd83a133f6394b2a00d93eb8ddc98462eac665810ac3ed8286bef51c3b3f396"` [INFO] running `"docker" "rm" "-f" "6dd83a133f6394b2a00d93eb8ddc98462eac665810ac3ed8286bef51c3b3f396"` [INFO] [stdout] 6dd83a133f6394b2a00d93eb8ddc98462eac665810ac3ed8286bef51c3b3f396