[INFO] updating cached repository dsprenkels/sss-cli [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dsprenkels/sss-cli [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dsprenkels/sss-cli" "work/ex/clippy-test-run/sources/stable/gh/dsprenkels/sss-cli"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/dsprenkels/sss-cli'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dsprenkels/sss-cli" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dsprenkels/sss-cli"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dsprenkels/sss-cli'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cec0a2e1c1d9b8af3f6f5a0fe23d65ce614f8a09 [INFO] sha for GitHub repo dsprenkels/sss-cli: cec0a2e1c1d9b8af3f6f5a0fe23d65ce614f8a09 [INFO] validating manifest of dsprenkels/sss-cli 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 dsprenkels/sss-cli 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 dsprenkels/sss-cli [INFO] finished frobbing dsprenkels/sss-cli [INFO] frobbed toml for dsprenkels/sss-cli written to work/ex/clippy-test-run/sources/stable/gh/dsprenkels/sss-cli/Cargo.toml [INFO] started frobbing dsprenkels/sss-cli [INFO] finished frobbing dsprenkels/sss-cli [INFO] frobbed toml for dsprenkels/sss-cli written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dsprenkels/sss-cli/Cargo.toml [INFO] crate dsprenkels/sss-cli has a lockfile. skipping [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 dsprenkels/sss-cli against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/dsprenkels/sss-cli:/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] 3ad4392352ade2f04308a1d453e060a8ad015e1ea5b4df2ad2366ab79e69e6be [INFO] running `"docker" "start" "-a" "3ad4392352ade2f04308a1d453e060a8ad015e1ea5b4df2ad2366ab79e69e6be"` [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling shamirsecretsharing v0.1.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking regex v1.0.2 [INFO] [stderr] Checking os_pipe v0.6.2 [INFO] [stderr] Checking shared_child v0.3.3 [INFO] [stderr] Checking duct v0.10.0 [INFO] [stderr] Checking env_logger v0.5.11 [INFO] [stderr] Checking shamirsecretsharing-cli v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: the function has a cyclomatic complexity of 34 [INFO] [stderr] --> src/bin/combine.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / fn main() { [INFO] [stderr] 29 | | // If not log level has been set, default to info [INFO] [stderr] 30 | | if env::var_os("RUST_LOG") == None { [INFO] [stderr] 31 | | env::set_var("RUST_LOG", "secret_share_combine=info"); [INFO] [stderr] ... | [INFO] [stderr] 151 | | }; [INFO] [stderr] 152 | | } [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 34 [INFO] [stderr] --> src/bin/combine.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / fn main() { [INFO] [stderr] 29 | | // If not log level has been set, default to info [INFO] [stderr] 30 | | if env::var_os("RUST_LOG") == None { [INFO] [stderr] 31 | | env::set_var("RUST_LOG", "secret_share_combine=info"); [INFO] [stderr] ... | [INFO] [stderr] 151 | | }; [INFO] [stderr] 152 | | } [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: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/bin/combine.rs:257:25 [INFO] [stderr] | [INFO] [stderr] 257 | expected.extend("Hello World! :D".as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"Hello World! :D"` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::string_lit_as_bytes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.72s [INFO] running `"docker" "inspect" "3ad4392352ade2f04308a1d453e060a8ad015e1ea5b4df2ad2366ab79e69e6be"` [INFO] running `"docker" "rm" "-f" "3ad4392352ade2f04308a1d453e060a8ad015e1ea5b4df2ad2366ab79e69e6be"` [INFO] [stdout] 3ad4392352ade2f04308a1d453e060a8ad015e1ea5b4df2ad2366ab79e69e6be