[INFO] crate lyon_svg 0.11.0 is already in cache [INFO] extracting crate lyon_svg 0.11.0 into work/ex/clippy-test-run/sources/stable/reg/lyon_svg/0.11.0 [INFO] extracting crate lyon_svg 0.11.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/lyon_svg/0.11.0 [INFO] validating manifest of lyon_svg-0.11.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 lyon_svg-0.11.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 lyon_svg-0.11.0 [INFO] finished frobbing lyon_svg-0.11.0 [INFO] frobbed toml for lyon_svg-0.11.0 written to work/ex/clippy-test-run/sources/stable/reg/lyon_svg/0.11.0/Cargo.toml [INFO] started frobbing lyon_svg-0.11.0 [INFO] finished frobbing lyon_svg-0.11.0 [INFO] frobbed toml for lyon_svg-0.11.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/lyon_svg/0.11.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 lyon_svg-0.11.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/lyon_svg/0.11.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] 033cc3956266d94473c4983517c183f7eb6ae298ac8a8f4f4b013f5977f9ee5f [INFO] running `"docker" "start" "-a" "033cc3956266d94473c4983517c183f7eb6ae298ac8a8f4f4b013f5977f9ee5f"` [INFO] [stderr] Checking xmlparser v0.1.2 [INFO] [stderr] Checking euclid v0.18.2 [INFO] [stderr] Checking svgparser v0.6.4 [INFO] [stderr] Checking lyon_geom v0.11.1 [INFO] [stderr] Checking lyon_path v0.11.0 [INFO] [stderr] Checking lyon_svg v0.11.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/path_utils.rs:141:32 [INFO] [stderr] | [INFO] [stderr] 141 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `large_arc` [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/path_utils.rs:141:54 [INFO] [stderr] | [INFO] [stderr] 141 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `sweep` [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/path_utils.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `large_arc` [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/path_utils.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `sweep` [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/path_utils.rs:141:32 [INFO] [stderr] | [INFO] [stderr] 141 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `large_arc` [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/path_utils.rs:141:54 [INFO] [stderr] | [INFO] [stderr] 141 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `sweep` [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/path_utils.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `large_arc` [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/path_utils.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | ArcFlags { large_arc: large_arc, sweep: sweep }, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `sweep` [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: you should consider adding a `Default` implementation for `path_utils::PathSerializer` [INFO] [stderr] --> src/path_utils.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | / pub fn new() -> Self { [INFO] [stderr] 170 | | PathSerializer { [INFO] [stderr] 171 | | path: String::new(), [INFO] [stderr] 172 | | current: point(0.0, 0.0), [INFO] [stderr] 173 | | } [INFO] [stderr] 174 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 168 | impl Default for path_utils::PathSerializer { [INFO] [stderr] 169 | fn default() -> Self { [INFO] [stderr] 170 | Self::new() [INFO] [stderr] 171 | } [INFO] [stderr] 172 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider adding a `Default` implementation for `path_utils::PathSerializer` [INFO] [stderr] --> src/path_utils.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | / pub fn new() -> Self { [INFO] [stderr] 170 | | PathSerializer { [INFO] [stderr] 171 | | path: String::new(), [INFO] [stderr] 172 | | current: point(0.0, 0.0), [INFO] [stderr] 173 | | } [INFO] [stderr] 174 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 168 | impl Default for path_utils::PathSerializer { [INFO] [stderr] 169 | fn default() -> Self { [INFO] [stderr] 170 | Self::new() [INFO] [stderr] 171 | } [INFO] [stderr] 172 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `"docker" "inspect" "033cc3956266d94473c4983517c183f7eb6ae298ac8a8f4f4b013f5977f9ee5f"` [INFO] running `"docker" "rm" "-f" "033cc3956266d94473c4983517c183f7eb6ae298ac8a8f4f4b013f5977f9ee5f"` [INFO] [stdout] 033cc3956266d94473c4983517c183f7eb6ae298ac8a8f4f4b013f5977f9ee5f