[INFO] updating cached repository https://github.com/Bammerbom/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dd3bfaf54f00ea4e20c1e829923eb7d9dafa0ab [INFO] documenting Bammerbom/aoc2019 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBammerbom%2Faoc2019" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bammerbom/aoc2019 on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bammerbom/aoc2019 [INFO] finished tweaking git repo https://github.com/Bammerbom/aoc2019 [INFO] tweaked toml for git repo https://github.com/Bammerbom/aoc2019 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Bammerbom/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec5fe65af5e8c9ef5fa2df584023df3f065215ce5e01007c6523ea57aeecb4f5 [INFO] running `Command { std: "docker" "start" "-a" "ec5fe65af5e8c9ef5fa2df584023df3f065215ce5e01007c6523ea57aeecb4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec5fe65af5e8c9ef5fa2df584023df3f065215ce5e01007c6523ea57aeecb4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5fe65af5e8c9ef5fa2df584023df3f065215ce5e01007c6523ea57aeecb4f5", kill_on_drop: false }` [INFO] [stdout] ec5fe65af5e8c9ef5fa2df584023df3f065215ce5e01007c6523ea57aeecb4f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03b013aa6454005ddc8c06f25ca7ecf6cbfcf611da76822ca84d7dba92773db0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "03b013aa6454005ddc8c06f25ca7ecf6cbfcf611da76822ca84d7dba92773db0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking modinverse v0.1.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Documenting aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day6/main2.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | if(from == "SAN") { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day6/main2.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | if(out.is_some()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day9/main2.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day10/main1.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | if(count > max) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day10/main1.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | if ((slope_p2p1.is_infinite() && slope_tp1.is_infinite()) [INFO] [stdout] | ________^ [INFO] [stdout] 77 | | || (slope_tp1-slope_p2p1).abs() < 0.000001) { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 | if (slope_p2p1.is_infinite() && slope_tp1.is_infinite()) [INFO] [stdout] 77 | || (slope_tp1-slope_p2p1).abs() < 0.000001 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day11/main1.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 290 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day13/main2.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | if (program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day13/main1.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day15/main2.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn explore2(state: ProgramState) -> (i64) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day15/main2.rs:412:7 [INFO] [stdout] | [INFO] [stdout] 412 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day15/main1.rs:336:7 [INFO] [stdout] | [INFO] [stdout] 336 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day17/main2.rs:560:7 [INFO] [stdout] | [INFO] [stdout] 560 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day17/main1.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day19/main2.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day19/main1.rs:258:7 [INFO] [stdout] | [INFO] [stdout] 258 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day21/main2.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day21/main1.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day23/main2.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day23/main1.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 290 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/day25/main1.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn neighbours(output_str: &String) -> HashSet<(Direction)> { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day25/main1.rs:435:7 [INFO] [stdout] | [INFO] [stdout] 435 | if(program.memory.len() <= index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.35s [INFO] running `Command { std: "docker" "inspect" "03b013aa6454005ddc8c06f25ca7ecf6cbfcf611da76822ca84d7dba92773db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b013aa6454005ddc8c06f25ca7ecf6cbfcf611da76822ca84d7dba92773db0", kill_on_drop: false }` [INFO] [stdout] 03b013aa6454005ddc8c06f25ca7ecf6cbfcf611da76822ca84d7dba92773db0