Dec 19 04:31:32.229 INFO checking zovt/advent-of-code-2017 against try#e70472fc501b855c9080f3772432c10fe20b8866 for pr-56955 Dec 19 04:31:32.229 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56955/worker-3/try#e70472fc501b855c9080f3772432c10fe20b8866:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-56955/sources/try#e70472fc501b855c9080f3772432c10fe20b8866/gh/zovt/advent-of-code-2017:/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" "-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" "+e70472fc501b855c9080f3772432c10fe20b8866-alt" "check" "--frozen" "--all" "--all-targets"` Dec 19 04:31:32.760 INFO [stdout] bf413e21166d159b743afce64c0c34757fc1920c28b5b9aa7389dcc385910053 Dec 19 04:31:32.764 INFO running `"docker" "start" "-a" "bf413e21166d159b743afce64c0c34757fc1920c28b5b9aa7389dcc385910053"` Dec 19 04:31:35.109 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Dec 19 04:31:35.109 INFO [stderr] disables Cargo from automatically inferring other binary targets. Dec 19 04:31:35.109 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Dec 19 04:31:35.109 INFO [stderr] files will be included as a binary target: Dec 19 04:31:35.109 INFO [stderr] Dec 19 04:31:35.109 INFO [stderr] * /opt/crater/workdir/src/main.rs Dec 19 04:31:35.109 INFO [stderr] Dec 19 04:31:35.109 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Dec 19 04:31:35.109 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Dec 19 04:31:35.109 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Dec 19 04:31:35.109 INFO [stderr] section. You may also move the files to a location where Cargo would not Dec 19 04:31:35.109 INFO [stderr] automatically infer them to be a target, such as in subfolders. Dec 19 04:31:35.109 INFO [stderr] Dec 19 04:31:35.109 INFO [stderr] For more information on this warning you can consult Dec 19 04:31:35.109 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Dec 19 04:31:35.114 INFO [stderr] Checking advent-of-code v0.1.0 (/opt/crater/workdir) Dec 19 04:31:36.604 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 19 04:31:36.605 INFO [stderr] --> src/day3/two.rs:39:6 Dec 19 04:31:36.605 INFO [stderr] | Dec 19 04:31:36.605 INFO [stderr] 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Dec 19 04:31:36.606 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 19 04:31:36.606 INFO [stderr] | Dec 19 04:31:36.606 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 19 04:31:36.606 INFO [stderr] Dec 19 04:31:36.607 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 19 04:31:36.607 INFO [stderr] --> src/day3/two.rs:41:13 Dec 19 04:31:36.608 INFO [stderr] | Dec 19 04:31:36.608 INFO [stderr] 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Dec 19 04:31:36.608 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 19 04:31:36.608 INFO [stderr] Dec 19 04:31:36.708 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 19 04:31:36.709 INFO [stderr] --> src/day3/two.rs:39:6 Dec 19 04:31:36.709 INFO [stderr] | Dec 19 04:31:36.709 INFO [stderr] 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Dec 19 04:31:36.709 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 19 04:31:36.709 INFO [stderr] | Dec 19 04:31:36.709 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 19 04:31:36.709 INFO [stderr] Dec 19 04:31:36.709 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 19 04:31:36.709 INFO [stderr] --> src/day3/two.rs:41:13 Dec 19 04:31:36.709 INFO [stderr] | Dec 19 04:31:36.709 INFO [stderr] 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Dec 19 04:31:36.709 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 19 04:31:36.709 INFO [stderr] Dec 19 04:31:36.904 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 19 04:31:36.905 INFO [stderr] --> src/day3/one.rs:43:15 Dec 19 04:31:36.905 INFO [stderr] | Dec 19 04:31:36.905 INFO [stderr] 43 | let num = if (num > ring_half) { Dec 19 04:31:36.906 INFO [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 19 04:31:36.921 INFO [stderr] | Dec 19 04:31:36.921 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 19 04:31:36.921 INFO [stderr] Dec 19 04:31:37.244 INFO [stderr] warning: variable does not need to be mutable Dec 19 04:31:37.244 INFO [stderr] --> src/day3/two.rs:86:6 Dec 19 04:31:37.244 INFO [stderr] | Dec 19 04:31:37.244 INFO [stderr] 86 | let mut spiral_coord_iter = SpiralCoordIter { Dec 19 04:31:37.244 INFO [stderr] | ----^^^^^^^^^^^^^^^^^ Dec 19 04:31:37.244 INFO [stderr] | | Dec 19 04:31:37.244 INFO [stderr] | help: remove this `mut` Dec 19 04:31:37.248 INFO [stderr] | Dec 19 04:31:37.252 INFO [stderr] = note: #[warn(unused_mut)] on by default Dec 19 04:31:37.252 INFO [stderr] Dec 19 04:31:37.398 INFO [stderr] warning: variable does not need to be mutable Dec 19 04:31:37.398 INFO [stderr] --> src/day3/two.rs:86:6 Dec 19 04:31:37.398 INFO [stderr] | Dec 19 04:31:37.398 INFO [stderr] 86 | let mut spiral_coord_iter = SpiralCoordIter { Dec 19 04:31:37.398 INFO [stderr] | ----^^^^^^^^^^^^^^^^^ Dec 19 04:31:37.398 INFO [stderr] | | Dec 19 04:31:37.398 INFO [stderr] | help: remove this `mut` Dec 19 04:31:37.412 INFO [stderr] | Dec 19 04:31:37.412 INFO [stderr] = note: #[warn(unused_mut)] on by default Dec 19 04:31:37.412 INFO [stderr] Dec 19 04:31:37.934 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 19 04:31:37.934 INFO [stderr] --> src/day3/one.rs:43:15 Dec 19 04:31:37.934 INFO [stderr] | Dec 19 04:31:37.934 INFO [stderr] 43 | let num = if (num > ring_half) { Dec 19 04:31:37.935 INFO [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 19 04:31:37.935 INFO [stderr] | Dec 19 04:31:37.935 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 19 04:31:37.935 INFO [stderr] Dec 19 04:31:38.255 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.18s Dec 19 04:31:39.548 INFO running `"docker" "inspect" "bf413e21166d159b743afce64c0c34757fc1920c28b5b9aa7389dcc385910053"` Dec 19 04:31:39.898 INFO running `"docker" "rm" "-f" "bf413e21166d159b743afce64c0c34757fc1920c28b5b9aa7389dcc385910053"` Dec 19 04:31:40.160 INFO [stdout] bf413e21166d159b743afce64c0c34757fc1920c28b5b9aa7389dcc385910053