[INFO] updating cached repository https://github.com/tylerhawkes/adventofcode2019 [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] 9c17ae77eb1b4b472b1cb8253fce7677f18cb890 [INFO] testing tylerhawkes/adventofcode2019 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [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 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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" "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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6404bdf38915440d34e7d5033aad167efa890b3758ef688cef2077d01613e59c [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" "6404bdf38915440d34e7d5033aad167efa890b3758ef688cef2077d01613e59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6404bdf38915440d34e7d5033aad167efa890b3758ef688cef2077d01613e59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6404bdf38915440d34e7d5033aad167efa890b3758ef688cef2077d01613e59c", kill_on_drop: false }` [INFO] [stdout] 6404bdf38915440d34e7d5033aad167efa890b3758ef688cef2077d01613e59c [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" "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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a9521e68ac9f4be23f5f50c0dcafbd53cdd2e92d1dd515109f5465e468dda2c [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" "6a9521e68ac9f4be23f5f50c0dcafbd53cdd2e92d1dd515109f5465e468dda2c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling 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] 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[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] warning: unused imports: `Display`, `Error`, `Formatter` [INFO] [stdout] --> src/bin/day15.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Error, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day23.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 'outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [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] 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: `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] [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] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [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: `print` [INFO] [stdout] --> src/bin/day15.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 187 | fn print(&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/day15.rs:317:6 [INFO] [stdout] | [INFO] [stdout] 317 | fn name(mut self, s: impl Into) -> Self { [INFO] [stdout] | ^^^^ [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6a9521e68ac9f4be23f5f50c0dcafbd53cdd2e92d1dd515109f5465e468dda2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a9521e68ac9f4be23f5f50c0dcafbd53cdd2e92d1dd515109f5465e468dda2c", kill_on_drop: false }` [INFO] [stdout] 6a9521e68ac9f4be23f5f50c0dcafbd53cdd2e92d1dd515109f5465e468dda2c