[INFO] crate caldyn 0.4.3 is already in cache [INFO] extracting crate caldyn 0.4.3 into work/ex/clippy-test-run/sources/stable/reg/caldyn/0.4.3 [INFO] extracting crate caldyn 0.4.3 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/caldyn/0.4.3 [INFO] validating manifest of caldyn-0.4.3 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 caldyn-0.4.3 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 caldyn-0.4.3 [INFO] finished frobbing caldyn-0.4.3 [INFO] frobbed toml for caldyn-0.4.3 written to work/ex/clippy-test-run/sources/stable/reg/caldyn/0.4.3/Cargo.toml [INFO] started frobbing caldyn-0.4.3 [INFO] finished frobbing caldyn-0.4.3 [INFO] frobbed toml for caldyn-0.4.3 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/caldyn/0.4.3/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 caldyn-0.4.3 against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/caldyn/0.4.3:/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 -Dclippy::into_iter_on_array" "-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] 5ce85440eced808bc747d3c34e746f92181391eb0f271b194659d9b3bbca7d68 [INFO] running `"docker" "start" "-a" "5ce85440eced808bc747d3c34e746f92181391eb0f271b194659d9b3bbca7d68"` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Checking caldyn v0.4.3 (/opt/crater/workdir) [INFO] [stderr] error[E0602]: unknown lint: `clippy::into_iter_on_array` [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-D clippy::into_iter_on_array` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | #![warn(clippy, clippy_pedantic)] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy_pedantic` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #![warn(clippy, clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::pedantic` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_return` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | needless_return, missing_docs_in_private_items, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_return` [INFO] [stderr] [INFO] [stderr] warning: lint name `missing_docs_in_private_items` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | needless_return, missing_docs_in_private_items, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::missing_docs_in_private_items` [INFO] [stderr] [INFO] [stderr] warning: lint name `new_without_default_derive` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | new_without_default_derive, shadow_reuse, or_fun_call [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::new_without_default_derive` [INFO] [stderr] [INFO] [stderr] warning: lint name `shadow_reuse` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | new_without_default_derive, shadow_reuse, or_fun_call [INFO] [stderr] | ^^^^^^^^^^^^ help: change it to: `clippy::shadow_reuse` [INFO] [stderr] [INFO] [stderr] warning: lint name `or_fun_call` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:6:47 [INFO] [stderr] | [INFO] [stderr] 6 | new_without_default_derive, shadow_reuse, or_fun_call [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::or_fun_call` [INFO] [stderr] [INFO] [stderr] warning: lint name `match_same_arms` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/error.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | #[allow(match_same_arms)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::match_same_arms` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | #![warn(clippy, clippy_pedantic)] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0602`. [INFO] [stderr] error: Could not compile `libc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/expr.rs:61:70 [INFO] [stderr] | [INFO] [stderr] 61 | fn from_tokens(tokens: &mut Vec, context: &str) -> Result { [INFO] [stderr] | ^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #![warn(clippy, clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: #[warn(clippy::use_self)] implied by #[warn(clippy::pedantic)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/expr.rs:66:50 [INFO] [stderr] | [INFO] [stderr] 66 | let args = Box::new(try!(Ast::from_tokens(tokens, " in function call"))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/expr.rs:77:47 [INFO] [stderr] | [INFO] [stderr] 77 | let right = Box::new(try!(Ast::from_tokens(tokens, " after operator"))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/expr.rs:78:46 [INFO] [stderr] | [INFO] [stderr] 78 | let left = Box::new(try!(Ast::from_tokens(tokens, " befor operator"))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/expr.rs:123:26 [INFO] [stderr] | [INFO] [stderr] 123 | fn optimize(self) -> Ast { [INFO] [stderr] | ^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/expr.rs:216:46 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn parse(expression: &str) -> Result { [INFO] [stderr] | ^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/expr.rs:280:16 [INFO] [stderr] | [INFO] [stderr] 280 | Ok(Expr { ast: ast.optimize() }) [INFO] [stderr] | ^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/expr.rs:324:19 [INFO] [stderr] | [INFO] [stderr] 324 | fn precedence(&self) -> u8 { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | #![warn(clippy, clippy_pedantic)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] implied by #[warn(clippy::all)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/expr.rs:333:28 [INFO] [stderr] | [INFO] [stderr] 333 | fn is_left_associative(&self) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/expr.rs:341:29 [INFO] [stderr] | [INFO] [stderr] 341 | fn is_right_associative(&self) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "5ce85440eced808bc747d3c34e746f92181391eb0f271b194659d9b3bbca7d68"` [INFO] running `"docker" "rm" "-f" "5ce85440eced808bc747d3c34e746f92181391eb0f271b194659d9b3bbca7d68"` [INFO] [stdout] 5ce85440eced808bc747d3c34e746f92181391eb0f271b194659d9b3bbca7d68