[INFO] cloning repository https://github.com/tistatos/advent_of_code_2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tistatos/advent_of_code_2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftistatos%2Fadvent_of_code_2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftistatos%2Fadvent_of_code_2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 865d812dd1833140a53678065e4e89c4503d4c3d [INFO] checking tistatos/advent_of_code_2019 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftistatos%2Fadvent_of_code_2019" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tistatos/advent_of_code_2019 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tistatos/advent_of_code_2019 [INFO] finished tweaking git repo https://github.com/tistatos/advent_of_code_2019 [INFO] tweaked toml for git repo https://github.com/tistatos/advent_of_code_2019 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/tistatos/advent_of_code_2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34cf97e6d1929745024b1b0e1502c442a3803b274147fb2471604a012c22dcc7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "34cf97e6d1929745024b1b0e1502c442a3803b274147fb2471604a012c22dcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34cf97e6d1929745024b1b0e1502c442a3803b274147fb2471604a012c22dcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34cf97e6d1929745024b1b0e1502c442a3803b274147fb2471604a012c22dcc7", kill_on_drop: false }` [INFO] [stdout] 34cf97e6d1929745024b1b0e1502c442a3803b274147fb2471604a012c22dcc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcd8e60d41ca1c068cb6420afda48c5994d49cdd73ed0b63ba4725d5593dc12f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bcd8e60d41ca1c068cb6420afda48c5994d49cdd73ed0b63ba4725d5593dc12f", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day6.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day6.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day8.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if (*p == '1') { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day8.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if (*p == '1') { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/day5.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let result = execute_program(program, 1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/day5.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let result = execute_program(program, 1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut valid_codes_part_1 = Arc::new(AtomicUsize::new(0)); [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/day4.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut valid_codes_part_2 = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut valid_codes_part_1 = Arc::new(AtomicUsize::new(0)); [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: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut valid_codes_part_2 = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string_rows` [INFO] [stdout] --> src/aoc/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_string_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_digit` [INFO] [stdout] --> src/aoc/intcode.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_digit(number: i64, position: u32) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IntCodeMachine` [INFO] [stdout] --> src/aoc/intcode.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct IntCodeMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/aoc/intcode.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(mut program: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_op` [INFO] [stdout] --> src/aoc/intcode.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse_op(code: i64) -> (Op, Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_program` [INFO] [stdout] --> src/aoc/intcode.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn execute_program(&mut self, mut input: Option>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `will_halt` [INFO] [stdout] --> src/aoc/intcode.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn will_halt(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/aoc/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_string(file: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_csv` [INFO] [stdout] --> src/aoc/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_csv(file: &str, delim: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rows` [INFO] [stdout] --> src/aoc/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_rows(file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "bcd8e60d41ca1c068cb6420afda48c5994d49cdd73ed0b63ba4725d5593dc12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd8e60d41ca1c068cb6420afda48c5994d49cdd73ed0b63ba4725d5593dc12f", kill_on_drop: false }` [INFO] [stdout] bcd8e60d41ca1c068cb6420afda48c5994d49cdd73ed0b63ba4725d5593dc12f