[INFO] cloning repository https://github.com/cpdean/aoc_2019_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpdean/aoc_2019_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdean%2Faoc_2019_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdean%2Faoc_2019_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89ebae6331d4ed3de8e75ea5f7d595cbc71db266 [INFO] checking cpdean/aoc_2019_rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdean%2Faoc_2019_rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cpdean/aoc_2019_rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cpdean/aoc_2019_rust [INFO] finished tweaking git repo https://github.com/cpdean/aoc_2019_rust [INFO] tweaked toml for git repo https://github.com/cpdean/aoc_2019_rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/cpdean/aoc_2019_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33337a592d8eb519e009ef46b9992ace5e3ac47fb4903dbecd9aa6bf38de3c1b [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" "33337a592d8eb519e009ef46b9992ace5e3ac47fb4903dbecd9aa6bf38de3c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33337a592d8eb519e009ef46b9992ace5e3ac47fb4903dbecd9aa6bf38de3c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33337a592d8eb519e009ef46b9992ace5e3ac47fb4903dbecd9aa6bf38de3c1b", kill_on_drop: false }` [INFO] [stdout] 33337a592d8eb519e009ef46b9992ace5e3ac47fb4903dbecd9aa6bf38de3c1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c9839f5da3f11d0a92791a9c5eb798f0f1e05932c93b411a00e2c06df78718f [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" "9c9839f5da3f11d0a92791a9c5eb798f0f1e05932c93b411a00e2c06df78718f", kill_on_drop: false }` [INFO] [stderr] Checking old_days v0.1.0 (/opt/rustwide/workdir/old_days) [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/day16) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Checking day20 v0.1.0 (/opt/rustwide/workdir/day20) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Checking day22 v0.1.0 (/opt/rustwide/workdir/day22) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> day14/src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day16/src/main.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | .filter(|(i, e)| *e != 0) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> day16/src/main.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|(i, e)| i) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> day16/src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let len = s.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_little` [INFO] [stdout] --> day16/src/main.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | for (i_little, (left, right)) in self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i_little` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_tree` [INFO] [stdout] --> day16/src/main.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn calc_tree(index: &usize, len: &usize) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> day14/src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | quantity, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_rule` [INFO] [stdout] --> day14/src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let target_rule = all_rules [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_ore` [INFO] [stdout] --> day14/src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn how_many_fuel(number_of_ore: i32, target: Ingredient, all_rules: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_ore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotYet` [INFO] [stdout] --> day22/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NotYet(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many_fuel` [INFO] [stdout] --> day14/src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn how_many_fuel(number_of_ore: i32, target: Ingredient, all_rules: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> day14/src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | quantity, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_rule` [INFO] [stdout] --> day14/src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let target_rule = all_rules [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_ore` [INFO] [stdout] --> day14/src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn how_many_fuel(number_of_ore: i32, target: Ingredient, all_rules: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_ore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotYet` [INFO] [stdout] --> day22/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NotYet(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> old_days/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | .filter(|((x, y), cell_type)| cell_type == &CellType::Ball) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | .filter(|((x, y), cell_type)| cell_type == &CellType::Ball) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | .filter(|((x, y), cell_type)| cell_type == &CellType::Paddle) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | .filter(|((x, y), cell_type)| cell_type == &CellType::Paddle) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:485:36 [INFO] [stdout] | [INFO] [stdout] 485 | CellType::TheScore(x) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anything_else` [INFO] [stdout] --> day13/src/main.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | anything_else => false, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anything_else` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 484 | .filter(|((x, y), cell_type)| match cell_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:484:27 [INFO] [stdout] | [INFO] [stdout] 484 | .filter(|((x, y), cell_type)| match cell_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> day13/src/main.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let mut canvas: HashMap<(i64, i64), CellType> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ball_y` [INFO] [stdout] --> day13/src/main.rs:464:27 [INFO] [stdout] | [INFO] [stdout] 464 | let ((ball_x, ball_y), _) = b.remove(0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ball_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paddle_y` [INFO] [stdout] --> day13/src/main.rs:471:29 [INFO] [stdout] | [INFO] [stdout] 471 | let ((paddle_x, paddle_y), _) = p.remove(0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paddle_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `how_many_fuel` [INFO] [stdout] --> day14/src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn how_many_fuel(number_of_ore: i32, target: Ingredient, all_rules: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day13/src/main.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let mut canvas: HashMap<(i64, i64), CellType> = HashMap::new(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `North` [INFO] [stdout] --> day13/src/main.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `South` [INFO] [stdout] --> day13/src/main.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `East` [INFO] [stdout] --> day13/src/main.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `West` [INFO] [stdout] --> day13/src/main.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `turn` [INFO] [stdout] --> day13/src/main.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | fn turn(direction: &Direction, command: &i64) -> Direction { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `travel` [INFO] [stdout] --> day13/src/main.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn travel(coord: &(i32, i32), d: &Direction) -> (i32, i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> old_days/examples/day03.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | dbg!((a_step + b_step)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `i8` [INFO] [stdout] --> day16/src/main.rs:265:51 [INFO] [stdout] | [INFO] [stdout] 265 | let b: Vec = base_pattern(1).take(8).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `i8` [INFO] [stdout] --> day16/src/main.rs:271:51 [INFO] [stdout] | [INFO] [stdout] 271 | let b: Vec = base_pattern(2).take(8).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> old_days/examples/day07.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `i8` [INFO] [stdout] --> day16/src/main.rs:276:51 [INFO] [stdout] | [INFO] [stdout] 276 | let b: Vec = base_pattern(3).take(8).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asteroid` [INFO] [stdout] --> old_days/examples/day10.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | for asteroid in &non_blocked_asteroids { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asteroid` [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 E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | .filter(|((x, y), cell_type)| cell_type == &CellType::Ball) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | .filter(|((x, y), cell_type)| cell_type == &CellType::Ball) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | .filter(|((x, y), cell_type)| cell_type == &CellType::Paddle) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | .filter(|((x, y), cell_type)| cell_type == &CellType::Paddle) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:485:36 [INFO] [stdout] | [INFO] [stdout] 485 | CellType::TheScore(x) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anything_else` [INFO] [stdout] --> day13/src/main.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | anything_else => false, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anything_else` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/src/main.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 484 | .filter(|((x, y), cell_type)| match cell_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/src/main.rs:484:27 [INFO] [stdout] | [INFO] [stdout] 484 | .filter(|((x, y), cell_type)| match cell_type { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> day13/src/main.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let mut canvas: HashMap<(i64, i64), CellType> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ball_y` [INFO] [stdout] --> day13/src/main.rs:464:27 [INFO] [stdout] | [INFO] [stdout] 464 | let ((ball_x, ball_y), _) = b.remove(0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ball_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day16` [INFO] [stdout] warning: unused variable: `paddle_y` [INFO] [stdout] --> day13/src/main.rs:471:29 [INFO] [stdout] | [INFO] [stdout] 471 | let ((paddle_x, paddle_y), _) = p.remove(0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paddle_y` [INFO] [stdout] [INFO] [stdout] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day13/src/main.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let mut canvas: HashMap<(i64, i64), CellType> = HashMap::new(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `North` [INFO] [stdout] --> day13/src/main.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `South` [INFO] [stdout] --> day13/src/main.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `East` [INFO] [stdout] --> day13/src/main.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `West` [INFO] [stdout] --> day13/src/main.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `turn` [INFO] [stdout] --> day13/src/main.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | fn turn(direction: &Direction, command: &i64) -> Direction { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `travel` [INFO] [stdout] --> day13/src/main.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn travel(coord: &(i32, i32), d: &Direction) -> (i32, i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> old_days/examples/day07.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | let status: Vec<(&InterruptState, &&str, &&RefCell>)> = schedule_cycle [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupt_state` [INFO] [stdout] --> old_days/examples/day07.rs:581:15 [INFO] [stdout] | [INFO] [stdout] 581 | let ((interrupt_state, n), p, ix, pipe1, pipe2) = schedule_cycle.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupt_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> old_days/examples/day07.rs:587:17 [INFO] [stdout] | [INFO] [stdout] 587 | let status: Vec<(&InterruptState, &&str, &&RefCell>)> = schedule_cycle [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9c9839f5da3f11d0a92791a9c5eb798f0f1e05932c93b411a00e2c06df78718f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9839f5da3f11d0a92791a9c5eb798f0f1e05932c93b411a00e2c06df78718f", kill_on_drop: false }` [INFO] [stdout] 9c9839f5da3f11d0a92791a9c5eb798f0f1e05932c93b411a00e2c06df78718f