[INFO] cloning repository https://github.com/savekirk/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/savekirk/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavekirk%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavekirk%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f19ee934c4070740b98533ee35a2f6746fb8ad75 [INFO] checking savekirk/advent-of-code-2022 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavekirk%2Fadvent-of-code-2022" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/savekirk/advent-of-code-2022 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/savekirk/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/savekirk/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/savekirk/advent-of-code-2022 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/savekirk/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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf4857e9c307e9933b9ded93d561b57ca7d771aed99ba43131618ef4541917e [INFO] running `Command { std: "docker" "start" "-a" "ecf4857e9c307e9933b9ded93d561b57ca7d771aed99ba43131618ef4541917e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf4857e9c307e9933b9ded93d561b57ca7d771aed99ba43131618ef4541917e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf4857e9c307e9933b9ded93d561b57ca7d771aed99ba43131618ef4541917e", kill_on_drop: false }` [INFO] [stdout] ecf4857e9c307e9933b9ded93d561b57ca7d771aed99ba43131618ef4541917e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db03e92e36ab4019924595a04a0900df2d17ec60869e637138e5f915d41c74ef [INFO] running `Command { std: "docker" "start" "-a" "db03e92e36ab4019924595a04a0900df2d17ec60869e637138e5f915d41c74ef", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap` and `format` [INFO] [stdout] --> src/days/seven.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fmt::{self, format}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `format` [INFO] [stdout] --> src/days/seven.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fmt::{self, format}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/seven.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/seven.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_chars` is never used [INFO] [stdout] --> src/days/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn line_to_chars(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_int` is never used [INFO] [stdout] --> src/days/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn line_to_int(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/days/one.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_calory` are never used [INFO] [stdout] --> src/days/one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Elf { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | fn new(id: i32) -> Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn update_calory(&mut self, calory: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/one.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/one.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_elves` is never used [INFO] [stdout] --> src/days/one.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_elves(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strategy` is never constructed [INFO] [stdout] --> src/days/two.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Strategy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `outcome_score`, `to_play`, `score`, and `part_2_score` are never used [INFO] [stdout] --> src/days/two.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Strategy { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | fn new(opponent: char, you: char) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn outcome_score(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn to_play(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn score(self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn part_2_score(self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/two.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/two.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_strategies` is never used [INFO] [stdout] --> src/days/two.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_strategies(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/three.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/three.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/three.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn to_set(li: &mut Option<&String>) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/days/three.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn priority(c: char) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/four.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/four.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/four.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_set(section: &str) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/five.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_creates` is never used [INFO] [stdout] --> src/days/five.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn move_creates(lines: Vec, can_move_multiple: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/six.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/six.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_before_marker` is never used [INFO] [stdout] --> src/days/six.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn char_before_marker(line: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/seven.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_chars` is never used [INFO] [stdout] --> src/days/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn line_to_chars(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_int` is never used [INFO] [stdout] --> src/days/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn line_to_int(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/days/one.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_calory` are never used [INFO] [stdout] --> src/days/one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Elf { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | fn new(id: i32) -> Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn update_calory(&mut self, calory: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/one.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/one.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_elves` is never used [INFO] [stdout] --> src/days/one.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_elves(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strategy` is never constructed [INFO] [stdout] --> src/days/two.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Strategy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `outcome_score`, `to_play`, `score`, and `part_2_score` are never used [INFO] [stdout] --> src/days/two.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Strategy { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | fn new(opponent: char, you: char) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn outcome_score(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn to_play(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn score(self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn part_2_score(self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/two.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/two.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_strategies` is never used [INFO] [stdout] --> src/days/two.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_strategies(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/three.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/three.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/three.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn to_set(li: &mut Option<&String>) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/days/three.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn priority(c: char) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/four.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/four.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/four.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_set(section: &str) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/five.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_creates` is never used [INFO] [stdout] --> src/days/five.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn move_creates(lines: Vec, can_move_multiple: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/six.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/six.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_before_marker` is never used [INFO] [stdout] --> src/days/six.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn char_before_marker(line: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/seven.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "db03e92e36ab4019924595a04a0900df2d17ec60869e637138e5f915d41c74ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db03e92e36ab4019924595a04a0900df2d17ec60869e637138e5f915d41c74ef", kill_on_drop: false }` [INFO] [stdout] db03e92e36ab4019924595a04a0900df2d17ec60869e637138e5f915d41c74ef [INFO] checking savekirk/advent-of-code-2022 against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavekirk%2Fadvent-of-code-2022" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/savekirk/advent-of-code-2022 on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/savekirk/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/savekirk/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/savekirk/advent-of-code-2022 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/savekirk/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3838e7d934f73427ce1fafd2b6c5c78af38f723b4cba15429e248d73e0390308 [INFO] running `Command { std: "docker" "start" "-a" "3838e7d934f73427ce1fafd2b6c5c78af38f723b4cba15429e248d73e0390308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3838e7d934f73427ce1fafd2b6c5c78af38f723b4cba15429e248d73e0390308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3838e7d934f73427ce1fafd2b6c5c78af38f723b4cba15429e248d73e0390308", kill_on_drop: false }` [INFO] [stdout] 3838e7d934f73427ce1fafd2b6c5c78af38f723b4cba15429e248d73e0390308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec49963aca4207caad75e0b1e4b7d65a401b81c15ac2899076297a075059fc40 [INFO] running `Command { std: "docker" "start" "-a" "ec49963aca4207caad75e0b1e4b7d65a401b81c15ac2899076297a075059fc40", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap` and `format` [INFO] [stdout] --> src/days/seven.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fmt::{self, format}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `format` [INFO] [stdout] --> src/days/seven.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fmt::{self, format}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/seven.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_chars` is never used [INFO] [stdout] --> src/days/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn line_to_chars(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_int` is never used [INFO] [stdout] --> src/days/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn line_to_int(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/days/one.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_calory` are never used [INFO] [stdout] --> src/days/one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Elf { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | fn new(id: i32) -> Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn update_calory(&mut self, calory: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/one.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/one.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_elves` is never used [INFO] [stdout] --> src/days/one.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_elves(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strategy` is never constructed [INFO] [stdout] --> src/days/two.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Strategy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `outcome_score`, `to_play`, `score`, and `part_2_score` are never used [INFO] [stdout] --> src/days/two.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Strategy { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | fn new(opponent: char, you: char) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn outcome_score(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn to_play(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn score(self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn part_2_score(self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/two.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/two.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_strategies` is never used [INFO] [stdout] --> src/days/two.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_strategies(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/three.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/three.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/three.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn to_set(li: &mut Option<&String>) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/days/three.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn priority(c: char) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/four.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/four.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/four.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_set(section: &str) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/five.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_creates` is never used [INFO] [stdout] --> src/days/five.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn move_creates(lines: Vec, can_move_multiple: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/six.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/six.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_before_marker` is never used [INFO] [stdout] --> src/days/six.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn char_before_marker(line: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/seven.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/days/seven.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_chars` is never used [INFO] [stdout] --> src/days/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn line_to_chars(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to_int` is never used [INFO] [stdout] --> src/days/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn line_to_int(line: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/days/one.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_calory` are never used [INFO] [stdout] --> src/days/one.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Elf { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | fn new(id: i32) -> Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn update_calory(&mut self, calory: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/one.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/one.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_elves` is never used [INFO] [stdout] --> src/days/one.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_elves(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strategy` is never constructed [INFO] [stdout] --> src/days/two.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Strategy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `outcome_score`, `to_play`, `score`, and `part_2_score` are never used [INFO] [stdout] --> src/days/two.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Strategy { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | fn new(opponent: char, you: char) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn outcome_score(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn to_play(self, is_part_1: bool) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn score(self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn part_2_score(self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/two.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/two.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_strategies` is never used [INFO] [stdout] --> src/days/two.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_strategies(lines: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/three.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/three.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/three.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn to_set(li: &mut Option<&String>) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/days/three.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn priority(c: char) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/four.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/four.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_set` is never used [INFO] [stdout] --> src/days/four.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_set(section: &str) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/five.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/five.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_creates` is never used [INFO] [stdout] --> src/days/five.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn move_creates(lines: Vec, can_move_multiple: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/days/six.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_1(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/six.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_2(lines: Vec) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_before_marker` is never used [INFO] [stdout] --> src/days/six.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn char_before_marker(line: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/days/seven.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn part_2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "ec49963aca4207caad75e0b1e4b7d65a401b81c15ac2899076297a075059fc40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec49963aca4207caad75e0b1e4b7d65a401b81c15ac2899076297a075059fc40", kill_on_drop: false }` [INFO] [stdout] ec49963aca4207caad75e0b1e4b7d65a401b81c15ac2899076297a075059fc40