Oct 31 17:04:30.755 INFO checking zovt/advent-of-code-2017 against try#d7816399d50d407bbce1efe9dbadf8faaaf568fc for pr-55538 Oct 31 17:04:30.757 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55538/worker-5/try#d7816399d50d407bbce1efe9dbadf8faaaf568fc:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-5/pr-55538/try#d7816399d50d407bbce1efe9dbadf8faaaf568fc:/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 +d7816399d50d407bbce1efe9dbadf8faaaf568fc-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.334 INFO blam! e698b927dc4f6afb9f293dd7bf00af18190e6c594562dcffcbdc162ea85ea24a Oct 31 17:04:31.336 INFO running `"docker" "start" "-a" "e698b927dc4f6afb9f293dd7bf00af18190e6c594562dcffcbdc162ea85ea24a"` Oct 31 17:04:33.529 INFO kablam! usermod: no changes Oct 31 17:04:33.591 INFO kablam! warning: An explicit [[bin]] section is specified in Cargo.toml which currently Oct 31 17:04:33.591 INFO kablam! disables Cargo from automatically inferring other binary targets. Oct 31 17:04:33.591 INFO kablam! This inference behavior will change in the Rust 2018 edition and the following Oct 31 17:04:33.591 INFO kablam! files will be included as a binary target: Oct 31 17:04:33.591 INFO kablam! Oct 31 17:04:33.591 INFO kablam! * /source/src/main.rs Oct 31 17:04:33.591 INFO kablam! Oct 31 17:04:33.591 INFO kablam! This is likely to break cargo build or cargo test as these files may not be Oct 31 17:04:33.591 INFO kablam! ready to be compiled as a binary target today. You can future-proof yourself Oct 31 17:04:33.591 INFO kablam! and disable this warning by adding `autobins = false` to your [package] Oct 31 17:04:33.592 INFO kablam! section. You may also move the files to a location where Cargo would not Oct 31 17:04:33.592 INFO kablam! automatically infer them to be a target, such as in subfolders. Oct 31 17:04:33.592 INFO kablam! Oct 31 17:04:33.592 INFO kablam! For more information on this warning you can consult Oct 31 17:04:33.592 INFO kablam! https://github.com/rust-lang/cargo/issues/5330 Oct 31 17:04:33.608 INFO kablam! Checking advent-of-code v0.1.0 (/source) Oct 31 17:04:34.272 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:34.272 INFO kablam! --> src/day3/two.rs:39:6 Oct 31 17:04:34.272 INFO kablam! | Oct 31 17:04:34.272 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 31 17:04:34.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:34.274 INFO kablam! | Oct 31 17:04:34.274 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:34.274 INFO kablam! Oct 31 17:04:34.274 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:34.274 INFO kablam! --> src/day3/two.rs:41:13 Oct 31 17:04:34.274 INFO kablam! | Oct 31 17:04:34.274 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 31 17:04:34.274 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:34.274 INFO kablam! Oct 31 17:04:35.109 INFO kablam! warning: variable does not need to be mutable Oct 31 17:04:35.110 INFO kablam! --> src/day3/two.rs:86:6 Oct 31 17:04:35.111 INFO kablam! | Oct 31 17:04:35.112 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 31 17:04:35.112 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 31 17:04:35.113 INFO kablam! | | Oct 31 17:04:35.114 INFO kablam! | help: remove this `mut` Oct 31 17:04:35.128 INFO kablam! | Oct 31 17:04:35.129 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 31 17:04:35.130 INFO kablam! Oct 31 17:04:35.431 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:35.431 INFO kablam! --> src/day3/one.rs:43:15 Oct 31 17:04:35.431 INFO kablam! | Oct 31 17:04:35.431 INFO kablam! 43 | let num = if (num > ring_half) { Oct 31 17:04:35.431 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:35.440 INFO kablam! | Oct 31 17:04:35.441 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:35.441 INFO kablam! Oct 31 17:04:36.552 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:36.552 INFO kablam! --> src/day3/one.rs:43:15 Oct 31 17:04:36.553 INFO kablam! | Oct 31 17:04:36.553 INFO kablam! 43 | let num = if (num > ring_half) { Oct 31 17:04:36.553 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:36.553 INFO kablam! | Oct 31 17:04:36.553 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:36.553 INFO kablam! Oct 31 17:04:36.812 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:36.812 INFO kablam! --> src/day3/two.rs:39:6 Oct 31 17:04:36.812 INFO kablam! | Oct 31 17:04:36.812 INFO kablam! 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Oct 31 17:04:36.812 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:36.812 INFO kablam! | Oct 31 17:04:36.812 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 31 17:04:36.812 INFO kablam! Oct 31 17:04:36.812 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 31 17:04:36.812 INFO kablam! --> src/day3/two.rs:41:13 Oct 31 17:04:36.812 INFO kablam! | Oct 31 17:04:36.812 INFO kablam! 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Oct 31 17:04:36.812 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 31 17:04:36.812 INFO kablam! Oct 31 17:04:36.916 INFO kablam! warning: variable does not need to be mutable Oct 31 17:04:36.916 INFO kablam! --> src/day3/two.rs:86:6 Oct 31 17:04:36.916 INFO kablam! | Oct 31 17:04:36.916 INFO kablam! 86 | let mut spiral_coord_iter = SpiralCoordIter { Oct 31 17:04:36.916 INFO kablam! | ----^^^^^^^^^^^^^^^^^ Oct 31 17:04:36.916 INFO kablam! | | Oct 31 17:04:36.916 INFO kablam! | help: remove this `mut` Oct 31 17:04:36.916 INFO kablam! | Oct 31 17:04:36.916 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 31 17:04:36.916 INFO kablam! Oct 31 17:04:37.141 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.58s Oct 31 17:04:37.149 INFO kablam! su: No module specific data is present Oct 31 17:04:38.248 INFO running `"docker" "rm" "-f" "e698b927dc4f6afb9f293dd7bf00af18190e6c594562dcffcbdc162ea85ea24a"` Oct 31 17:04:38.612 INFO blam! e698b927dc4f6afb9f293dd7bf00af18190e6c594562dcffcbdc162ea85ea24a