[INFO] cloning repository https://github.com/DouglasGabr/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DouglasGabr/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDouglasGabr%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDouglasGabr%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dacf602cce40d5a3d997716b22b119b60c49f8b2 [INFO] checking DouglasGabr/advent-of-code-2022/dacf602cce40d5a3d997716b22b119b60c49f8b2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDouglasGabr%2Fadvent-of-code-2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DouglasGabr/advent-of-code-2022 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DouglasGabr/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/DouglasGabr/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/DouglasGabr/advent-of-code-2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DouglasGabr/advent-of-code-2022 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ranges v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dec08faaebc51b03c83f5eaf9897835c22aa6aa94d433ed8f16e74692930089a [INFO] running `Command { std: "docker" "start" "-a" "dec08faaebc51b03c83f5eaf9897835c22aa6aa94d433ed8f16e74692930089a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dec08faaebc51b03c83f5eaf9897835c22aa6aa94d433ed8f16e74692930089a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec08faaebc51b03c83f5eaf9897835c22aa6aa94d433ed8f16e74692930089a", kill_on_drop: false }` [INFO] [stdout] dec08faaebc51b03c83f5eaf9897835c22aa6aa94d433ed8f16e74692930089a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 569779586fd82dcfff57c2de2b76476da375822a9d2b191174c729692287abb9 [INFO] running `Command { std: "docker" "start" "-a" "569779586fd82dcfff57c2de2b76476da375822a9d2b191174c729692287abb9", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking ranges v0.3.3 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day18.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | fn part2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coordinate` is never used [INFO] [stdout] --> src/bin/day18.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type Coordinate = (i64, i64, i64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Resource` is never used [INFO] [stdout] --> src/bin/day19.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Robot` is never used [INFO] [stdout] --> src/bin/day19.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Robot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/bin/day19.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl Stock { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 107 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn add(&mut self, resource: &Resource) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Factory` is never constructed [INFO] [stdout] --> src/bin/day19.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct Factory { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_robot` are never used [INFO] [stdout] --> src/bin/day19.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 129 | impl Factory { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 130 | fn new(blueprint: Blueprint) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn create_robot(&mut self, robots: &Robots) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_next_easiest_robot`, `can_create_geode_robot`, `can_create_obsidian_robot`, `can_create_clay_robot`, and `can_create_ore_robot` are never used [INFO] [stdout] --> src/bin/day19.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 191 | impl Blueprint { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 192 | fn find_next_easiest_robot(&self, stock: &Stock, robots: &Robots) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn can_create_geode_robot(&self, stock: &Stock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn can_create_obsidian_robot(&self, stock: &Stock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn can_create_clay_robot(&self, stock: &Stock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn can_create_ore_robot(&self, stock: &Stock) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_robot`, and `mine` are never used [INFO] [stdout] --> src/bin/day19.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 287 | impl Robots { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 288 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | fn add_robot(&mut self, robot: &Robot) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | fn mine(&self, stock: &mut Stock) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day19.rs:435:4 [INFO] [stdout] | [INFO] [stdout] 435 | fn part1(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Occupied` and `Vacant` [INFO] [stdout] --> src/bin/day23.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | hash_map::Entry::{Occupied, Vacant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day21.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | fn part2(input: &str) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/bin/day21.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn part2(input: &str) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/bin/day22.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, Deref}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/bin/day22.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | IResult, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day18.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | fn part2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coordinate` is never used [INFO] [stdout] --> src/bin/day18.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type Coordinate = (i64, i64, i64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/bin/day18.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn part2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day22.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | fn part2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Dot`, `algo::dijkstra`, `data::FromElements`, and `graph::DiGraph` [INFO] [stdout] --> src/bin/day16.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | algo::dijkstra, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | data::FromElements, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | dot::{Config, Dot}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] 10 | graph::DiGraph, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/bin/day22.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 41 | tiles: HashMap<(u32, u32), Tile>, [INFO] [stdout] 42 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` 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: `graph` [INFO] [stdout] --> src/bin/day16.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let graph = parse_input(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day16.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | fn part2(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day16.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn part1(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/bin/day16.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn part2(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Valve` is never constructed [INFO] [stdout] --> src/bin/day16.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Valve<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Valve` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_name` is never used [INFO] [stdout] --> src/bin/day16.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Valve<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 32 | fn from_name(name: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/bin/day16.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse_input(input: &str) -> DiGraphMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Dot`, `algo::dijkstra`, `data::FromElements`, and `graph::DiGraph` [INFO] [stdout] --> src/bin/day16.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | algo::dijkstra, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | data::FromElements, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | dot::{Config, Dot}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] 10 | graph::DiGraph, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Resource` is never used [INFO] [stdout] --> src/bin/day19.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/bin/day19.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl Stock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn add(&mut self, resource: &Resource) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/bin/day16.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let graph = parse_input(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day16.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | fn part2(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_name` is never used [INFO] [stdout] --> src/bin/day16.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Valve<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 32 | fn from_name(name: &'a str) -> Self { [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: unused imports: `Occupied` and `Vacant` [INFO] [stdout] --> src/bin/day23.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | hash_map::Entry::{Occupied, Vacant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/day21.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | fn part2(input: &str) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [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] --> src/bin/day17.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut falling_rock = self.rocks.last_mut().unwrap(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/bin/day22.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, Deref}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/bin/day22.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | IResult, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut falling_rock = self.rocks.last_mut().unwrap(); [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: unused variable: `input` [INFO] [stdout] --> src/bin/day22.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | fn part2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/bin/day22.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 41 | tiles: HashMap<(u32, u32), Tile>, [INFO] [stdout] 42 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.74s [INFO] running `Command { std: "docker" "inspect" "569779586fd82dcfff57c2de2b76476da375822a9d2b191174c729692287abb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "569779586fd82dcfff57c2de2b76476da375822a9d2b191174c729692287abb9", kill_on_drop: false }` [INFO] [stdout] 569779586fd82dcfff57c2de2b76476da375822a9d2b191174c729692287abb9