[INFO] updating cached repository https://github.com/imccoy/advent-of-code-2019 [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] 0ec62ec9ab678935061884adf6376d22cf5c4ba7 [INFO] checking imccoy/advent-of-code-2019 against try#0ab79c4b48ad19260fa46623f452c1b403a360e8 for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimccoy%2Fadvent-of-code-2019" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imccoy/advent-of-code-2019 on toolchain 0ab79c4b48ad19260fa46623f452c1b403a360e8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imccoy/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/imccoy/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/imccoy/advent-of-code-2019 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/imccoy/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 728fb4ae69f3e8ae94a1b85443e550d4f2f21ea3c322b684bd72feaf11cfad5f [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" "728fb4ae69f3e8ae94a1b85443e550d4f2f21ea3c322b684bd72feaf11cfad5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "728fb4ae69f3e8ae94a1b85443e550d4f2f21ea3c322b684bd72feaf11cfad5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "728fb4ae69f3e8ae94a1b85443e550d4f2f21ea3c322b684bd72feaf11cfad5f", kill_on_drop: false }` [INFO] [stdout] 728fb4ae69f3e8ae94a1b85443e550d4f2f21ea3c322b684bd72feaf11cfad5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTFLAGS=--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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47392fd717ecf65cf2654f32b66d6f255219d9d219f1f047e8f170c2d06bd2ac [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" "47392fd717ecf65cf2654f32b66d6f255219d9d219f1f047e8f170c2d06bd2ac", kill_on_drop: false }` [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day14.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | if (already_made >= goal_quantity) { [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/day14.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if (excess != 0) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `output_iter` in module `intcode` [INFO] [stdout] --> src/day17.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | for output in intcode::output_iter(program) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `intcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day17.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_derive::FromPrimitive` [INFO] [stdout] --> src/day17.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num_derive::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::cast::FromPrimitive` [INFO] [stdout] --> src/day17.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num_traits::cast::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/day12b.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | while (done_x.is_none() || done_y.is_none() || done_z.is_none()) { [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/day12b.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | if (done_x.is_none()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day12b.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if (done_y.is_none()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day12b.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if (done_z.is_none()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day10b.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | if (asteroid_number > 200) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day10b.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 113 | / loop { [INFO] [stdout] 114 | | for mut grouped_asteroid_set in &mut grouped_asteroid_sets { [INFO] [stdout] 115 | | match grouped_asteroid_set.first() { [INFO] [stdout] 116 | | None => { [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 129 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day10b.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | for mut grouped_asteroid_set in &mut grouped_asteroid_sets { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day10b.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | for mut grouped_asteroid_set in &mut grouped_asteroid_sets { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAP_WIDTH` [INFO] [stdout] --> src/day10b.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const MAP_WIDTH : i32 = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAP_HEIGHT` [INFO] [stdout] --> src/day10b.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const MAP_HEIGHT : i32 = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asteroid_blocked` [INFO] [stdout] --> src/day10b.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn asteroid_blocked((asteroid_x, asteroid_y) : (i32, i32), (start_x, start_y): (i32, i32), (potential_blocker_x, potential_blocker_y) : (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_moon` [INFO] [stdout] --> src/day12b.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn print_moon(moon : &Moon) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_moons` [INFO] [stdout] --> src/day12b.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn print_moons(moons : &Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "47392fd717ecf65cf2654f32b66d6f255219d9d219f1f047e8f170c2d06bd2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47392fd717ecf65cf2654f32b66d6f255219d9d219f1f047e8f170c2d06bd2ac", kill_on_drop: false }` [INFO] [stdout] 47392fd717ecf65cf2654f32b66d6f255219d9d219f1f047e8f170c2d06bd2ac