[INFO] updating cached repository ubnt-intrepid/pest-calculator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ubnt-intrepid/pest-calculator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ubnt-intrepid/pest-calculator" "work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/pest-calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/pest-calculator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ubnt-intrepid/pest-calculator" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ubnt-intrepid/pest-calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ubnt-intrepid/pest-calculator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a746dde9c319a664def9b02e79da69f8274c6485 [INFO] sha for GitHub repo ubnt-intrepid/pest-calculator: a746dde9c319a664def9b02e79da69f8274c6485 [INFO] validating manifest of ubnt-intrepid/pest-calculator 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 ubnt-intrepid/pest-calculator 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 ubnt-intrepid/pest-calculator [INFO] finished frobbing ubnt-intrepid/pest-calculator [INFO] frobbed toml for ubnt-intrepid/pest-calculator written to work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/pest-calculator/Cargo.toml [INFO] started frobbing ubnt-intrepid/pest-calculator [INFO] finished frobbing ubnt-intrepid/pest-calculator [INFO] frobbed toml for ubnt-intrepid/pest-calculator written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ubnt-intrepid/pest-calculator/Cargo.toml [INFO] crate ubnt-intrepid/pest-calculator 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 ubnt-intrepid/pest-calculator against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/pest-calculator:/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] d7f7798e9b5532b58e5d8c186e44fb18a6de6d69cc2eb40b1addcd30eab0e708 [INFO] running `"docker" "start" "-a" "d7f7798e9b5532b58e5d8c186e44fb18a6de6d69cc2eb40b1addcd30eab0e708"` [INFO] [stderr] Compiling pest v1.0.0-beta.16 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Compiling pest_derive v1.0.0-beta.16 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking pest-calculator v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | Expression::Infix(op.into(), Box::new(lhs.into()), Box::new(rhs.into())) [INFO] [stderr] | ^^^^^^^^^ help: consider removing `.into()`: `op` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | Expression::Infix(op.into(), Box::new(lhs.into()), Box::new(rhs.into())) [INFO] [stderr] | ^^^^^^^^^ help: consider removing `.into()`: `op` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/main.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / fn do_parse<'s>(input: &'s str) -> Result>> { [INFO] [stderr] 55 | | let mut pairs = ExprParser::parse_str(Rule::expression, input)?; [INFO] [stderr] 56 | | let pair = pairs.next().unwrap(); [INFO] [stderr] 57 | | Ok(into_expression(pair)) [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/main.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / fn do_parse<'s>(input: &'s str) -> Result>> { [INFO] [stderr] 55 | | let mut pairs = ExprParser::parse_str(Rule::expression, input)?; [INFO] [stderr] 56 | | let pair = pairs.next().unwrap(); [INFO] [stderr] 57 | | Ok(into_expression(pair)) [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.27s [INFO] running `"docker" "inspect" "d7f7798e9b5532b58e5d8c186e44fb18a6de6d69cc2eb40b1addcd30eab0e708"` [INFO] running `"docker" "rm" "-f" "d7f7798e9b5532b58e5d8c186e44fb18a6de6d69cc2eb40b1addcd30eab0e708"` [INFO] [stdout] d7f7798e9b5532b58e5d8c186e44fb18a6de6d69cc2eb40b1addcd30eab0e708