[INFO] crate erl_parse 0.0.7 is already in cache [INFO] extracting crate erl_parse 0.0.7 into work/ex/clippy-test-run/sources/stable/reg/erl_parse/0.0.7 [INFO] extracting crate erl_parse 0.0.7 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/erl_parse/0.0.7 [INFO] validating manifest of erl_parse-0.0.7 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 erl_parse-0.0.7 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 erl_parse-0.0.7 [INFO] finished frobbing erl_parse-0.0.7 [INFO] frobbed toml for erl_parse-0.0.7 written to work/ex/clippy-test-run/sources/stable/reg/erl_parse/0.0.7/Cargo.toml [INFO] started frobbing erl_parse-0.0.7 [INFO] finished frobbing erl_parse-0.0.7 [INFO] frobbed toml for erl_parse-0.0.7 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/erl_parse/0.0.7/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 erl_parse-0.0.7 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/erl_parse/0.0.7:/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] 5141766dda7388ac9934f8323e73c20f46ba66c436126e21b3694a727f0443d1 [INFO] running `"docker" "start" "-a" "5141766dda7388ac9934f8323e73c20f46ba66c436126e21b3694a727f0443d1"` [INFO] [stderr] Checking erl_tokenize v0.3.7 [INFO] [stderr] Checking erl_pp v0.1.3 [INFO] [stderr] Checking erl_parse v0.0.7 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/exprs/mod.rs:189:44 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/exprs/mod.rs:189:44 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/types/parts.rs:139:44 [INFO] [stderr] | [INFO] [stderr] 139 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/types/mod.rs:24:44 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/form.rs:10:44 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/exprs/mod.rs:189:44 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/exprs/mod.rs:189:44 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/types/parts.rs:139:44 [INFO] [stderr] | [INFO] [stderr] 139 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/types/mod.rs:24:44 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: lint name `large_enum_variant` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cst/form.rs:10:44 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::large_enum_variant` [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 165 [INFO] [stderr] --> tests/lib.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | / fn parse_expr_works() { [INFO] [stderr] 50 | | // literals [INFO] [stderr] 51 | | parse_expr!("foo"); [INFO] [stderr] 52 | | parse_expr!("$c"); [INFO] [stderr] ... | [INFO] [stderr] 191 | | parse_expr!("try foo of _ -> 1 catch _ -> err after ok end"); [INFO] [stderr] 192 | | } [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] warning: the function has a cyclomatic complexity of 65 [INFO] [stderr] --> tests/lib.rs:195:1 [INFO] [stderr] | [INFO] [stderr] 195 | / fn parse_pattern_works() { [INFO] [stderr] 196 | | // literals [INFO] [stderr] 197 | | parse_pattern!("foo"); [INFO] [stderr] 198 | | parse_pattern!("$c"); [INFO] [stderr] ... | [INFO] [stderr] 252 | | parse_pattern!("{A, B = 2, 3} = {1, 2, 3}"); [INFO] [stderr] 253 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [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] warning: the function has a cyclomatic complexity of 57 [INFO] [stderr] --> tests/lib.rs:256:1 [INFO] [stderr] | [INFO] [stderr] 256 | / fn parse_type_works() { [INFO] [stderr] 257 | | // integer [INFO] [stderr] 258 | | parse_type!("10"); [INFO] [stderr] 259 | | parse_type!("-10"); [INFO] [stderr] ... | [INFO] [stderr] 307 | | parse_type!("10 | 1 + 2 | (foo | {a, b, c}) | baz"); [INFO] [stderr] 308 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [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] warning: the function has a cyclomatic complexity of 55 [INFO] [stderr] --> tests/lib.rs:311:1 [INFO] [stderr] | [INFO] [stderr] 311 | / fn parse_form_works() { [INFO] [stderr] 312 | | // module attribute [INFO] [stderr] 313 | | parse_form!("-module(foo)."); [INFO] [stderr] 314 | | [INFO] [stderr] ... | [INFO] [stderr] 361 | | parse_form!("-opaque foo() :: integer()."); [INFO] [stderr] 362 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [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 16.85s [INFO] running `"docker" "inspect" "5141766dda7388ac9934f8323e73c20f46ba66c436126e21b3694a727f0443d1"` [INFO] running `"docker" "rm" "-f" "5141766dda7388ac9934f8323e73c20f46ba66c436126e21b3694a727f0443d1"` [INFO] [stdout] 5141766dda7388ac9934f8323e73c20f46ba66c436126e21b3694a727f0443d1