[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] building DouglasGabr/advent-of-code-2022 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDouglasGabr%2Fadvent-of-code-2022" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DouglasGabr/advent-of-code-2022 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-3-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 849bdae98cbd2a31d9d3f6b979b781566d157821b19e0637fa79ae15b052861d [INFO] running `Command { std: "docker" "start" "-a" "849bdae98cbd2a31d9d3f6b979b781566d157821b19e0637fa79ae15b052861d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "849bdae98cbd2a31d9d3f6b979b781566d157821b19e0637fa79ae15b052861d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "849bdae98cbd2a31d9d3f6b979b781566d157821b19e0637fa79ae15b052861d", kill_on_drop: false }` [INFO] [stdout] 849bdae98cbd2a31d9d3f6b979b781566d157821b19e0637fa79ae15b052861d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a266ee6c4c3b56416686e040fd50972c00a52e5e74028638e9c511d6dd4bb7dd [INFO] running `Command { std: "docker" "start" "-a" "a266ee6c4c3b56416686e040fd50972c00a52e5e74028638e9c511d6dd4bb7dd", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ranges v0.3.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [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: 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: 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/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: 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 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: 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: 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: 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/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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "a266ee6c4c3b56416686e040fd50972c00a52e5e74028638e9c511d6dd4bb7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a266ee6c4c3b56416686e040fd50972c00a52e5e74028638e9c511d6dd4bb7dd", kill_on_drop: false }` [INFO] [stdout] a266ee6c4c3b56416686e040fd50972c00a52e5e74028638e9c511d6dd4bb7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54af99313b0c0d0265b37c87efe91e96ba31d8ff30ceab3d609d897ef37da689 [INFO] running `Command { std: "docker" "start" "-a" "54af99313b0c0d0265b37c87efe91e96ba31d8ff30ceab3d609d897ef37da689", kill_on_drop: false }` [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir) [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/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: 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: `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: 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 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/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: 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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "54af99313b0c0d0265b37c87efe91e96ba31d8ff30ceab3d609d897ef37da689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54af99313b0c0d0265b37c87efe91e96ba31d8ff30ceab3d609d897ef37da689", kill_on_drop: false }` [INFO] [stdout] 54af99313b0c0d0265b37c87efe91e96ba31d8ff30ceab3d609d897ef37da689