[INFO] cloning repository https://github.com/agmcleod/adventofcode-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agmcleod/adventofcode-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmcleod%2Fadventofcode-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmcleod%2Fadventofcode-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1e8338290905d5c8f8d7d23dbe079f13134e4d1 [INFO] testing agmcleod/adventofcode-2019 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmcleod%2Fadventofcode-2019" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agmcleod/adventofcode-2019 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agmcleod/adventofcode-2019 [INFO] finished tweaking git repo https://github.com/agmcleod/adventofcode-2019 [INFO] tweaked toml for git repo https://github.com/agmcleod/adventofcode-2019 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/agmcleod/adventofcode-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded permutohedron v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0304f0a235b1e6d897e0f964d741b4972857d9e09da941aa5adab4acb0a23a3 [INFO] running `Command { std: "docker" "start" "-a" "f0304f0a235b1e6d897e0f964d741b4972857d9e09da941aa5adab4acb0a23a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0304f0a235b1e6d897e0f964d741b4972857d9e09da941aa5adab4acb0a23a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0304f0a235b1e6d897e0f964d741b4972857d9e09da941aa5adab4acb0a23a3", kill_on_drop: false }` [INFO] [stdout] f0304f0a235b1e6d897e0f964d741b4972857d9e09da941aa5adab4acb0a23a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c89af348c00b16e61ba7eea9b20b13106de26b268369c6e2292436e5796f48f [INFO] running `Command { std: "docker" "start" "-a" "1c89af348c00b16e61ba7eea9b20b13106de26b268369c6e2292436e5796f48f", kill_on_drop: false }` [INFO] [stderr] Compiling read_input v0.1.0 (/opt/rustwide/workdir/read_input) [INFO] [stderr] Compiling intcode v0.1.0 (/opt/rustwide/workdir/intcode) [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling twelve v0.1.0 (/opt/rustwide/workdir/12) [INFO] [stderr] Compiling four v0.1.0 (/opt/rustwide/workdir/4) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling eightteen v0.1.0 (/opt/rustwide/workdir/18) [INFO] [stderr] Compiling twentyfour v0.1.0 (/opt/rustwide/workdir/24) [INFO] [stderr] Compiling eleven v0.1.0 (/opt/rustwide/workdir/11) [INFO] [stderr] Compiling nine v0.1.0 (/opt/rustwide/workdir/9) [INFO] [stderr] Compiling five v0.1.0 (/opt/rustwide/workdir/5) [INFO] [stderr] Compiling fourteen v0.1.0 (/opt/rustwide/workdir/14) [INFO] [stderr] Compiling eight v0.1.0 (/opt/rustwide/workdir/8) [INFO] [stderr] Compiling ten v0.1.0 (/opt/rustwide/workdir/10) [INFO] [stderr] Compiling one v0.1.0 (/opt/rustwide/workdir/1) [INFO] [stderr] Compiling six v0.1.0 (/opt/rustwide/workdir/6) [INFO] [stderr] Compiling two v0.1.0 (/opt/rustwide/workdir/2) [INFO] [stderr] Compiling sixteen v0.1.0 (/opt/rustwide/workdir/16) [INFO] [stderr] Compiling three v0.1.0 (/opt/rustwide/workdir/3) [INFO] [stderr] Compiling twenty v0.1.0 (/opt/rustwide/workdir/20) [INFO] [stderr] Compiling twentyone v0.1.0 (/opt/rustwide/workdir/21) [INFO] [stderr] Compiling twentyfive v0.1.0 (/opt/rustwide/workdir/25) [INFO] [stderr] Compiling fifteen v0.1.0 (/opt/rustwide/workdir/15) [INFO] [stderr] Compiling twentythree v0.1.0 (/opt/rustwide/workdir/23) [INFO] [stderr] Compiling thirteen v0.1.0 (/opt/rustwide/workdir/13) [INFO] [stderr] Compiling nineteen v0.1.0 (/opt/rustwide/workdir/19) [INFO] [stderr] Compiling seventeen v0.1.0 (/opt/rustwide/workdir/17) [INFO] [stderr] Compiling seven v0.1.0 (/opt/rustwide/workdir/7) [INFO] [stdout] warning: unused label [INFO] [stdout] --> 23/src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 'main: loop { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> 23/src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 32 | / 'main: loop { [INFO] [stdout] 33 | | let mut sent_packets_this_step = false; [INFO] [stdout] 34 | | for address in 0..nics.len() { [INFO] [stdout] 35 | | let ai64 = address as i64; [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 89 | [INFO] [stdout] 90 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_to_addr_zero` [INFO] [stdout] --> 23/src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut sent_to_addr_zero = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_to_addr_zero` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> 23/src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut sent_to_addr_zero = 0; [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: function is never used: `part_one` [INFO] [stdout] --> 5/src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn part_one(base_program: &Vec, working_numbers: &mut Vec) { [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] --> 13/src/main.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | if output_counter == 1 { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 37 | | tile.0 = output; [INFO] [stdout] 38 | | } else if output_counter == 2 { [INFO] [stdout] | |_________^ expected `bool`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> 13/src/main.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | } else if output_counter == 2 { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 39 | | tile.1 = output; [INFO] [stdout] 40 | | } else { [INFO] [stdout] | |_________^ expected `bool`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> 13/src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 41 | | tile.2 = TileType::from_number(output as usize); [INFO] [stdout] 42 | | output_counter = 0; [INFO] [stdout] 43 | | tiles.push(tile); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ expected `bool`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Direction::Down` [INFO] [stdout] --> 15/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Direction::Down; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> 15/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> 15/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> 3/src/math.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | (q.0 <= max(p.0, r.0) && q.0 >= min(p.0, r.0) && q.1 <= max(p.1, r.1) && q.1 >= min(p.1, r.1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - (q.0 <= max(p.0, r.0) && q.0 >= min(p.0, r.0) && q.1 <= max(p.1, r.1) && q.1 >= min(p.1, r.1)) [INFO] [stdout] 9 + q.0 <= max(p.0, r.0) && q.0 >= min(p.0, r.0) && q.1 <= max(p.1, r.1) && q.1 >= min(p.1, r.1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> 25/src/main.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | intcode::run_program(&mut program, true, |state, value| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thirteen` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> 15/src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> 17/src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FacingDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 17/src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> 17/src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FacingDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 17/src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> 17/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FacingDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 17/src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> 17/src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FacingDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 17/src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> 17/src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn rotate(&mut self, turn: TurnDirection) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> 17/src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TurnDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 17/src/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> 17/src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TurnDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 17/src/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_string` [INFO] [stdout] --> 17/src/main.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `move_by_direction` [INFO] [stdout] --> 17/src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn move_by_direction(tiles: &Tiles, coord: &mut Coord, direction: &FacingDirection) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_commands` [INFO] [stdout] --> 17/src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn build_commands(tiles: &Tiles, robot_coord: &Coord) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_next_index` [INFO] [stdout] --> 17/src/main.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn get_next_index( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1c89af348c00b16e61ba7eea9b20b13106de26b268369c6e2292436e5796f48f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c89af348c00b16e61ba7eea9b20b13106de26b268369c6e2292436e5796f48f", kill_on_drop: false }` [INFO] [stdout] 1c89af348c00b16e61ba7eea9b20b13106de26b268369c6e2292436e5796f48f