Oct 12 09:46:02.452 INFO checking zovt/advent-of-code-2017 against master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f for pr-54977 Oct 12 09:46:02.452 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-7/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/pr-54977/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +5af0bb83044c3fb43d59ad5f49ee5ae1a293901f-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 12 09:46:02.924 INFO blam! 8d8dc6784e4a091c4922eb4c17415c9ea075f95b398b3ba9eb9da23884d8482e Oct 12 09:46:02.925 INFO running `"docker" "start" "-a" "8d8dc6784e4a091c4922eb4c17415c9ea075f95b398b3ba9eb9da23884d8482e"` Oct 12 09:46:04.932 INFO kablam! usermod: no changes Oct 12 09:46:04.992 INFO kablam! warning: An explicit [[bin]] section is specified in Cargo.toml which currently Oct 12 09:46:04.992 INFO kablam! disables Cargo from automatically inferring other binary targets. Oct 12 09:46:04.992 INFO kablam! This inference behavior will change in the Rust 2018 edition and the following Oct 12 09:46:04.992 INFO kablam! files will be included as a binary target: Oct 12 09:46:04.992 INFO kablam! Oct 12 09:46:04.992 INFO kablam! * /source/src/main.rs Oct 12 09:46:04.992 INFO kablam! Oct 12 09:46:04.992 INFO kablam! This is likely to break cargo build or cargo test as these files may not be Oct 12 09:46:04.992 INFO kablam! ready to be compiled as a binary target today. You can future-proof yourself Oct 12 09:46:04.992 INFO kablam! and disable this warning by adding `autobins = false` to your [package] Oct 12 09:46:04.992 INFO kablam! section. You may also move the files to a location where Cargo would not Oct 12 09:46:04.992 INFO kablam! automatically infer them to be a target, such as in subfolders. Oct 12 09:46:04.992 INFO kablam! Oct 12 09:46:04.992 INFO kablam! For more information on this warning you can consult Oct 12 09:46:04.992 INFO kablam! https://github.com/rust-lang/cargo/issues/5330 Oct 12 09:46:04.994 INFO kablam! Checking advent-of-code v0.1.0 (/source) Oct 12 09:46:05.704 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:05.705 INFO kablam! --> src/day3/one.rs:43:15 Oct 12 09:46:05.706 INFO kablam! | Oct 12 09:46:05.706 INFO kablam! 43 | let num = if (num > ring_half) { Oct 12 09:46:05.707 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:05.707 INFO kablam! | Oct 12 09:46:05.708 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:05.708 INFO kablam! Oct 12 09:46:06.728 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:06.728 INFO kablam! --> src/day3/one.rs:43:15 Oct 12 09:46:06.728 INFO kablam! | Oct 12 09:46:06.728 INFO kablam! 43 | let num = if (num > ring_half) { Oct 12 09:46:06.728 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:06.740 INFO kablam! | Oct 12 09:46:06.740 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:06.740 INFO kablam! Oct 12 09:46:06.796 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:06.796 INFO kablam! --> src/day3/two.rs:39:6 Oct 12 09:46:06.796 INFO kablam! | Oct 12 09:46:06.796 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 12 09:46:06.796 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:06.796 INFO kablam! | Oct 12 09:46:06.796 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:06.796 INFO kablam! Oct 12 09:46:06.796 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:06.796 INFO kablam! --> src/day3/two.rs:41:13 Oct 12 09:46:06.796 INFO kablam! | Oct 12 09:46:06.796 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 12 09:46:06.796 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:06.796 INFO kablam! Oct 12 09:46:07.280 INFO kablam! warning: variable does not need to be mutable Oct 12 09:46:07.280 INFO kablam! --> src/day3/two.rs:86:6 Oct 12 09:46:07.280 INFO kablam! | Oct 12 09:46:07.280 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 12 09:46:07.280 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 12 09:46:07.280 INFO kablam! | | Oct 12 09:46:07.280 INFO kablam! | help: remove this `mut` Oct 12 09:46:07.280 INFO kablam! | Oct 12 09:46:07.280 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 09:46:07.280 INFO kablam! Oct 12 09:46:07.836 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:07.836 INFO kablam! --> src/day3/two.rs:39:6 Oct 12 09:46:07.836 INFO kablam! | Oct 12 09:46:07.836 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 12 09:46:07.836 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:07.836 INFO kablam! | Oct 12 09:46:07.836 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:07.836 INFO kablam! Oct 12 09:46:07.836 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:07.836 INFO kablam! --> src/day3/two.rs:41:13 Oct 12 09:46:07.836 INFO kablam! | Oct 12 09:46:07.836 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 12 09:46:07.836 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:07.836 INFO kablam! Oct 12 09:46:08.360 INFO kablam! warning: variable does not need to be mutable Oct 12 09:46:08.361 INFO kablam! --> src/day3/two.rs:86:6 Oct 12 09:46:08.361 INFO kablam! | Oct 12 09:46:08.361 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 12 09:46:08.361 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 12 09:46:08.361 INFO kablam! | | Oct 12 09:46:08.361 INFO kablam! | help: remove this `mut` Oct 12 09:46:08.361 INFO kablam! | Oct 12 09:46:08.363 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 09:46:08.363 INFO kablam! Oct 12 09:46:08.392 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.43s Oct 12 09:46:08.396 INFO kablam! su: No module specific data is present Oct 12 09:46:09.336 INFO running `"docker" "rm" "-f" "8d8dc6784e4a091c4922eb4c17415c9ea075f95b398b3ba9eb9da23884d8482e"` Oct 12 09:46:09.623 INFO blam! 8d8dc6784e4a091c4922eb4c17415c9ea075f95b398b3ba9eb9da23884d8482e