[INFO] updating cached repository mlieberman85/rust-hilbert-curve [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mlieberman85/rust-hilbert-curve [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mlieberman85/rust-hilbert-curve" "work/ex/clippy-test-run/sources/stable/gh/mlieberman85/rust-hilbert-curve"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/mlieberman85/rust-hilbert-curve'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mlieberman85/rust-hilbert-curve" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mlieberman85/rust-hilbert-curve"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mlieberman85/rust-hilbert-curve'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1d503440692783ab31b1e4f8003e1ed6166cfb9e [INFO] sha for GitHub repo mlieberman85/rust-hilbert-curve: 1d503440692783ab31b1e4f8003e1ed6166cfb9e [INFO] validating manifest of mlieberman85/rust-hilbert-curve 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 mlieberman85/rust-hilbert-curve 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 mlieberman85/rust-hilbert-curve [INFO] finished frobbing mlieberman85/rust-hilbert-curve [INFO] frobbed toml for mlieberman85/rust-hilbert-curve written to work/ex/clippy-test-run/sources/stable/gh/mlieberman85/rust-hilbert-curve/Cargo.toml [INFO] started frobbing mlieberman85/rust-hilbert-curve [INFO] finished frobbing mlieberman85/rust-hilbert-curve [INFO] frobbed toml for mlieberman85/rust-hilbert-curve written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mlieberman85/rust-hilbert-curve/Cargo.toml [INFO] crate mlieberman85/rust-hilbert-curve 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 mlieberman85/rust-hilbert-curve against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/mlieberman85/rust-hilbert-curve:/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] 21307e75ca2b0ef4b63f81a39772f895c8b35a0571292b4c1e3100fbbd6db4d3 [INFO] running `"docker" "start" "-a" "21307e75ca2b0ef4b63f81a39772f895c8b35a0571292b4c1e3100fbbd6db4d3"` [INFO] [stderr] Compiling serde v0.9.7 [INFO] [stderr] Checking deflate v0.7.4 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Checking num-rational v0.1.35 [INFO] [stderr] Checking pistoncore-input v0.17.1 [INFO] [stderr] Checking gfx_core v0.6.0 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Checking png v0.6.2 [INFO] [stderr] Compiling gl v0.6.1 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Checking pistoncore-window v0.26.2 [INFO] [stderr] Checking image v0.12.3 [INFO] [stderr] Checking pistoncore-event_loop v0.31.3 [INFO] [stderr] Checking piston v0.31.3 [INFO] [stderr] Compiling serde_json v0.9.6 [INFO] [stderr] Compiling libloading v0.3.2 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.8 [INFO] [stderr] Checking wayland-client v0.7.8 [INFO] [stderr] Checking wayland-window v0.4.4 [INFO] [stderr] Checking wayland-kbd v0.6.3 [INFO] [stderr] Checking winit v0.5.11 [INFO] [stderr] Checking gfx v0.14.0 [INFO] [stderr] Checking gfx_device_gl v0.13.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.35.0 [INFO] [stderr] Checking piston-gfx_texture v0.22.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.38.0 [INFO] [stderr] Checking piston_window v0.64.0 [INFO] [stderr] Checking hilbert v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:18:49 [INFO] [stderr] | [INFO] [stderr] 18 | coordinate_vector.push(Coordinate { x: x, y: y }); [INFO] [stderr] | ^^^^ help: replace it with: `x` [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/main.rs:18:55 [INFO] [stderr] | [INFO] [stderr] 18 | coordinate_vector.push(Coordinate { 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/main.rs:18:49 [INFO] [stderr] | [INFO] [stderr] 18 | coordinate_vector.push(Coordinate { x: x, y: y }); [INFO] [stderr] | ^^^^ help: replace it with: `x` [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/main.rs:18:55 [INFO] [stderr] | [INFO] [stderr] 18 | coordinate_vector.push(Coordinate { 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: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/main.rs:55:44 [INFO] [stderr] | [INFO] [stderr] 55 | fn create_hilbert_curve(coordinate_vector: &Vec) -> Vec<[f64; 4]> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: change this to: `&[Coordinate]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/main.rs:55:44 [INFO] [stderr] | [INFO] [stderr] 55 | fn create_hilbert_curve(coordinate_vector: &Vec) -> Vec<[f64; 4]> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: change this to: `&[Coordinate]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `"docker" "inspect" "21307e75ca2b0ef4b63f81a39772f895c8b35a0571292b4c1e3100fbbd6db4d3"` [INFO] running `"docker" "rm" "-f" "21307e75ca2b0ef4b63f81a39772f895c8b35a0571292b4c1e3100fbbd6db4d3"` [INFO] [stdout] 21307e75ca2b0ef4b63f81a39772f895c8b35a0571292b4c1e3100fbbd6db4d3