[INFO] cloning repository https://github.com/kooryan/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/kooryan/Advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkooryan%2FAdvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkooryan%2FAdvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c64191aa5d636399f513daee600f67f21a7aa34 [INFO] checking kooryan/Advent-of-code-2019 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkooryan%2FAdvent-of-code-2019" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kooryan/Advent-of-code-2019 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kooryan/Advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/kooryan/Advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/kooryan/Advent-of-code-2019 written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/kooryan/Advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b64eb1cb269d9ba195f212b0b7567d33f6eb8028ed8c277e47efb46c4765672 [INFO] running `Command { std: "docker" "start" "-a" "5b64eb1cb269d9ba195f212b0b7567d33f6eb8028ed8c277e47efb46c4765672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b64eb1cb269d9ba195f212b0b7567d33f6eb8028ed8c277e47efb46c4765672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b64eb1cb269d9ba195f212b0b7567d33f6eb8028ed8c277e47efb46c4765672", kill_on_drop: false }` [INFO] [stdout] 5b64eb1cb269d9ba195f212b0b7567d33f6eb8028ed8c277e47efb46c4765672 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5490df5172c2324c1808edbc773762c39d6e0ce7f453b6acda37b0f8cf97275d [INFO] running `Command { std: "docker" "start" "-a" "5490df5172c2324c1808edbc773762c39d6e0ce7f453b6acda37b0f8cf97275d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking Advent-of-code-2019 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/Day4/day4.rs (9 fixes) [INFO] [stderr] Fixed src/Day1/day1.rs (1 fix) [INFO] [stderr] Fixed src/Day2/day2.rs (2 fixes) [INFO] [stderr] Fixed src/Day3/day3.rs (12 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/Day2/day2.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut result: u32 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day1/day1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_module` [INFO] [stdout] --> src/Day1/day1.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_module(line: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day2/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_program` [INFO] [stdout] --> src/Day2/day2.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn execute_program(mut code: Vec, noun: u32, verb: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instructions` [INFO] [stdout] --> src/Day2/day2.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn instructions(memory: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_distance` [INFO] [stdout] --> src/Day3/day3.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn calculate_distance(_wire1: Vec, _wire2: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day4/day4.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_number` [INFO] [stdout] --> src/Day4/day4.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn split_number(n: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeated_twice` [INFO] [stdout] --> src/Day4/day4.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn repeated_twice(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constrained_combinations` [INFO] [stdout] --> src/Day4/day4.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn constrained_combinations (range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_combinations` [INFO] [stdout] --> src/Day4/day4.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn calculate_combinations(range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_repeating` [INFO] [stdout] --> src/Day4/day4.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn is_repeating(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_increasing` [INFO] [stdout] --> src/Day4/day4.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn is_increasing(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Advent_of_code_2019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code_2019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day1` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Day1 { pub mod day1; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day2` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Day2 { pub mod day2; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day3` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Day3 { pub mod day3; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day4` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Day4 { pub mod day4; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_closestDistance` should have a snake case name [INFO] [stdout] --> src/Day3/day3.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let _closestDistance = std::u32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_closest_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/Day2/day2.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut result: u32 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day1/day1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_module` [INFO] [stdout] --> src/Day1/day1.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_module(line: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day2/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_program` [INFO] [stdout] --> src/Day2/day2.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn execute_program(mut code: Vec, noun: u32, verb: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instructions` [INFO] [stdout] --> src/Day2/day2.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn instructions(memory: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_distance` [INFO] [stdout] --> src/Day3/day3.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn calculate_distance(_wire1: Vec, _wire2: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day4/day4.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_number` [INFO] [stdout] --> src/Day4/day4.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn split_number(n: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeated_twice` [INFO] [stdout] --> src/Day4/day4.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn repeated_twice(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constrained_combinations` [INFO] [stdout] --> src/Day4/day4.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn constrained_combinations (range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_combinations` [INFO] [stdout] --> src/Day4/day4.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn calculate_combinations(range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_repeating` [INFO] [stdout] --> src/Day4/day4.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn is_repeating(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_increasing` [INFO] [stdout] --> src/Day4/day4.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn is_increasing(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Advent_of_code_2019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code_2019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day1` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Day1 { pub mod day1; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day2` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Day2 { pub mod day2; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day3` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Day3 { pub mod day3; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day4` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Day4 { pub mod day4; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_closestDistance` should have a snake case name [INFO] [stdout] --> src/Day3/day3.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let _closestDistance = std::u32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_closest_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.37s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking Advent-of-code-2019 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/Day2/day2.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut result: u32 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/Day2/day2.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut result: u32 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day1/day1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_module` [INFO] [stdout] --> src/Day1/day1.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_module(line: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day2/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_program` [INFO] [stdout] --> src/Day2/day2.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn execute_program(mut code: Vec, noun: u32, verb: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instructions` [INFO] [stdout] --> src/Day2/day2.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn instructions(memory: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_distance` [INFO] [stdout] --> src/Day3/day3.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn calculate_distance(_wire1: Vec, _wire2: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day4/day4.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_number` [INFO] [stdout] --> src/Day4/day4.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn split_number(n: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeated_twice` [INFO] [stdout] --> src/Day4/day4.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn repeated_twice(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constrained_combinations` [INFO] [stdout] --> src/Day4/day4.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn constrained_combinations (range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_combinations` [INFO] [stdout] --> src/Day4/day4.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn calculate_combinations(range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_repeating` [INFO] [stdout] --> src/Day4/day4.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn is_repeating(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_increasing` [INFO] [stdout] --> src/Day4/day4.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn is_increasing(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Advent_of_code_2019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code_2019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day1` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Day1 { pub mod day1; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day2` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Day2 { pub mod day2; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day3` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Day3 { pub mod day3; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day4` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Day4 { pub mod day4; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_closestDistance` should have a snake case name [INFO] [stdout] --> src/Day3/day3.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let _closestDistance = std::u32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_closest_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day1/day1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_module` [INFO] [stdout] --> src/Day1/day1.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_module(line: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day2/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_program` [INFO] [stdout] --> src/Day2/day2.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn execute_program(mut code: Vec, noun: u32, verb: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instructions` [INFO] [stdout] --> src/Day2/day2.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn instructions(memory: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_distance` [INFO] [stdout] --> src/Day3/day3.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn calculate_distance(_wire1: Vec, _wire2: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/Day4/day4.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_number` [INFO] [stdout] --> src/Day4/day4.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn split_number(n: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeated_twice` [INFO] [stdout] --> src/Day4/day4.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn repeated_twice(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constrained_combinations` [INFO] [stdout] --> src/Day4/day4.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn constrained_combinations (range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_combinations` [INFO] [stdout] --> src/Day4/day4.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn calculate_combinations(range: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_repeating` [INFO] [stdout] --> src/Day4/day4.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn is_repeating(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_increasing` [INFO] [stdout] --> src/Day4/day4.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn is_increasing(num: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Advent_of_code_2019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code_2019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day1` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Day1 { pub mod day1; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day2` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Day2 { pub mod day2; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day3` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Day3 { pub mod day3; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Day4` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Day4 { pub mod day4; } [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `day4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_closestDistance` should have a snake case name [INFO] [stdout] --> src/Day3/day3.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let _closestDistance = std::u32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_closest_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "5490df5172c2324c1808edbc773762c39d6e0ce7f453b6acda37b0f8cf97275d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5490df5172c2324c1808edbc773762c39d6e0ce7f453b6acda37b0f8cf97275d", kill_on_drop: false }` [INFO] [stdout] 5490df5172c2324c1808edbc773762c39d6e0ce7f453b6acda37b0f8cf97275d