[INFO] crate colorparse 2.0.0 is already in cache [INFO] extracting crate colorparse 2.0.0 into work/ex/clippy-test-run/sources/stable/reg/colorparse/2.0.0 [INFO] extracting crate colorparse 2.0.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/colorparse/2.0.0 [INFO] validating manifest of colorparse-2.0.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 colorparse-2.0.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 colorparse-2.0.0 [INFO] finished frobbing colorparse-2.0.0 [INFO] frobbed toml for colorparse-2.0.0 written to work/ex/clippy-test-run/sources/stable/reg/colorparse/2.0.0/Cargo.toml [INFO] started frobbing colorparse-2.0.0 [INFO] finished frobbing colorparse-2.0.0 [INFO] frobbed toml for colorparse-2.0.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/colorparse/2.0.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 colorparse-2.0.0 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-1/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/reg/colorparse/2.0.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 -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] d5ae32987055c0c7eac0a6fbff6314975c2bbfee8f3659587ce3f4cea5c1b851 [INFO] running `"docker" "start" "-a" "d5ae32987055c0c7eac0a6fbff6314975c2bbfee8f3659587ce3f4cea5c1b851"` [INFO] [stderr] Checking colorparse v2.0.0 (/opt/crater/workdir) [INFO] [stderr] error: the function has a cyclomatic complexity of 32 [INFO] [stderr] --> src/lib.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | / fn test_parse_style() { [INFO] [stderr] 129 | | macro_rules! test { [INFO] [stderr] 130 | | ($s:expr => $style:expr) => { [INFO] [stderr] 131 | | assert_eq!(parse($s), Ok($style)); [INFO] [stderr] ... | [INFO] [stderr] 166 | | test!("blink #050505 white" => RGB(5,5,5).on(White).blink()); [INFO] [stderr] 167 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::cyclomatic_complexity)] implied by #[deny(warnings)] [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] error: the function has a cyclomatic complexity of 33 [INFO] [stderr] --> src/lib.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | / fn test_parse_style_err() { [INFO] [stderr] 171 | | macro_rules! test { [INFO] [stderr] 172 | | ($s:expr => $err:ident $word:expr) => { [INFO] [stderr] 173 | | assert_eq!(parse($s), Err($err($s.to_string(), $word.to_string()))); [INFO] [stderr] ... | [INFO] [stderr] 209 | | test!("blue#123456" => UnknownWord "blue#123456"); [INFO] [stderr] 210 | | } [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] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `colorparse`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d5ae32987055c0c7eac0a6fbff6314975c2bbfee8f3659587ce3f4cea5c1b851"` [INFO] running `"docker" "rm" "-f" "d5ae32987055c0c7eac0a6fbff6314975c2bbfee8f3659587ce3f4cea5c1b851"` [INFO] [stdout] d5ae32987055c0c7eac0a6fbff6314975c2bbfee8f3659587ce3f4cea5c1b851