Dec 17 10:49:51.012 INFO checking zovt/advent-of-code-2017 against try#0b8c5828f68d7b2840b81fa51239346dc97fef5a for pr-54252 Dec 17 10:49:51.012 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-54252/worker-5/try#0b8c5828f68d7b2840b81fa51239346dc97fef5a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-54252/sources/try#0b8c5828f68d7b2840b81fa51239346dc97fef5a/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" "+0b8c5828f68d7b2840b81fa51239346dc97fef5a-alt" "check" "--frozen" "--all" "--all-targets"` Dec 17 10:49:51.510 INFO [stdout] 671f22808dd34a24ff3cd2df24ad2fefe7244a407c4a9aba140d77e424985e91 Dec 17 10:49:51.512 INFO running `"docker" "start" "-a" "671f22808dd34a24ff3cd2df24ad2fefe7244a407c4a9aba140d77e424985e91"` Dec 17 10:49:53.740 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Dec 17 10:49:53.740 INFO [stderr] disables Cargo from automatically inferring other binary targets. Dec 17 10:49:53.740 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Dec 17 10:49:53.740 INFO [stderr] files will be included as a binary target: Dec 17 10:49:53.740 INFO [stderr] Dec 17 10:49:53.740 INFO [stderr] * /opt/crater/workdir/src/main.rs Dec 17 10:49:53.740 INFO [stderr] Dec 17 10:49:53.740 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Dec 17 10:49:53.740 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Dec 17 10:49:53.740 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Dec 17 10:49:53.740 INFO [stderr] section. You may also move the files to a location where Cargo would not Dec 17 10:49:53.740 INFO [stderr] automatically infer them to be a target, such as in subfolders. Dec 17 10:49:53.740 INFO [stderr] Dec 17 10:49:53.740 INFO [stderr] For more information on this warning you can consult Dec 17 10:49:53.740 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Dec 17 10:49:53.746 INFO [stderr] Checking advent-of-code v0.1.0 (/opt/crater/workdir) Dec 17 10:49:54.286 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 17 10:49:54.286 INFO [stderr] --> src/day3/two.rs:39:6 Dec 17 10:49:54.286 INFO [stderr] | Dec 17 10:49:54.286 INFO [stderr] 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Dec 17 10:49:54.286 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 17 10:49:54.286 INFO [stderr] | Dec 17 10:49:54.286 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 17 10:49:54.286 INFO [stderr] Dec 17 10:49:54.286 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 17 10:49:54.286 INFO [stderr] --> src/day3/two.rs:41:13 Dec 17 10:49:54.286 INFO [stderr] | Dec 17 10:49:54.286 INFO [stderr] 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Dec 17 10:49:54.286 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 17 10:49:54.286 INFO [stderr] Dec 17 10:49:54.868 INFO [stderr] warning: variable does not need to be mutable Dec 17 10:49:54.868 INFO [stderr] --> src/day3/two.rs:86:6 Dec 17 10:49:54.868 INFO [stderr] | Dec 17 10:49:54.868 INFO [stderr] 86 | let mut spiral_coord_iter = SpiralCoordIter { Dec 17 10:49:54.868 INFO [stderr] | ----^^^^^^^^^^^^^^^^^ Dec 17 10:49:54.868 INFO [stderr] | | Dec 17 10:49:54.868 INFO [stderr] | help: remove this `mut` Dec 17 10:49:54.892 INFO [stderr] | Dec 17 10:49:54.892 INFO [stderr] = note: #[warn(unused_mut)] on by default Dec 17 10:49:54.892 INFO [stderr] Dec 17 10:49:56.079 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 17 10:49:56.079 INFO [stderr] --> src/day3/two.rs:39:6 Dec 17 10:49:56.079 INFO [stderr] | Dec 17 10:49:56.079 INFO [stderr] 39 | if (r.0 - 1 == -r.1 && self == SpiralDirection::Right) { Dec 17 10:49:56.079 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 17 10:49:56.088 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 17 10:49:56.088 INFO [stderr] --> src/day3/one.rs:43:15 Dec 17 10:49:56.089 INFO [stderr] | Dec 17 10:49:56.089 INFO [stderr] 43 | let num = if (num > ring_half) { Dec 17 10:49:56.089 INFO [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 17 10:49:56.089 INFO [stderr] | Dec 17 10:49:56.090 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 17 10:49:56.090 INFO [stderr] Dec 17 10:49:56.090 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 17 10:49:56.090 INFO [stderr] --> src/day3/two.rs:41:13 Dec 17 10:49:56.090 INFO [stderr] | Dec 17 10:49:56.090 INFO [stderr] 41 | } else if (r.0.abs() == r.1.abs() && self != SpiralDirection::Right) { Dec 17 10:49:56.090 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 17 10:49:56.090 INFO [stderr] Dec 17 10:49:56.090 INFO [stderr] | Dec 17 10:49:56.090 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 17 10:49:56.092 INFO [stderr] Dec 17 10:49:56.108 INFO [stderr] warning: unnecessary parentheses around `if` condition Dec 17 10:49:56.108 INFO [stderr] --> src/day3/one.rs:43:15 Dec 17 10:49:56.108 INFO [stderr] | Dec 17 10:49:56.108 INFO [stderr] 43 | let num = if (num > ring_half) { Dec 17 10:49:56.108 INFO [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Dec 17 10:49:56.124 INFO [stderr] | Dec 17 10:49:56.124 INFO [stderr] = note: #[warn(unused_parens)] on by default Dec 17 10:49:56.124 INFO [stderr] Dec 17 10:49:56.530 INFO [stderr] warning: variable does not need to be mutable Dec 17 10:49:56.530 INFO [stderr] --> src/day3/two.rs:86:6 Dec 17 10:49:56.530 INFO [stderr] | Dec 17 10:49:56.530 INFO [stderr] 86 | let mut spiral_coord_iter = SpiralCoordIter { Dec 17 10:49:56.530 INFO [stderr] | ----^^^^^^^^^^^^^^^^^ Dec 17 10:49:56.530 INFO [stderr] | | Dec 17 10:49:56.530 INFO [stderr] | help: remove this `mut` Dec 17 10:49:56.530 INFO [stderr] | Dec 17 10:49:56.530 INFO [stderr] = note: #[warn(unused_mut)] on by default Dec 17 10:49:56.530 INFO [stderr] Dec 17 10:49:56.549 INFO [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.83s Dec 17 10:49:57.458 INFO running `"docker" "inspect" "671f22808dd34a24ff3cd2df24ad2fefe7244a407c4a9aba140d77e424985e91"` Dec 17 10:49:57.740 INFO running `"docker" "rm" "-f" "671f22808dd34a24ff3cd2df24ad2fefe7244a407c4a9aba140d77e424985e91"` Dec 17 10:49:58.064 INFO [stdout] 671f22808dd34a24ff3cd2df24ad2fefe7244a407c4a9aba140d77e424985e91