[INFO] updating cached repository y-usuzumi/mildflow [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/y-usuzumi/mildflow [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/y-usuzumi/mildflow" "work/ex/clippy-test-run/sources/stable/gh/y-usuzumi/mildflow"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/y-usuzumi/mildflow'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/y-usuzumi/mildflow" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/y-usuzumi/mildflow"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/y-usuzumi/mildflow'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cbed93c14f4ed424f372cc2fa2647457b04ef412 [INFO] sha for GitHub repo y-usuzumi/mildflow: cbed93c14f4ed424f372cc2fa2647457b04ef412 [INFO] validating manifest of y-usuzumi/mildflow 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 y-usuzumi/mildflow 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 y-usuzumi/mildflow [INFO] finished frobbing y-usuzumi/mildflow [INFO] frobbed toml for y-usuzumi/mildflow written to work/ex/clippy-test-run/sources/stable/gh/y-usuzumi/mildflow/Cargo.toml [INFO] started frobbing y-usuzumi/mildflow [INFO] finished frobbing y-usuzumi/mildflow [INFO] frobbed toml for y-usuzumi/mildflow written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/y-usuzumi/mildflow/Cargo.toml [INFO] crate y-usuzumi/mildflow 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 y-usuzumi/mildflow against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/y-usuzumi/mildflow:/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 -Dclippy::into_iter_on_array" "-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] 1cab5e3c8a9e368f3b87f90b95289e70fc96aa43d8abae59352342e2c4c7005b [INFO] running `"docker" "start" "-a" "1cab5e3c8a9e368f3b87f90b95289e70fc96aa43d8abae59352342e2c4c7005b"` [INFO] [stderr] Checking fixedbitset v0.1.8 [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Checking petgraph v0.4.11 [INFO] [stderr] Checking daggy v0.5.0 [INFO] [stderr] Checking mildflow v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/node.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | type_: type_, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `type_` [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/node.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | type_: type_, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `type_` [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: unneeded return statement [INFO] [stderr] --> src/node.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | / return Processor { [INFO] [stderr] 23 | | type_: type_, [INFO] [stderr] 24 | | outputs: Vec::new(), [INFO] [stderr] 25 | | process_func: pf [INFO] [stderr] 26 | | } [INFO] [stderr] | |_________^ [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] help: remove `return` as shown [INFO] [stderr] | [INFO] [stderr] 22 | Processor { [INFO] [stderr] 23 | type_: type_, [INFO] [stderr] 24 | outputs: Vec::new(), [INFO] [stderr] 25 | process_func: pf [INFO] [stderr] 26 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `processor3` [INFO] [stderr] --> src/lib.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | let processor3 = Processor::new(name.to_owned(), |a: Vec| a); [INFO] [stderr] | ^^^^^^^^^^ help: consider using `_processor3` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `type_` [INFO] [stderr] --> src/node.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | type_: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `process_func` [INFO] [stderr] --> src/node.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | process_func: ProcessFunc [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/node.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | / return Processor { [INFO] [stderr] 23 | | type_: type_, [INFO] [stderr] 24 | | outputs: Vec::new(), [INFO] [stderr] 25 | | process_func: pf [INFO] [stderr] 26 | | } [INFO] [stderr] | |_________^ [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] help: remove `return` as shown [INFO] [stderr] | [INFO] [stderr] 22 | Processor { [INFO] [stderr] 23 | type_: type_, [INFO] [stderr] 24 | outputs: Vec::new(), [INFO] [stderr] 25 | process_func: pf [INFO] [stderr] 26 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never used: `type_` [INFO] [stderr] --> src/node.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | type_: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `process_func` [INFO] [stderr] --> src/node.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | process_func: ProcessFunc [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `"docker" "inspect" "1cab5e3c8a9e368f3b87f90b95289e70fc96aa43d8abae59352342e2c4c7005b"` [INFO] running `"docker" "rm" "-f" "1cab5e3c8a9e368f3b87f90b95289e70fc96aa43d8abae59352342e2c4c7005b"` [INFO] [stdout] 1cab5e3c8a9e368f3b87f90b95289e70fc96aa43d8abae59352342e2c4c7005b