Oct 12 09:46:00.810 INFO checking zovt/advent-of-code-2017 against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 12 09:46:00.810 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-0/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/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 +4021bd0b3c5815b087d6db10ce461e7e4854ade7-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:01.446 INFO blam! 69d80770f48a79ac8b63669bd0d0f40be300c4f8cb55df72042d3a3f1c9dace7 Oct 12 09:46:01.449 INFO running `"docker" "start" "-a" "69d80770f48a79ac8b63669bd0d0f40be300c4f8cb55df72042d3a3f1c9dace7"` Oct 12 09:46:02.944 INFO kablam! usermod: no changes Oct 12 09:46:03.008 INFO kablam! warning: An explicit [[bin]] section is specified in Cargo.toml which currently Oct 12 09:46:03.008 INFO kablam! disables Cargo from automatically inferring other binary targets. Oct 12 09:46:03.008 INFO kablam! This inference behavior will change in the Rust 2018 edition and the following Oct 12 09:46:03.008 INFO kablam! files will be included as a binary target: Oct 12 09:46:03.008 INFO kablam! Oct 12 09:46:03.008 INFO kablam! * /source/src/main.rs Oct 12 09:46:03.008 INFO kablam! Oct 12 09:46:03.008 INFO kablam! This is likely to break cargo build or cargo test as these files may not be Oct 12 09:46:03.008 INFO kablam! ready to be compiled as a binary target today. You can future-proof yourself Oct 12 09:46:03.008 INFO kablam! and disable this warning by adding `autobins = false` to your [package] Oct 12 09:46:03.008 INFO kablam! section. You may also move the files to a location where Cargo would not Oct 12 09:46:03.008 INFO kablam! automatically infer them to be a target, such as in subfolders. Oct 12 09:46:03.008 INFO kablam! Oct 12 09:46:03.008 INFO kablam! For more information on this warning you can consult Oct 12 09:46:03.008 INFO kablam! https://github.com/rust-lang/cargo/issues/5330 Oct 12 09:46:03.016 INFO kablam! Checking advent-of-code v0.1.0 (/source) Oct 12 09:46:03.864 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:03.864 INFO kablam! --> src/day3/two.rs:39:6 Oct 12 09:46:03.864 INFO kablam! | Oct 12 09:46:03.864 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 12 09:46:03.864 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:03.888 INFO kablam! | Oct 12 09:46:03.888 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:03.888 INFO kablam! Oct 12 09:46:03.888 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:03.888 INFO kablam! --> src/day3/two.rs:41:13 Oct 12 09:46:03.888 INFO kablam! | Oct 12 09:46:03.888 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 12 09:46:03.888 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:03.888 INFO kablam! Oct 12 09:46:04.308 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:04.308 INFO kablam! --> src/day3/two.rs:39:6 Oct 12 09:46:04.308 INFO kablam! | Oct 12 09:46:04.308 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 12 09:46:04.308 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:04.308 INFO kablam! | Oct 12 09:46:04.308 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:04.308 INFO kablam! Oct 12 09:46:04.308 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:04.308 INFO kablam! --> src/day3/two.rs:41:13 Oct 12 09:46:04.309 INFO kablam! | Oct 12 09:46:04.309 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 12 09:46:04.309 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:04.309 INFO kablam! Oct 12 09:46:04.656 INFO kablam! warning: variable does not need to be mutable Oct 12 09:46:04.656 INFO kablam! --> src/day3/two.rs:86:6 Oct 12 09:46:04.656 INFO kablam! | Oct 12 09:46:04.656 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 12 09:46:04.656 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 12 09:46:04.656 INFO kablam! | | Oct 12 09:46:04.656 INFO kablam! | help: remove this `mut` Oct 12 09:46:04.656 INFO kablam! | Oct 12 09:46:04.656 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 09:46:04.656 INFO kablam! Oct 12 09:46:05.116 INFO kablam! warning: variable does not need to be mutable Oct 12 09:46:05.116 INFO kablam! --> src/day3/two.rs:86:6 Oct 12 09:46:05.116 INFO kablam! | Oct 12 09:46:05.116 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 12 09:46:05.116 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 12 09:46:05.116 INFO kablam! | | Oct 12 09:46:05.116 INFO kablam! | help: remove this `mut` Oct 12 09:46:05.116 INFO kablam! | Oct 12 09:46:05.116 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 09:46:05.116 INFO kablam! Oct 12 09:46:05.172 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:05.172 INFO kablam! --> src/day3/one.rs:43:15 Oct 12 09:46:05.172 INFO kablam! | Oct 12 09:46:05.173 INFO kablam! 43 | let num = if (num > ring_half) { Oct 12 09:46:05.173 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:05.173 INFO kablam! | Oct 12 09:46:05.173 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:05.173 INFO kablam! Oct 12 09:46:05.775 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 12 09:46:05.775 INFO kablam! --> src/day3/one.rs:43:15 Oct 12 09:46:05.776 INFO kablam! | Oct 12 09:46:05.776 INFO kablam! 43 | let num = if (num > ring_half) { Oct 12 09:46:05.776 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 12 09:46:05.776 INFO kablam! | Oct 12 09:46:05.776 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 12 09:46:05.776 INFO kablam! Oct 12 09:46:06.680 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.70s Oct 12 09:46:06.685 INFO kablam! su: No module specific data is present Oct 12 09:46:08.305 INFO running `"docker" "rm" "-f" "69d80770f48a79ac8b63669bd0d0f40be300c4f8cb55df72042d3a3f1c9dace7"` Oct 12 09:46:08.646 INFO blam! 69d80770f48a79ac8b63669bd0d0f40be300c4f8cb55df72042d3a3f1c9dace7