[INFO] cloning repository https://github.com/tylerhawkes/adventofcode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylerhawkes/adventofcode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerhawkes%2Fadventofcode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerhawkes%2Fadventofcode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c17ae77eb1b4b472b1cb8253fce7677f18cb890 [INFO] checking tylerhawkes/adventofcode2019 against try#9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c for pr-79472 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerhawkes%2Fadventofcode2019" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylerhawkes/adventofcode2019 on toolchain 9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tylerhawkes/adventofcode2019 [INFO] finished tweaking git repo https://github.com/tylerhawkes/adventofcode2019 [INFO] tweaked toml for git repo https://github.com/tylerhawkes/adventofcode2019 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tylerhawkes/adventofcode2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af6252f1f9d832df49ba3bfbfe80567b730d3c938cf93f4d2c55eceeadad171a [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" "af6252f1f9d832df49ba3bfbfe80567b730d3c938cf93f4d2c55eceeadad171a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af6252f1f9d832df49ba3bfbfe80567b730d3c938cf93f4d2c55eceeadad171a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6252f1f9d832df49ba3bfbfe80567b730d3c938cf93f4d2c55eceeadad171a", kill_on_drop: false }` [INFO] [stdout] af6252f1f9d832df49ba3bfbfe80567b730d3c938cf93f4d2c55eceeadad171a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0ba18778a169d14c7d8e4fbd2010094fe1b66e2bdb5ffc772cff1e91e2a69e5 [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" "d0ba18778a169d14c7d8e4fbd2010094fe1b66e2bdb5ffc772cff1e91e2a69e5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking adventofcode2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/bin/day16.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Choose feature part-one or part-two [INFO] [stdout] --> src/bin/day04.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("Choose feature part-one or part-two"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/bin/day18.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BinaryHeap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Input(_)` not covered [INFO] [stdout] --> src/bin/day05.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 61 | / enum OpCode { [INFO] [stdout] 62 | | Add(ParameterMode, ParameterMode, ParameterMode), [INFO] [stdout] 63 | | Multiply(ParameterMode, ParameterMode, ParameterMode), [INFO] [stdout] 64 | | Input(ParameterMode), [INFO] [stdout] | | ----- not covered [INFO] [stdout] ... | [INFO] [stdout] 74 | | Equals(ParameterMode, ParameterMode, ParameterMode), [INFO] [stdout] 75 | | } [INFO] [stdout] | |_- `OpCode` defined here [INFO] [stdout] ... [INFO] [stdout] 104 | match self { [INFO] [stdout] | ^^^^ pattern `Input(_)` not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `OpCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/bin/day05.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | fn move_position(self, current: usize, codes: &[i32]) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `double` in this scope [INFO] [stdout] --> src/bin/day04.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | increasing && double [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut new_elements = self [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] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/bin/day19.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/day19.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optimize_thrust` in this scope [INFO] [stdout] --> src/bin/day07.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let max_thrust = optimize_thrust(&base_program); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2019` [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tunnels` [INFO] [stdout] --> src/bin/day18.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | let tunnels = input.parse::().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tunnels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doors` [INFO] [stdout] --> src/bin/day18.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let doors = self.doors(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_doors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/bin/day18.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let dist = while !searcher.is_empty() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/bin/day11.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | fn name(mut self, s: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `i` [INFO] [stdout] --> src/bin/day11.rs:263:6 [INFO] [stdout] | [INFO] [stdout] 263 | fn i(mut self, i: I) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/bin/day19.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 128 | fn name(mut self, s: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/bin/day11.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | fn name(mut self, s: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `i` [INFO] [stdout] --> src/bin/day11.rs:263:6 [INFO] [stdout] | [INFO] [stdout] 263 | fn i(mut self, i: I) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `possible_moves` [INFO] [stdout] --> src/bin/day18.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | fn possible_moves(self) -> [Self; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `possible_moves` [INFO] [stdout] --> src/bin/day18.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | fn possible_moves(&self) -> [Self; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_door` [INFO] [stdout] --> src/bin/day18.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | fn with_door(mut self, d: char) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_key` [INFO] [stdout] --> src/bin/day18.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | fn with_key(mut self, k: char) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_shortest_distance` [INFO] [stdout] --> src/bin/day18.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | fn find_shortest_distance(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_distances_to_all_keys_from_coord` [INFO] [stdout] --> src/bin/day18.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | fn find_distances_to_all_keys_from_coord( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `entrance` [INFO] [stdout] --> src/bin/day18.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | fn entrance(&self) -> Coord { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `doors` [INFO] [stdout] --> src/bin/day18.rs:310:6 [INFO] [stdout] | [INFO] [stdout] 310 | fn doors(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keys` [INFO] [stdout] --> src/bin/day18.rs:317:6 [INFO] [stdout] | [INFO] [stdout] 317 | fn keys(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_passable` [INFO] [stdout] --> src/bin/day18.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | fn is_passable(self, collected_keys: &HashSet) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_door` [INFO] [stdout] --> src/bin/day18.rs:349:6 [INFO] [stdout] | [INFO] [stdout] 349 | fn is_door(self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_key` [INFO] [stdout] --> src/bin/day18.rs:356:6 [INFO] [stdout] | [INFO] [stdout] 356 | fn is_key(self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/bin/day17.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | fn break_down_commands(&mut self, commands: Vec) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/bin/day17.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | fn name(mut self, s: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/bin/day17.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | fn break_down_commands(&mut self, commands: Vec) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/bin/day17.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | fn name(mut self, s: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day10.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(most_visible, 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `((usize, usize), usize)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d0ba18778a169d14c7d8e4fbd2010094fe1b66e2bdb5ffc772cff1e91e2a69e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ba18778a169d14c7d8e4fbd2010094fe1b66e2bdb5ffc772cff1e91e2a69e5", kill_on_drop: false }` [INFO] [stdout] d0ba18778a169d14c7d8e4fbd2010094fe1b66e2bdb5ffc772cff1e91e2a69e5