[INFO] updating cached repository weather-bot/meow [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/weather-bot/meow [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/weather-bot/meow" "work/ex/clippy-test-run/sources/stable/gh/weather-bot/meow"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/weather-bot/meow'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/weather-bot/meow" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/weather-bot/meow"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/weather-bot/meow'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3555aa809a42a3b0862c0577979ccd02c59b095a [INFO] sha for GitHub repo weather-bot/meow: 3555aa809a42a3b0862c0577979ccd02c59b095a [INFO] validating manifest of weather-bot/meow 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 weather-bot/meow 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 weather-bot/meow [INFO] finished frobbing weather-bot/meow [INFO] frobbed toml for weather-bot/meow written to work/ex/clippy-test-run/sources/stable/gh/weather-bot/meow/Cargo.toml [INFO] started frobbing weather-bot/meow [INFO] finished frobbing weather-bot/meow [INFO] frobbed toml for weather-bot/meow written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/weather-bot/meow/Cargo.toml [INFO] crate weather-bot/meow 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 weather-bot/meow 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/weather-bot/meow:/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] 4a99eed978567c493830c523d630b99c8a0150e1cbef6e9b6b2a7e765c4096d0 [INFO] running `"docker" "start" "-a" "4a99eed978567c493830c523d630b99c8a0150e1cbef6e9b6b2a7e765c4096d0"` [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking stb_truetype v0.2.2 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking regex v1.0.2 [INFO] [stderr] Checking alga v0.5.4 [INFO] [stderr] Checking rusttype v0.5.2 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Checking rayon v1.0.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking env_logger v0.5.12 [INFO] [stderr] Checking nalgebra v0.13.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking imageproc v0.15.0 [INFO] [stderr] Checking meow v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/draw.rs:274:5 [INFO] [stderr] | [INFO] [stderr] 274 | let _ = origin_img.save(Path::new(output_path)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/draw.rs:498:5 [INFO] [stderr] | [INFO] [stderr] 498 | let _ = origin_img.save(Path::new(output_path)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | / match draw_corner(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 45 | | Err(e) => { [INFO] [stderr] 46 | | eprintln!("{}", e); [INFO] [stderr] 47 | | process::exit(1); [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | _ => {} [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 44 | if let Err(e) = draw_corner(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 45 | eprintln!("{}", e); [INFO] [stderr] 46 | process::exit(1); [INFO] [stderr] 47 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | / match draw_bottom(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 54 | | Err(e) => { [INFO] [stderr] 55 | | eprintln!("{}", e); [INFO] [stderr] 56 | | process::exit(1); [INFO] [stderr] 57 | | } [INFO] [stderr] 58 | | _ => {} [INFO] [stderr] 59 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 53 | if let Err(e) = draw_bottom(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 54 | eprintln!("{}", e); [INFO] [stderr] 55 | process::exit(1); [INFO] [stderr] 56 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/draw.rs:274:5 [INFO] [stderr] | [INFO] [stderr] 274 | let _ = origin_img.save(Path::new(output_path)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/draw.rs:498:5 [INFO] [stderr] | [INFO] [stderr] 498 | let _ = origin_img.save(Path::new(output_path)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | / match draw_corner(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 45 | | Err(e) => { [INFO] [stderr] 46 | | eprintln!("{}", e); [INFO] [stderr] 47 | | process::exit(1); [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | _ => {} [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 44 | if let Err(e) = draw_corner(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 45 | eprintln!("{}", e); [INFO] [stderr] 46 | process::exit(1); [INFO] [stderr] 47 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | / match draw_bottom(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 54 | | Err(e) => { [INFO] [stderr] 55 | | eprintln!("{}", e); [INFO] [stderr] 56 | | process::exit(1); [INFO] [stderr] 57 | | } [INFO] [stderr] 58 | | _ => {} [INFO] [stderr] 59 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 53 | if let Err(e) = draw_bottom(&input_image_path, &info, &output_image_path) { [INFO] [stderr] 54 | eprintln!("{}", e); [INFO] [stderr] 55 | process::exit(1); [INFO] [stderr] 56 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `"docker" "inspect" "4a99eed978567c493830c523d630b99c8a0150e1cbef6e9b6b2a7e765c4096d0"` [INFO] running `"docker" "rm" "-f" "4a99eed978567c493830c523d630b99c8a0150e1cbef6e9b6b2a7e765c4096d0"` [INFO] [stdout] 4a99eed978567c493830c523d630b99c8a0150e1cbef6e9b6b2a7e765c4096d0