Oct 31 17:04:30.907 INFO checking zovt/advent-of-code-2017 against master#05812fa8c588473f03e3fa7cf59cd84f4f37c715 for pr-55538 Oct 31 17:04:30.909 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55538/worker-7/master#05812fa8c588473f03e3fa7cf59cd84f4f37c715:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-7/pr-55538/master#05812fa8c588473f03e3fa7cf59cd84f4f37c715:/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 +05812fa8c588473f03e3fa7cf59cd84f4f37c715-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 31 17:04:31.368 INFO blam! 91eb93fb8cf17db68d5290f66364c26f1cd030368761952ce4860863944b2844 Oct 31 17:04:31.369 INFO running `"docker" "start" "-a" "91eb93fb8cf17db68d5290f66364c26f1cd030368761952ce4860863944b2844"` Oct 31 17:04:32.811 INFO kablam! usermod: no changes Oct 31 17:04:32.892 INFO kablam! warning: An explicit [[bin]] section is specified in Cargo.toml which currently Oct 31 17:04:32.892 INFO kablam! disables Cargo from automatically inferring other binary targets. Oct 31 17:04:32.892 INFO kablam! This inference behavior will change in the Rust 2018 edition and the following Oct 31 17:04:32.892 INFO kablam! files will be included as a binary target: Oct 31 17:04:32.892 INFO kablam! Oct 31 17:04:32.892 INFO kablam! * /source/src/main.rs Oct 31 17:04:32.892 INFO kablam! Oct 31 17:04:32.892 INFO kablam! This is likely to break cargo build or cargo test as these files may not be Oct 31 17:04:32.892 INFO kablam! ready to be compiled as a binary target today. You can future-proof yourself Oct 31 17:04:32.892 INFO kablam! and disable this warning by adding `autobins = false` to your [package] Oct 31 17:04:32.892 INFO kablam! section. You may also move the files to a location where Cargo would not Oct 31 17:04:32.892 INFO kablam! automatically infer them to be a target, such as in subfolders. Oct 31 17:04:32.892 INFO kablam! Oct 31 17:04:32.892 INFO kablam! For more information on this warning you can consult Oct 31 17:04:32.892 INFO kablam! https://github.com/rust-lang/cargo/issues/5330 Oct 31 17:04:32.904 INFO kablam! Checking advent-of-code v0.1.0 (/source) Oct 31 17:04:33.644 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:33.644 INFO kablam! --> src/day3/two.rs:39:6 Oct 31 17:04:33.644 INFO kablam! | Oct 31 17:04:33.644 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 31 17:04:33.644 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:33.644 INFO kablam! | Oct 31 17:04:33.644 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:33.644 INFO kablam! Oct 31 17:04:33.644 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:33.644 INFO kablam! --> src/day3/two.rs:41:13 Oct 31 17:04:33.644 INFO kablam! | Oct 31 17:04:33.644 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 31 17:04:33.644 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:33.644 INFO kablam! Oct 31 17:04:34.423 INFO kablam! warning: variable does not need to be mutable Oct 31 17:04:34.423 INFO kablam! --> src/day3/two.rs:86:6 Oct 31 17:04:34.423 INFO kablam! | Oct 31 17:04:34.423 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 31 17:04:34.423 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 31 17:04:34.423 INFO kablam! | | Oct 31 17:04:34.423 INFO kablam! | help: remove this `mut` Oct 31 17:04:34.433 INFO kablam! | Oct 31 17:04:34.433 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 31 17:04:34.433 INFO kablam! Oct 31 17:04:34.621 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:34.622 INFO kablam! --> src/day3/two.rs:39:6 Oct 31 17:04:34.622 INFO kablam! | Oct 31 17:04:34.622 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 31 17:04:34.622 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:34.622 INFO kablam! | Oct 31 17:04:34.622 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:34.622 INFO kablam! Oct 31 17:04:34.622 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:34.622 INFO kablam! --> src/day3/two.rs:41:13 Oct 31 17:04:34.622 INFO kablam! | Oct 31 17:04:34.622 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 31 17:04:34.622 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:34.622 INFO kablam! Oct 31 17:04:34.712 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:34.712 INFO kablam! --> src/day3/one.rs:43:15 Oct 31 17:04:34.713 INFO kablam! | Oct 31 17:04:34.713 INFO kablam! 43 | let num = if (num > ring_half) { Oct 31 17:04:34.713 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:34.713 INFO kablam! | Oct 31 17:04:34.713 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:34.713 INFO kablam! Oct 31 17:04:35.464 INFO kablam! warning: variable does not need to be mutable Oct 31 17:04:35.464 INFO kablam! --> src/day3/two.rs:86:6 Oct 31 17:04:35.465 INFO kablam! | Oct 31 17:04:35.465 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 31 17:04:35.465 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 31 17:04:35.465 INFO kablam! | | Oct 31 17:04:35.465 INFO kablam! | help: remove this `mut` Oct 31 17:04:35.465 INFO kablam! | Oct 31 17:04:35.465 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 31 17:04:35.465 INFO kablam! Oct 31 17:04:36.272 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:36.272 INFO kablam! --> src/day3/one.rs:43:15 Oct 31 17:04:36.273 INFO kablam! | Oct 31 17:04:36.273 INFO kablam! 43 | let num = if (num > ring_half) { Oct 31 17:04:36.274 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:36.274 INFO kablam! | Oct 31 17:04:36.274 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:36.274 INFO kablam! Oct 31 17:04:36.597 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.76s Oct 31 17:04:36.609 INFO kablam! su: No module specific data is present Oct 31 17:04:38.096 INFO running `"docker" "rm" "-f" "91eb93fb8cf17db68d5290f66364c26f1cd030368761952ce4860863944b2844"` Oct 31 17:04:38.472 INFO blam! 91eb93fb8cf17db68d5290f66364c26f1cd030368761952ce4860863944b2844