[INFO] cloning repository https://github.com/Everen-John/rust-aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Everen-John/rust-aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEveren-John%2Frust-aoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEveren-John%2Frust-aoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa2c50ef292bfd821568aba51d50c90fd8e193f1 [INFO] checking Everen-John/rust-aoc against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEveren-John%2Frust-aoc" "/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/Everen-John/rust-aoc on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Everen-John/rust-aoc [INFO] finished tweaking git repo https://github.com/Everen-John/rust-aoc [INFO] tweaked toml for git repo https://github.com/Everen-John/rust-aoc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Everen-John/rust-aoc 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1578573d8c746343c4635cbf3b1e84d69e6c448e161074f0c024463ab6c7f9bd [INFO] running `Command { std: "docker" "start" "-a" "1578573d8c746343c4635cbf3b1e84d69e6c448e161074f0c024463ab6c7f9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1578573d8c746343c4635cbf3b1e84d69e6c448e161074f0c024463ab6c7f9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1578573d8c746343c4635cbf3b1e84d69e6c448e161074f0c024463ab6c7f9bd", kill_on_drop: false }` [INFO] [stdout] 1578573d8c746343c4635cbf3b1e84d69e6c448e161074f0c024463ab6c7f9bd [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 201d72b7f4b2ffe96ca754b658adf7cc65dcc68f49d5890f2e31f8d92631c46a [INFO] running `Command { std: "docker" "start" "-a" "201d72b7f4b2ffe96ca754b658adf7cc65dcc68f49d5890f2e31f8d92631c46a", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking rust-aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/day_11.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/day_11.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkeys` [INFO] [stdout] --> src/day_11.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/day_11.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut op: Box u32>; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/day_11.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let operator = &operation[..1]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/day_11.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let subject = &operation[2..]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_11.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::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: struct `Elf` is never constructed [INFO] [stdout] --> src/day_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasFood` is never used [INFO] [stdout] --> src/day_1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait HasFood { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_1.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_1.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_2.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_3.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_3.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_priority_map` is never used [INFO] [stdout] --> src/day_3.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn item_priority_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_4.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_4.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_5.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_5.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_6.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_6.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_6.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_7.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_7.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cd` is never used [INFO] [stdout] --> src/day_7.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn handle_cd(instruction: &str, directory_stack: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_filesize` is never used [INFO] [stdout] --> src/day_7.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_filesize( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_7.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_8.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_8.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_content` is never used [INFO] [stdout] --> src/day_8.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_content(content: &str) -> (usize, usize, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_8.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_10.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InstructionType` is never used [INFO] [stdout] --> src/day_10.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum InstructionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/day_10.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_10.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 22 | fn new(start_cycle: i32, instruction_type: InstructionType, value: i32) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_10.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_10.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q2_perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn q2_perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `items`, `total_items_inspected`, `operation`, and `subject` are never read [INFO] [stdout] --> src/day_11.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Monkey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | total_items_inspected: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | operation: Box u32>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | subject: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worry_level` is never read [INFO] [stdout] --> src/day_11.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | worry_level: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkeys` [INFO] [stdout] --> src/day_11.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/day_11.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut op: Box u32>; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/day_11.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let operator = &operation[..1]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/day_11.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let subject = &operation[2..]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_11.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::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: struct `Elf` is never constructed [INFO] [stdout] --> src/day_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasFood` is never used [INFO] [stdout] --> src/day_1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait HasFood { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_1.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_1.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_2.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_3.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_3.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_priority_map` is never used [INFO] [stdout] --> src/day_3.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn item_priority_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_4.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_4.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_5.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_5.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_6.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_6.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_6.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_7.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_7.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cd` is never used [INFO] [stdout] --> src/day_7.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn handle_cd(instruction: &str, directory_stack: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_filesize` is never used [INFO] [stdout] --> src/day_7.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_filesize( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_7.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_8.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_8.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_content` is never used [INFO] [stdout] --> src/day_8.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_content(content: &str) -> (usize, usize, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_8.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_10.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InstructionType` is never used [INFO] [stdout] --> src/day_10.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum InstructionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/day_10.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_10.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 22 | fn new(start_cycle: i32, instruction_type: InstructionType, value: i32) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_10.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_10.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q2_perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn q2_perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `items`, `total_items_inspected`, `operation`, and `subject` are never read [INFO] [stdout] --> src/day_11.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Monkey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | total_items_inspected: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | operation: Box u32>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | subject: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worry_level` is never read [INFO] [stdout] --> src/day_11.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | worry_level: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "201d72b7f4b2ffe96ca754b658adf7cc65dcc68f49d5890f2e31f8d92631c46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201d72b7f4b2ffe96ca754b658adf7cc65dcc68f49d5890f2e31f8d92631c46a", kill_on_drop: false }` [INFO] [stdout] 201d72b7f4b2ffe96ca754b658adf7cc65dcc68f49d5890f2e31f8d92631c46a [INFO] checking Everen-John/rust-aoc against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEveren-John%2Frust-aoc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Everen-John/rust-aoc on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Everen-John/rust-aoc [INFO] finished tweaking git repo https://github.com/Everen-John/rust-aoc [INFO] tweaked toml for git repo https://github.com/Everen-John/rust-aoc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Everen-John/rust-aoc 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2969f948f67dfefbffe08913114b5770313062f871e59e7538625d39becda85 [INFO] running `Command { std: "docker" "start" "-a" "e2969f948f67dfefbffe08913114b5770313062f871e59e7538625d39becda85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2969f948f67dfefbffe08913114b5770313062f871e59e7538625d39becda85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2969f948f67dfefbffe08913114b5770313062f871e59e7538625d39becda85", kill_on_drop: false }` [INFO] [stdout] e2969f948f67dfefbffe08913114b5770313062f871e59e7538625d39becda85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01909e1ca5d0f4026baedeeecc8de2e77ed0ae1a2db6e50df4419c250ed1e9ac [INFO] running `Command { std: "docker" "start" "-a" "01909e1ca5d0f4026baedeeecc8de2e77ed0ae1a2db6e50df4419c250ed1e9ac", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking rust-aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/day_11.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/day_11.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day_6.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | protocol_string.chars().enumerate().any(|(i, l)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkeys` [INFO] [stdout] --> src/day_11.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkeys` [INFO] [stdout] --> src/day_11.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/day_11.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut op: Box u32>; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/day_11.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut op: Box u32>; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/day_11.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let operator = &operation[..1]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/day_11.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let subject = &operation[2..]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/day_11.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let operator = &operation[..1]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/day_11.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let subject = &operation[2..]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_11.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::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: variable does not need to be mutable [INFO] [stdout] --> src/day_11.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut monkeys: Vec = Vec::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: struct `Elf` is never constructed [INFO] [stdout] --> src/day_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/day_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasFood` is never used [INFO] [stdout] --> src/day_1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait HasFood { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_1.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_1.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasFood` is never used [INFO] [stdout] --> src/day_1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait HasFood { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_2.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_1.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_3.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_3.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_1.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_priority_map` is never used [INFO] [stdout] --> src/day_3.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn item_priority_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_4.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_4.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_5.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_5.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_6.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_6.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_6.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_7.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_7.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s [INFO] [stdout] warning: function `handle_cd` is never used [INFO] [stdout] --> src/day_7.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn handle_cd(instruction: &str, directory_stack: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_filesize` is never used [INFO] [stdout] --> src/day_7.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_filesize( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_7.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_8.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_8.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_content` is never used [INFO] [stdout] --> src/day_8.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_content(content: &str) -> (usize, usize, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_8.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_10.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InstructionType` is never used [INFO] [stdout] --> src/day_10.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum InstructionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/day_10.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_10.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 22 | fn new(start_cycle: i32, instruction_type: InstructionType, value: i32) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_10.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_2.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_10.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q2_perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn q2_perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `items`, `total_items_inspected`, `operation`, and `subject` are never read [INFO] [stdout] --> src/day_11.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Monkey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | total_items_inspected: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | operation: Box u32>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | subject: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worry_level` is never read [INFO] [stdout] --> src/day_11.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | worry_level: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 `read_input` is never used [INFO] [stdout] --> src/day_3.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_3.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_priority_map` is never used [INFO] [stdout] --> src/day_3.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn item_priority_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_4.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_4.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_5.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_5.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_6.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_6.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_6.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_7.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_7.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cd` is never used [INFO] [stdout] --> src/day_7.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn handle_cd(instruction: &str, directory_stack: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_filesize` is never used [INFO] [stdout] --> src/day_7.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_filesize( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_7.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_8.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_8.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_content` is never used [INFO] [stdout] --> src/day_8.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_content(content: &str) -> (usize, usize, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_8.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_input` is never used [INFO] [stdout] --> src/day_10.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_input() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InstructionType` is never used [INFO] [stdout] --> src/day_10.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum InstructionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/day_10.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_10.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 22 | fn new(start_cycle: i32, instruction_type: InstructionType, value: i32) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_one` is never used [INFO] [stdout] --> src/day_10.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn question_one() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_two` is never used [INFO] [stdout] --> src/day_10.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn question_two() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q2_perform_a_cycle` is never used [INFO] [stdout] --> src/day_10.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn q2_perform_a_cycle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `items`, `total_items_inspected`, `operation`, and `subject` are never read [INFO] [stdout] --> src/day_11.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Monkey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | total_items_inspected: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | operation: Box u32>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | subject: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worry_level` is never read [INFO] [stdout] --> src/day_11.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | worry_level: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "01909e1ca5d0f4026baedeeecc8de2e77ed0ae1a2db6e50df4419c250ed1e9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01909e1ca5d0f4026baedeeecc8de2e77ed0ae1a2db6e50df4419c250ed1e9ac", kill_on_drop: false }` [INFO] [stdout] 01909e1ca5d0f4026baedeeecc8de2e77ed0ae1a2db6e50df4419c250ed1e9ac