[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#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdean%2Faoc_2019_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cpdean/aoc_2019_rust on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cpdean/aoc_2019_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c33e2403acbe1633745d4aed212afb80ea66888d24a541e195d05476d17e912 [INFO] running `Command { std: "docker" "start" "-a" "6c33e2403acbe1633745d4aed212afb80ea66888d24a541e195d05476d17e912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c33e2403acbe1633745d4aed212afb80ea66888d24a541e195d05476d17e912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c33e2403acbe1633745d4aed212afb80ea66888d24a541e195d05476d17e912", kill_on_drop: false }` [INFO] [stdout] 6c33e2403acbe1633745d4aed212afb80ea66888d24a541e195d05476d17e912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e1c4bb40f703c3cb3b072b6af7816061c35b1acb97dc9caffb00fd9178d077 [INFO] running `Command { std: "docker" "start" "-a" "15e1c4bb40f703c3cb3b072b6af7816061c35b1acb97dc9caffb00fd9178d077", kill_on_drop: false }` [INFO] [stderr] Checking old_days v0.1.0 (/opt/rustwide/workdir/old_days) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [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 day22 v0.1.0 (/opt/rustwide/workdir/day22) [INFO] [stderr] Checking day20 v0.1.0 (/opt/rustwide/workdir/day20) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: function `calc_tree` is never used [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: 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: fields `quantity` and `identifier` are never read [INFO] [stdout] --> day14/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Ingredient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 22 | quantity: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ingredient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> day14/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct ProductionRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 28 | input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | output: Ingredient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `how_many_fuel` is never used [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] [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] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `i8` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day16/src/main.rs:265:43 [INFO] [stdout] | [INFO] [stdout] 265 | let b: Vec = base_pattern(1).take(8).collect(); [INFO] [stdout] | --------------- ^^^^^^^ `Iterator::Item` is `i8` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Iterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:2014:5 [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] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `i8` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day16/src/main.rs:271:43 [INFO] [stdout] | [INFO] [stdout] 271 | let b: Vec = base_pattern(2).take(8).collect(); [INFO] [stdout] | --------------- ^^^^^^^ `Iterator::Item` is `i8` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Iterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:2014:5 [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] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `i8` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day16/src/main.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | let b: Vec = base_pattern(3).take(8).collect(); [INFO] [stdout] | --------------- ^^^^^^^ `Iterator::Item` is `i8` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Iterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotYet` is never constructed [INFO] [stdout] --> day22/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum CardAction { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | NotYet(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day16` (bin "day16" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: unnecessary transmute [INFO] [stdout] --> old_days/examples/day10.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | let bits: u64 = unsafe { mem::transmute(val) }; [INFO] [stdout] | --------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [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] 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: fields `quantity` and `identifier` are never read [INFO] [stdout] --> day14/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Ingredient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 22 | quantity: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ingredient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> day14/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct ProductionRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 28 | input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | output: Ingredient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `how_many_fuel` is never used [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] [INFO] [stdout] warning: variant `NotYet` is never constructed [INFO] [stdout] --> day22/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum CardAction { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | NotYet(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> day13/src/main.rs:435:13 [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: 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: enum `Direction` is never used [INFO] [stdout] --> day13/src/main.rs:354:6 [INFO] [stdout] | [INFO] [stdout] 354 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turn` is never used [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 `travel` is never used [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: 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: unused variable: `canvas` [INFO] [stdout] --> day13/src/main.rs:435:13 [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: 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: enum `Direction` is never used [INFO] [stdout] --> day13/src/main.rs:354:6 [INFO] [stdout] | [INFO] [stdout] 354 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turn` is never used [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 `travel` is never used [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] running `Command { std: "docker" "inspect" "15e1c4bb40f703c3cb3b072b6af7816061c35b1acb97dc9caffb00fd9178d077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e1c4bb40f703c3cb3b072b6af7816061c35b1acb97dc9caffb00fd9178d077", kill_on_drop: false }` [INFO] [stdout] 15e1c4bb40f703c3cb3b072b6af7816061c35b1acb97dc9caffb00fd9178d077