[INFO] crate peep 0.1.4 is already in cache [INFO] extracting crate peep 0.1.4 into work/ex/clippy-test-run/sources/stable/reg/peep/0.1.4 [INFO] extracting crate peep 0.1.4 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/peep/0.1.4 [INFO] validating manifest of peep-0.1.4 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 peep-0.1.4 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 peep-0.1.4 [INFO] finished frobbing peep-0.1.4 [INFO] frobbed toml for peep-0.1.4 written to work/ex/clippy-test-run/sources/stable/reg/peep/0.1.4/Cargo.toml [INFO] started frobbing peep-0.1.4 [INFO] finished frobbing peep-0.1.4 [INFO] frobbed toml for peep-0.1.4 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/peep/0.1.4/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 peep-0.1.4 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/peep/0.1.4:/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] 9e6db748f00233f78ce3518a9549d351ccbc7c4ccbd334721fd6762aa5fb71ff [INFO] running `"docker" "start" "-a" "9e6db748f00233f78ce3518a9549d351ccbc7c4ccbd334721fd6762aa5fb71ff"` [INFO] [stderr] Checking ctrlc v3.1.1 [INFO] [stderr] Checking inotify v0.6.1 [INFO] [stderr] Checking peep v0.1.4 (/opt/crater/workdir) [INFO] [stderr] warning: the function has a cyclomatic complexity of 34 [INFO] [stderr] --> src/keybind.rs:300:5 [INFO] [stderr] | [INFO] [stderr] 300 | / fn test_keybind_command() { [INFO] [stderr] 301 | | let mut kb = default::KeyBind::new(); [INFO] [stderr] 302 | | [INFO] [stderr] 303 | | // normal commands [INFO] [stderr] ... | [INFO] [stderr] 336 | | assert_eq!(kb.parse('\x1b'), Some(PeepEvent::Cancel)); [INFO] [stderr] 337 | | } [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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/pane.rs:765:37 [INFO] [stderr] | [INFO] [stderr] 765 | fn gen_sizer(w: u16, h: u16) -> ((u16, u16), Box io::Result<(u16, u16)>>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 26 [INFO] [stderr] --> src/pane.rs:853:5 [INFO] [stderr] | [INFO] [stderr] 853 | / fn test_scroll_left_right() { [INFO] [stderr] 854 | | let t = ["1234567890123456789012345678901234567890"]; [INFO] [stderr] 855 | | let texts = gen_texts(&t); [INFO] [stderr] 856 | | let (size, sizer) = gen_sizer(4, 2); [INFO] [stderr] ... | [INFO] [stderr] 938 | | assert_eq!(pane.scroll_right(&ScrollStep::Char(10)).unwrap(), 0); [INFO] [stderr] 939 | | } [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 12.24s [INFO] running `"docker" "inspect" "9e6db748f00233f78ce3518a9549d351ccbc7c4ccbd334721fd6762aa5fb71ff"` [INFO] running `"docker" "rm" "-f" "9e6db748f00233f78ce3518a9549d351ccbc7c4ccbd334721fd6762aa5fb71ff"` [INFO] [stdout] 9e6db748f00233f78ce3518a9549d351ccbc7c4ccbd334721fd6762aa5fb71ff