[INFO] crate unic-ucd-common 0.7.0 is already in cache [INFO] extracting crate unic-ucd-common 0.7.0 into work/ex/clippy-test-run/sources/stable/reg/unic-ucd-common/0.7.0 [INFO] extracting crate unic-ucd-common 0.7.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/unic-ucd-common/0.7.0 [INFO] validating manifest of unic-ucd-common-0.7.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 unic-ucd-common-0.7.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 unic-ucd-common-0.7.0 [INFO] finished frobbing unic-ucd-common-0.7.0 [INFO] frobbed toml for unic-ucd-common-0.7.0 written to work/ex/clippy-test-run/sources/stable/reg/unic-ucd-common/0.7.0/Cargo.toml [INFO] started frobbing unic-ucd-common-0.7.0 [INFO] finished frobbing unic-ucd-common-0.7.0 [INFO] frobbed toml for unic-ucd-common-0.7.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/unic-ucd-common/0.7.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 unic-ucd-common-0.7.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/unic-ucd-common/0.7.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] 4845e41e34c129af63ffff03c880823a6dab8aff5511abaed2bca957ff1bcaae [INFO] running `"docker" "start" "-a" "4845e41e34c129af63ffff03c880823a6dab8aff5511abaed2bca957ff1bcaae"` [INFO] [stderr] Checking unic-ucd-common v0.7.0 (/opt/crater/workdir) [INFO] [stderr] Checking unic-ucd-category v0.7.0 [INFO] [stderr] warning: the function has a cyclomatic complexity of 32 [INFO] [stderr] --> tests/consistency_tests.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | / fn test_values_internally_and_against_general_category() { [INFO] [stderr] 43 | | for ch in chars!(..) { [INFO] [stderr] 44 | | let ch_is_alphabetic = is_alphabetic(ch); [INFO] [stderr] 45 | | let ch_is_alphanumeric = is_alphanumeric(ch); [INFO] [stderr] ... | [INFO] [stderr] 98 | | } [INFO] [stderr] 99 | | } [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 51 [INFO] [stderr] --> src/alphabetic.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | / fn test_values() { [INFO] [stderr] 34 | | use super::is_alphabetic; [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | // ASCII [INFO] [stderr] ... | [INFO] [stderr] 100 | | assert_eq!(is_alphabetic('\u{10ffff}'), false); [INFO] [stderr] 101 | | } [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 51 [INFO] [stderr] --> src/white_space.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | / fn test_values() { [INFO] [stderr] 34 | | use super::is_white_space; [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | // ASCII [INFO] [stderr] ... | [INFO] [stderr] 100 | | assert_eq!(is_white_space('\u{10ffff}'), false); [INFO] [stderr] 101 | | } [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 51 [INFO] [stderr] --> src/alphanumeric.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | / fn test_values() { [INFO] [stderr] 44 | | use super::is_alphanumeric; [INFO] [stderr] 45 | | [INFO] [stderr] 46 | | // ASCII [INFO] [stderr] ... | [INFO] [stderr] 110 | | assert_eq!(is_alphanumeric('\u{10ffff}'), false); [INFO] [stderr] 111 | | } [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] --> src/control.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / fn test_values() { [INFO] [stderr] 37 | | use super::is_control; [INFO] [stderr] 38 | | [INFO] [stderr] 39 | | // ASCII [INFO] [stderr] ... | [INFO] [stderr] 111 | | assert_eq!(is_control('\u{10ffff}'), false); [INFO] [stderr] 112 | | } [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 51 [INFO] [stderr] --> src/numeric.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / fn test_values() { [INFO] [stderr] 37 | | use super::is_numeric; [INFO] [stderr] 38 | | [INFO] [stderr] 39 | | // ASCII [INFO] [stderr] ... | [INFO] [stderr] 103 | | assert_eq!(is_numeric('\u{10ffff}'), false); [INFO] [stderr] 104 | | } [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 4.98s [INFO] running `"docker" "inspect" "4845e41e34c129af63ffff03c880823a6dab8aff5511abaed2bca957ff1bcaae"` [INFO] running `"docker" "rm" "-f" "4845e41e34c129af63ffff03c880823a6dab8aff5511abaed2bca957ff1bcaae"` [INFO] [stdout] 4845e41e34c129af63ffff03c880823a6dab8aff5511abaed2bca957ff1bcaae