[INFO] updating cached repository theothornhill/rust-invoice-sender [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/theothornhill/rust-invoice-sender [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/theothornhill/rust-invoice-sender" "work/ex/clippy-test-run/sources/stable/gh/theothornhill/rust-invoice-sender"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/theothornhill/rust-invoice-sender'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/theothornhill/rust-invoice-sender" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/theothornhill/rust-invoice-sender"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/theothornhill/rust-invoice-sender'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6bfb46be3f6a4d84fc4ac9605716b18af01527a1 [INFO] sha for GitHub repo theothornhill/rust-invoice-sender: 6bfb46be3f6a4d84fc4ac9605716b18af01527a1 [INFO] validating manifest of theothornhill/rust-invoice-sender 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 theothornhill/rust-invoice-sender 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 theothornhill/rust-invoice-sender [INFO] finished frobbing theothornhill/rust-invoice-sender [INFO] frobbed toml for theothornhill/rust-invoice-sender written to work/ex/clippy-test-run/sources/stable/gh/theothornhill/rust-invoice-sender/Cargo.toml [INFO] started frobbing theothornhill/rust-invoice-sender [INFO] finished frobbing theothornhill/rust-invoice-sender [INFO] frobbed toml for theothornhill/rust-invoice-sender written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/theothornhill/rust-invoice-sender/Cargo.toml [INFO] crate theothornhill/rust-invoice-sender 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 theothornhill/rust-invoice-sender against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/theothornhill/rust-invoice-sender:/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] 222fb93379242762d8843ade4cc5b0cde4447514083a451d2697298c601f2140 [INFO] running `"docker" "start" "-a" "222fb93379242762d8843ade4cc5b0cde4447514083a451d2697298c601f2140"` [INFO] [stderr] Compiling openssl-sys v0.9.33 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Compiling email v0.0.19 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking digest v0.7.5 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking chrono v0.4.4 [INFO] [stderr] Checking mime v0.3.8 [INFO] [stderr] Checking md-5 v0.7.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking hmac v0.6.2 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking native-tls v0.1.5 [INFO] [stderr] Checking lettre v0.8.2 [INFO] [stderr] Checking lettre_email v0.8.2 [INFO] [stderr] Checking mail v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: you seem to be trying to match on a boolean expression [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / match arguments.is_present("delete") { [INFO] [stderr] 29 | | // Maybe provide extra assurance? [INFO] [stderr] 30 | | false => (), [INFO] [stderr] 31 | | true => delete_invoice(&myfile), [INFO] [stderr] 32 | | } [INFO] [stderr] | |_____^ help: consider using an if/else expression: `if arguments.is_present("delete") { delete_invoice(&myfile) }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_bool)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_bool [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to match on a boolean expression [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / match arguments.is_present("delete") { [INFO] [stderr] 29 | | // Maybe provide extra assurance? [INFO] [stderr] 30 | | false => (), [INFO] [stderr] 31 | | true => delete_invoice(&myfile), [INFO] [stderr] 32 | | } [INFO] [stderr] | |_____^ help: consider using an if/else expression: `if arguments.is_present("delete") { delete_invoice(&myfile) }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_bool)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_bool [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.54s [INFO] running `"docker" "inspect" "222fb93379242762d8843ade4cc5b0cde4447514083a451d2697298c601f2140"` [INFO] running `"docker" "rm" "-f" "222fb93379242762d8843ade4cc5b0cde4447514083a451d2697298c601f2140"` [INFO] [stdout] 222fb93379242762d8843ade4cc5b0cde4447514083a451d2697298c601f2140