[INFO] crate zicsv-tool 0.1.0 is already in cache [INFO] extracting crate zicsv-tool 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/zicsv-tool/0.1.0 [INFO] extracting crate zicsv-tool 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/zicsv-tool/0.1.0 [INFO] validating manifest of zicsv-tool-0.1.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 zicsv-tool-0.1.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 zicsv-tool-0.1.0 [INFO] finished frobbing zicsv-tool-0.1.0 [INFO] frobbed toml for zicsv-tool-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/zicsv-tool/0.1.0/Cargo.toml [INFO] started frobbing zicsv-tool-0.1.0 [INFO] finished frobbing zicsv-tool-0.1.0 [INFO] frobbed toml for zicsv-tool-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/zicsv-tool/0.1.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 zicsv-tool-0.1.0 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/reg/zicsv-tool/0.1.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] 161258d04bbb3d9bf7dfcac625b31d16dd5ee503545f293d6c889d622d2f08bc [INFO] running `"docker" "start" "-a" "161258d04bbb3d9bf7dfcac625b31d16dd5ee503545f293d6c889d622d2f08bc"` [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking ipnet v1.2.1 [INFO] [stderr] Checking tokio-sync v0.1.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking serde_json v1.0.37 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking error-chain v0.1.12 [INFO] [stderr] Checking tokio-io v0.1.11 [INFO] [stderr] Checking tokio-threadpool v0.1.11 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-reactor v0.1.8 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking tokio-fs v0.1.5 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.15 [INFO] [stderr] Checking zicsv v0.1.0 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking trust-dns-proto v0.3.3 [INFO] [stderr] Checking trust-dns-resolver v0.8.2 [INFO] [stderr] Checking zicsv-tool v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `empty_line_after_outer_attr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", warn(empty_line_after_outer_attr))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::empty_line_after_outer_attr` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `filter_map` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:4:44 [INFO] [stderr] | [INFO] [stderr] 4 | #![cfg_attr(feature = "cargo-clippy", warn(filter_map))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::filter_map` [INFO] [stderr] [INFO] [stderr] warning: lint name `if_not_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | #![cfg_attr(feature = "cargo-clippy", warn(if_not_else))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::if_not_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_mut` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:6:44 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature = "cargo-clippy", warn(mut_mut))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::mut_mut` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:7:44 [INFO] [stderr] | [INFO] [stderr] 7 | #![cfg_attr(feature = "cargo-clippy", warn(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] warning: lint name `empty_line_after_outer_attr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", warn(empty_line_after_outer_attr))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::empty_line_after_outer_attr` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `filter_map` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:4:44 [INFO] [stderr] | [INFO] [stderr] 4 | #![cfg_attr(feature = "cargo-clippy", warn(filter_map))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::filter_map` [INFO] [stderr] [INFO] [stderr] warning: lint name `if_not_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | #![cfg_attr(feature = "cargo-clippy", warn(if_not_else))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::if_not_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_mut` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:6:44 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature = "cargo-clippy", warn(mut_mut))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::mut_mut` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:7:44 [INFO] [stderr] | [INFO] [stderr] 7 | #![cfg_attr(feature = "cargo-clippy", warn(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:8:44 [INFO] [stderr] | [INFO] [stderr] 8 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:9:44 [INFO] [stderr] | [INFO] [stderr] 9 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `single_match_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:10:44 [INFO] [stderr] | [INFO] [stderr] 10 | #![cfg_attr(feature = "cargo-clippy", warn(single_match_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::single_match_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `wrong_pub_self_convention` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:11:44 [INFO] [stderr] | [INFO] [stderr] 11 | #![cfg_attr(feature = "cargo-clippy", warn(wrong_pub_self_convention))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_pub_self_convention` [INFO] [stderr] [INFO] [stderr] warning: lint name `use_self` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:12:44 [INFO] [stderr] | [INFO] [stderr] 12 | #![cfg_attr(feature = "cargo-clippy", warn(use_self))] [INFO] [stderr] | ^^^^^^^^ help: change it to: `clippy::use_self` [INFO] [stderr] [INFO] [stderr] warning: lint name `used_underscore_binding` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:13:44 [INFO] [stderr] | [INFO] [stderr] 13 | #![cfg_attr(feature = "cargo-clippy", warn(used_underscore_binding))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::used_underscore_binding` [INFO] [stderr] [INFO] [stderr] warning: lint name `else_if_without_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | #![cfg_attr(feature = "cargo-clippy", warn(else_if_without_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::else_if_without_else` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:8:44 [INFO] [stderr] | [INFO] [stderr] 8 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:9:44 [INFO] [stderr] | [INFO] [stderr] 9 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `single_match_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:10:44 [INFO] [stderr] | [INFO] [stderr] 10 | #![cfg_attr(feature = "cargo-clippy", warn(single_match_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::single_match_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `wrong_pub_self_convention` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:11:44 [INFO] [stderr] | [INFO] [stderr] 11 | #![cfg_attr(feature = "cargo-clippy", warn(wrong_pub_self_convention))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_pub_self_convention` [INFO] [stderr] [INFO] [stderr] warning: lint name `use_self` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:12:44 [INFO] [stderr] | [INFO] [stderr] 12 | #![cfg_attr(feature = "cargo-clippy", warn(use_self))] [INFO] [stderr] | ^^^^^^^^ help: change it to: `clippy::use_self` [INFO] [stderr] [INFO] [stderr] warning: lint name `used_underscore_binding` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:13:44 [INFO] [stderr] | [INFO] [stderr] 13 | #![cfg_attr(feature = "cargo-clippy", warn(used_underscore_binding))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::used_underscore_binding` [INFO] [stderr] [INFO] [stderr] warning: lint name `else_if_without_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | #![cfg_attr(feature = "cargo-clippy", warn(else_if_without_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::else_if_without_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `empty_line_after_outer_attr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", warn(empty_line_after_outer_attr))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::empty_line_after_outer_attr` [INFO] [stderr] [INFO] [stderr] warning: lint name `empty_line_after_outer_attr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", warn(empty_line_after_outer_attr))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::empty_line_after_outer_attr` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::Error::causes': please use the 'iter_chain()' method instead [INFO] [stderr] --> src/print_err.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | for cause in error.causes() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::Error::causes': please use the 'iter_chain()' method instead [INFO] [stderr] --> src/print_err.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | for cause in error.causes() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/search.rs:421:10 [INFO] [stderr] | [INFO] [stderr] 421 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/search.rs:421:10 [INFO] [stderr] | [INFO] [stderr] 421 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 32 [INFO] [stderr] --> src/search.rs:616:5 [INFO] [stderr] | [INFO] [stderr] 616 | / fn addr_match() { [INFO] [stderr] 617 | | assert_eq!( [INFO] [stderr] 618 | | super::addr_match(&"4.3.2.1".parse().unwrap(), &"1.2.3.4".parse().unwrap()), [INFO] [stderr] 619 | | None, [INFO] [stderr] ... | [INFO] [stderr] 768 | | ); [INFO] [stderr] 769 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `"docker" "inspect" "161258d04bbb3d9bf7dfcac625b31d16dd5ee503545f293d6c889d622d2f08bc"` [INFO] running `"docker" "rm" "-f" "161258d04bbb3d9bf7dfcac625b31d16dd5ee503545f293d6c889d622d2f08bc"` [INFO] [stdout] 161258d04bbb3d9bf7dfcac625b31d16dd5ee503545f293d6c889d622d2f08bc