[INFO] crate libinspire 0.1.0-beta-no-https is already in cache [INFO] extracting crate libinspire 0.1.0-beta-no-https into work/ex/clippy-test-run/sources/stable/reg/libinspire/0.1.0-beta-no-https [INFO] extracting crate libinspire 0.1.0-beta-no-https into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/libinspire/0.1.0-beta-no-https [INFO] validating manifest of libinspire-0.1.0-beta-no-https 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 libinspire-0.1.0-beta-no-https 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 libinspire-0.1.0-beta-no-https [INFO] finished frobbing libinspire-0.1.0-beta-no-https [INFO] frobbed toml for libinspire-0.1.0-beta-no-https written to work/ex/clippy-test-run/sources/stable/reg/libinspire/0.1.0-beta-no-https/Cargo.toml [INFO] started frobbing libinspire-0.1.0-beta-no-https [INFO] finished frobbing libinspire-0.1.0-beta-no-https [INFO] frobbed toml for libinspire-0.1.0-beta-no-https written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/libinspire/0.1.0-beta-no-https/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 libinspire-0.1.0-beta-no-https against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/libinspire/0.1.0-beta-no-https:/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] c60566c5d51886460087badbb7440c6e867f503a274bc50d0e157e178b83ef17 [INFO] running `"docker" "start" "-a" "c60566c5d51886460087badbb7440c6e867f503a274bc50d0e157e178b83ef17"` [INFO] [stderr] Checking slog v1.7.1 [INFO] [stderr] Checking utf-8 v0.6.0 [INFO] [stderr] Compiling string_cache v0.2.29 [INFO] [stderr] Compiling html5ever v0.5.4 [INFO] [stderr] Checking tendril v0.2.4 [INFO] [stderr] Checking slog-extra v0.1.2 [INFO] [stderr] Checking slog-stream v1.2.1 [INFO] [stderr] Checking slog-term v1.5.0 [INFO] [stderr] Checking slog-stdlog v1.1.0 [INFO] [stderr] Checking select v0.3.0 [INFO] [stderr] Checking libinspire v0.1.0-beta-no-https (/opt/crater/workdir) [INFO] [stderr] warning: you seem to be trying to match on a boolean expression [INFO] [stderr] --> src/lib.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | / match validate_recid(s) { [INFO] [stderr] 45 | | true => Ok(RecID { id: s }), [INFO] [stderr] 46 | | false => Err(()), [INFO] [stderr] 47 | | } [INFO] [stderr] | |_________^ help: consider using an if/else expression: `if validate_recid(s) { Ok(RecID { id: s }) } else { Err(()) }` [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/lib.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | / match validate_recid(s) { [INFO] [stderr] 45 | | true => Ok(RecID { id: s }), [INFO] [stderr] 46 | | false => Err(()), [INFO] [stderr] 47 | | } [INFO] [stderr] | |_________^ help: consider using an if/else expression: `if validate_recid(s) { Ok(RecID { id: s }) } else { Err(()) }` [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 29.27s [INFO] running `"docker" "inspect" "c60566c5d51886460087badbb7440c6e867f503a274bc50d0e157e178b83ef17"` [INFO] running `"docker" "rm" "-f" "c60566c5d51886460087badbb7440c6e867f503a274bc50d0e157e178b83ef17"` [INFO] [stdout] c60566c5d51886460087badbb7440c6e867f503a274bc50d0e157e178b83ef17