[INFO] updating cached repository kcexn/rust_pig_latin [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kcexn/rust_pig_latin [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kcexn/rust_pig_latin" "work/ex/clippy-test-run/sources/stable/gh/kcexn/rust_pig_latin"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/kcexn/rust_pig_latin'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kcexn/rust_pig_latin" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/kcexn/rust_pig_latin"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/kcexn/rust_pig_latin'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cb3e638bbc2ba732a390f5c524ca8ccbcd7566c3 [INFO] sha for GitHub repo kcexn/rust_pig_latin: cb3e638bbc2ba732a390f5c524ca8ccbcd7566c3 [INFO] validating manifest of kcexn/rust_pig_latin 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 kcexn/rust_pig_latin 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 kcexn/rust_pig_latin [INFO] finished frobbing kcexn/rust_pig_latin [INFO] frobbed toml for kcexn/rust_pig_latin written to work/ex/clippy-test-run/sources/stable/gh/kcexn/rust_pig_latin/Cargo.toml [INFO] started frobbing kcexn/rust_pig_latin [INFO] finished frobbing kcexn/rust_pig_latin [INFO] frobbed toml for kcexn/rust_pig_latin written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/kcexn/rust_pig_latin/Cargo.toml [INFO] crate kcexn/rust_pig_latin has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on the registry index [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting kcexn/rust_pig_latin 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/gh/kcexn/rust_pig_latin:/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] 4422938ebb5df096ceebe47b28a74a3fa46d64088a414561f22154aa457adfc4 [INFO] running `"docker" "start" "-a" "4422938ebb5df096ceebe47b28a74a3fa46d64088a414561f22154aa457adfc4"` [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Checking pig_latin v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: the function has a cyclomatic complexity of 29 [INFO] [stderr] --> src/lib.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | / fn test_translate_to_pig_latin() { [INFO] [stderr] 55 | | // For words that begin with consonant sounds, all letters before the initial vowel are [INFO] [stderr] 56 | | // placed at the end of the word sequence. Then, "ay" is added, as in the following [INFO] [stderr] 57 | | // examples: [INFO] [stderr] ... | [INFO] [stderr] 90 | | assert_eq!( String::from("endsay"), super::translate_to_pig_latin( super::OriginalWord{ word: String::from("ends") } )); [INFO] [stderr] 91 | | } [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 8.22s [INFO] running `"docker" "inspect" "4422938ebb5df096ceebe47b28a74a3fa46d64088a414561f22154aa457adfc4"` [INFO] running `"docker" "rm" "-f" "4422938ebb5df096ceebe47b28a74a3fa46d64088a414561f22154aa457adfc4"` [INFO] [stdout] 4422938ebb5df096ceebe47b28a74a3fa46d64088a414561f22154aa457adfc4