[INFO] updating cached repository cgibson/flux [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cgibson/flux [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cgibson/flux" "work/ex/clippy-test-run/sources/stable/gh/cgibson/flux"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/cgibson/flux'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cgibson/flux" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/cgibson/flux"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/cgibson/flux'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b9b82e67d0f72f958c56f4677e99a2554535595f [INFO] sha for GitHub repo cgibson/flux: b9b82e67d0f72f958c56f4677e99a2554535595f [INFO] validating manifest of cgibson/flux 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 cgibson/flux 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 cgibson/flux [INFO] finished frobbing cgibson/flux [INFO] frobbed toml for cgibson/flux written to work/ex/clippy-test-run/sources/stable/gh/cgibson/flux/Cargo.toml [INFO] started frobbing cgibson/flux [INFO] finished frobbing cgibson/flux [INFO] frobbed toml for cgibson/flux written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/cgibson/flux/Cargo.toml [INFO] crate cgibson/flux 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 cgibson/flux against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/cgibson/flux:/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] e0122c4cf6f9f28133f23d174affa7c5da99a616d10c25b9626cf8360e548ca6 [INFO] running `"docker" "start" "-a" "e0122c4cf6f9f28133f23d174affa7c5da99a616d10c25b9626cf8360e548ca6"` [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num-complex v0.2.0 [INFO] [stderr] Checking generic-array v0.2.1 [INFO] [stderr] Checking nalgebra v0.11.2 [INFO] [stderr] Checking alga v0.7.2 [INFO] [stderr] Checking nalgebra v0.16.4 [INFO] [stderr] Checking nalgebra-glm v0.1.1 [INFO] [stderr] Checking flux v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/geometry/shape.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `p` [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/geometry/shape.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `t` [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/geometry/shape.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `n` [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/geometry/sphere.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [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/geometry/sphere.rs:14:42 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `radius` [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/util/math.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `origin` [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/util/math.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `direction` [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/util/color.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `r` [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/util/color.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `g` [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/util/color.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/renderers/simple_renderer.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | SimpleRenderer {scene: scene, camera: camera} [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `scene` [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/renderers/simple_renderer.rs:12:39 [INFO] [stderr] | [INFO] [stderr] 12 | SimpleRenderer {scene: scene, camera: camera} [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `camera` [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/scene/camera.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | Camera {position: position} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [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/geometry/shape.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `p` [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/geometry/shape.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `t` [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/geometry/shape.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `n` [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/geometry/sphere.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [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/geometry/sphere.rs:14:42 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `radius` [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/util/math.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `origin` [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/util/math.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `direction` [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/util/color.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `r` [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/util/color.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `g` [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/util/color.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/renderers/simple_renderer.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | SimpleRenderer {scene: scene, camera: camera} [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `scene` [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/renderers/simple_renderer.rs:12:39 [INFO] [stderr] | [INFO] [stderr] 12 | SimpleRenderer {scene: scene, camera: camera} [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `camera` [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/scene/camera.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | Camera {position: position} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [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: unneeded return statement [INFO] [stderr] --> src/samplers/ray_sampler.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | return rays; [INFO] [stderr] | ^^^^^^^^^^^^ help: remove `return` as shown: `rays` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unused import: `util::math::Ray` [INFO] [stderr] --> src/scene/camera.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use util::math::Ray; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: module has the same name as its containing module [INFO] [stderr] --> src/scene/mod.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod scene; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::module_inception)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/samplers/ray_sampler.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | return rays; [INFO] [stderr] | ^^^^^^^^^^^^ help: remove `return` as shown: `rays` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unused import: `util::math::Ray` [INFO] [stderr] --> src/scene/camera.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use util::math::Ray; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: module has the same name as its containing module [INFO] [stderr] --> src/scene/mod.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod scene; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::module_inception)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `SimpleSampler` [INFO] [stderr] --> src/samplers/ray_sampler.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | struct SimpleSampler { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `SimpleRenderer` [INFO] [stderr] --> src/renderers/simple_renderer.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | struct SimpleRenderer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/renderers/simple_renderer.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | fn new(scene: Scene, camera: Camera) -> SimpleRenderer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/samplers/ray_sampler.rs:34:41 [INFO] [stderr] | [INFO] [stderr] 34 | let offset = DVec3::new(x as f64, y as f64, 0.0); [INFO] [stderr] | ^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] warning: struct is never constructed: `SimpleSampler` [INFO] [stderr] --> src/samplers/ray_sampler.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | struct SimpleSampler { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `SimpleRenderer` [INFO] [stderr] --> src/renderers/simple_renderer.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | struct SimpleRenderer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/renderers/simple_renderer.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | fn new(scene: Scene, camera: Camera) -> SimpleRenderer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/samplers/ray_sampler.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | let offset = DVec3::new(x as f64, y as f64, 0.0); [INFO] [stderr] | ^^^^^^^^ help: try: `f64::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/samplers/ray_sampler.rs:34:41 [INFO] [stderr] | [INFO] [stderr] 34 | let offset = DVec3::new(x as f64, y as f64, 0.0); [INFO] [stderr] | ^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/samplers/ray_sampler.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | let offset = DVec3::new(x as f64, y as f64, 0.0); [INFO] [stderr] | ^^^^^^^^ help: try: `f64::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/geometry/shape.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `p` [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/geometry/shape.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `t` [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/geometry/shape.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `n` [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/geometry/sphere.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [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/geometry/sphere.rs:14:42 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `radius` [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/util/math.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `origin` [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/util/math.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `direction` [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/util/color.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `r` [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/util/color.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `g` [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/util/color.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/geometry/shape.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `p` [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/geometry/shape.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `t` [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/geometry/shape.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | Hit { p: p, t: t, n: n } [INFO] [stderr] | ^^^^ help: replace it with: `n` [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/geometry/sphere.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [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/geometry/sphere.rs:14:42 [INFO] [stderr] | [INFO] [stderr] 14 | SphereShape {position: position, radius: radius} [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `radius` [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/util/math.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `origin` [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/util/math.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | Ray { origin: origin, direction: direction } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `direction` [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/util/color.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `r` [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/util/color.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `g` [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/util/color.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | RGB {r: r, g: g, b: b} [INFO] [stderr] | ^^^^ help: replace it with: `b` [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] Finished dev [unoptimized + debuginfo] target(s) in 47.64s [INFO] running `"docker" "inspect" "e0122c4cf6f9f28133f23d174affa7c5da99a616d10c25b9626cf8360e548ca6"` [INFO] running `"docker" "rm" "-f" "e0122c4cf6f9f28133f23d174affa7c5da99a616d10c25b9626cf8360e548ca6"` [INFO] [stdout] e0122c4cf6f9f28133f23d174affa7c5da99a616d10c25b9626cf8360e548ca6