[INFO] updating cached repository eugeneyche/website [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/eugeneyche/website [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/eugeneyche/website" "work/ex/clippy-test-run/sources/stable/gh/eugeneyche/website"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/eugeneyche/website'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/eugeneyche/website" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/eugeneyche/website"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/eugeneyche/website'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 071229a212b014390b6b7f0d47581f3b03c1c7e2 [INFO] sha for GitHub repo eugeneyche/website: 071229a212b014390b6b7f0d47581f3b03c1c7e2 [INFO] validating manifest of eugeneyche/website 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 eugeneyche/website 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 eugeneyche/website [INFO] finished frobbing eugeneyche/website [INFO] frobbed toml for eugeneyche/website written to work/ex/clippy-test-run/sources/stable/gh/eugeneyche/website/Cargo.toml [INFO] started frobbing eugeneyche/website [INFO] finished frobbing eugeneyche/website [INFO] frobbed toml for eugeneyche/website written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/eugeneyche/website/Cargo.toml [INFO] crate eugeneyche/website 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 eugeneyche/website 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/eugeneyche/website:/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] b32647362632f5c99ebf870020fb7da16fb5434d52da83aac44d45ffe7bec250 [INFO] running `"docker" "start" "-a" "b32647362632f5c99ebf870020fb7da16fb5434d52da83aac44d45ffe7bec250"` [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling synstructure v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0-alpha.5 [INFO] [stderr] Compiling actix_derive v0.3.0 [INFO] [stderr] Checking actix v0.7.5 [INFO] [stderr] Checking trust-dns-resolver v0.10.0-alpha.3 [INFO] [stderr] Checking actix-net v0.1.1 [INFO] [stderr] Checking actix-web v0.7.13 [INFO] [stderr] Checking app v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/post.rs:56:22 [INFO] [stderr] | [INFO] [stderr] 56 | .map_err(|err| PostError::InvalidYamlInfo(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `PostError::InvalidYamlInfo` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/post.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | .map_err(|err| PostError::InvalidDateTime(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `PostError::InvalidDateTime` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/main.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | fn crate_path<'a, P: AsRef>(path: P) -> PathBuf { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::extra_unused_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [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:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | / match run_app( [INFO] [stderr] 98 | | &config.address, [INFO] [stderr] 99 | | &config.posts_root_path, [INFO] [stderr] 100 | | config.num_workers.unwrap_or(4), [INFO] [stderr] ... | [INFO] [stderr] 105 | | _ => (), [INFO] [stderr] 106 | | } [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] 97 | if let Err(message) = run_app( [INFO] [stderr] 98 | &config.address, [INFO] [stderr] 99 | &config.posts_root_path, [INFO] [stderr] 100 | config.num_workers.unwrap_or(4), [INFO] [stderr] 101 | ) { [INFO] [stderr] 102 | eprintln!("Error occured while initializing: {}", message); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/post.rs:56:22 [INFO] [stderr] | [INFO] [stderr] 56 | .map_err(|err| PostError::InvalidYamlInfo(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `PostError::InvalidYamlInfo` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/post.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | .map_err(|err| PostError::InvalidDateTime(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `PostError::InvalidDateTime` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/main.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | fn crate_path<'a, P: AsRef>(path: P) -> PathBuf { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::extra_unused_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [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:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | / match run_app( [INFO] [stderr] 98 | | &config.address, [INFO] [stderr] 99 | | &config.posts_root_path, [INFO] [stderr] 100 | | config.num_workers.unwrap_or(4), [INFO] [stderr] ... | [INFO] [stderr] 105 | | _ => (), [INFO] [stderr] 106 | | } [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] 97 | if let Err(message) = run_app( [INFO] [stderr] 98 | &config.address, [INFO] [stderr] 99 | &config.posts_root_path, [INFO] [stderr] 100 | config.num_workers.unwrap_or(4), [INFO] [stderr] 101 | ) { [INFO] [stderr] 102 | eprintln!("Error occured while initializing: {}", message); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `"docker" "inspect" "b32647362632f5c99ebf870020fb7da16fb5434d52da83aac44d45ffe7bec250"` [INFO] running `"docker" "rm" "-f" "b32647362632f5c99ebf870020fb7da16fb5434d52da83aac44d45ffe7bec250"` [INFO] [stdout] b32647362632f5c99ebf870020fb7da16fb5434d52da83aac44d45ffe7bec250