[INFO] cloning repository https://github.com/picklenerd/advent_of_code_2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/picklenerd/advent_of_code_2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicklenerd%2Fadvent_of_code_2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicklenerd%2Fadvent_of_code_2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d47848b73a5ffced978a66a2105dc76a1449dfd6 [INFO] testing picklenerd/advent_of_code_2018 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpicklenerd%2Fadvent_of_code_2018" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/picklenerd/advent_of_code_2018 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/picklenerd/advent_of_code_2018 [INFO] finished tweaking git repo https://github.com/picklenerd/advent_of_code_2018 [INFO] tweaked toml for git repo https://github.com/picklenerd/advent_of_code_2018 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/picklenerd/advent_of_code_2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e1f71cedba0a5af6f5d2a152486d52210a9c418984f9a833befc6f7ef9ecef6 [INFO] running `Command { std: "docker" "start" "-a" "0e1f71cedba0a5af6f5d2a152486d52210a9c418984f9a833befc6f7ef9ecef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e1f71cedba0a5af6f5d2a152486d52210a9c418984f9a833befc6f7ef9ecef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e1f71cedba0a5af6f5d2a152486d52210a9c418984f9a833befc6f7ef9ecef6", kill_on_drop: false }` [INFO] [stdout] 0e1f71cedba0a5af6f5d2a152486d52210a9c418984f9a833befc6f7ef9ecef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 330b9206e094bf3f923d1f8dbbd2a529c2220dbc79b1cac03832d0fb558ef6e8 [INFO] running `Command { std: "docker" "start" "-a" "330b9206e094bf3f923d1f8dbbd2a529c2220dbc79b1cac03832d0fb558ef6e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling aoc2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utils.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => panic!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmp12` [INFO] [stdout] --> src/challenges/day7.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | for (step2, cmp12) in step1_rules { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_previous` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn run_previous() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/challenges/day3.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn draw(inputs: &[ElfClaim]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_INPUT` [INFO] [stdout] --> src/challenges/day5.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | const TEST_INPUT: &str = "dabAcCaCBAcCcaDA"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/challenges/day3.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 88 | | "{} possibilites remaining. Should be 1.", [INFO] [stdout] 89 | | possibilities.len() [INFO] [stdout] 90 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 87 ~ panic!( [INFO] [stdout] 88 | "{} possibilites remaining. Should be 1.", [INFO] [stdout] 89 | possibilities.len() [INFO] [stdout] 90 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/challenges/day5.rs:148:52 [INFO] [stdout] | [INFO] [stdout] 148 | File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 148 - File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] 148 + File::open(path).unwrap_or_else(|_| panic!("Error opening file {}", path)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | let input = File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 14 - let input = File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] 14 + let input = File::open(path).unwrap_or_else(|_| panic!("Error opening file {}", path)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | challenges::day7::day7_1(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | challenges::day7::day7_2(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.51s [INFO] running `Command { std: "docker" "inspect" "330b9206e094bf3f923d1f8dbbd2a529c2220dbc79b1cac03832d0fb558ef6e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330b9206e094bf3f923d1f8dbbd2a529c2220dbc79b1cac03832d0fb558ef6e8", kill_on_drop: false }` [INFO] [stdout] 330b9206e094bf3f923d1f8dbbd2a529c2220dbc79b1cac03832d0fb558ef6e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1a4d2fa2cd1f75c8e9a8ad7ea300a27789cc7811f89419acfe272830cde49de [INFO] running `Command { std: "docker" "start" "-a" "d1a4d2fa2cd1f75c8e9a8ad7ea300a27789cc7811f89419acfe272830cde49de", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling aoc2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utils.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => panic!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmp12` [INFO] [stdout] --> src/challenges/day7.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | for (step2, cmp12) in step1_rules { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_previous` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn run_previous() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/challenges/day3.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn draw(inputs: &[ElfClaim]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_INPUT` [INFO] [stdout] --> src/challenges/day5.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | const TEST_INPUT: &str = "dabAcCaCBAcCcaDA"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/challenges/day3.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 88 | | "{} possibilites remaining. Should be 1.", [INFO] [stdout] 89 | | possibilities.len() [INFO] [stdout] 90 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 87 ~ panic!( [INFO] [stdout] 88 | "{} possibilites remaining. Should be 1.", [INFO] [stdout] 89 | possibilities.len() [INFO] [stdout] 90 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/challenges/day5.rs:148:52 [INFO] [stdout] | [INFO] [stdout] 148 | File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 148 - File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] 148 + File::open(path).unwrap_or_else(|_| panic!("Error opening file {}", path)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | let input = File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 14 - let input = File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stdout] 14 + let input = File::open(path).unwrap_or_else(|_| panic!("Error opening file {}", path)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | challenges::day7::day7_1(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | challenges::day7::day7_2(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d1a4d2fa2cd1f75c8e9a8ad7ea300a27789cc7811f89419acfe272830cde49de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a4d2fa2cd1f75c8e9a8ad7ea300a27789cc7811f89419acfe272830cde49de", kill_on_drop: false }` [INFO] [stdout] d1a4d2fa2cd1f75c8e9a8ad7ea300a27789cc7811f89419acfe272830cde49de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e0bf0a3bc0592313ba15d8e99788bc3dc288a9ef4582e4a25651d9e1c500cf9 [INFO] running `Command { std: "docker" "start" "-a" "9e0bf0a3bc0592313ba15d8e99788bc3dc288a9ef4582e4a25651d9e1c500cf9", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/utils.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => panic!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmp12` [INFO] [stderr] --> src/challenges/day7.rs:90:29 [INFO] [stderr] | [INFO] [stderr] 90 | for (step2, cmp12) in step1_rules { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp12` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_previous` [INFO] [stderr] --> src/main.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn run_previous() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw` [INFO] [stderr] --> src/challenges/day3.rs:98:4 [INFO] [stderr] | [INFO] [stderr] 98 | fn draw(inputs: &[ElfClaim]) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `TEST_INPUT` [INFO] [stderr] --> src/challenges/day5.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | const TEST_INPUT: &str = "dabAcCaCBAcCcaDA"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/challenges/day3.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | panic!(format!( [INFO] [stderr] | ________________^ [INFO] [stderr] 88 | | "{} possibilites remaining. Should be 1.", [INFO] [stderr] 89 | | possibilities.len() [INFO] [stderr] 90 | | )); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 87 ~ panic!( [INFO] [stderr] 88 | "{} possibilites remaining. Should be 1.", [INFO] [stderr] 89 | possibilities.len() [INFO] [stderr] 90 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/challenges/day5.rs:148:52 [INFO] [stderr] | [INFO] [stderr] 148 | File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 148 - File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stderr] 148 + File::open(path).unwrap_or_else(|_| panic!("Error opening file {}", path)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/utils.rs:14:60 [INFO] [stderr] | [INFO] [stderr] 14 | let input = File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 14 - let input = File::open(path).unwrap_or_else(|_| panic!(format!("Error opening file {}", path))); [INFO] [stderr] 14 + let input = File::open(path).unwrap_or_else(|_| panic!("Error opening file {}", path)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | challenges::day7::day7_1(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | challenges::day7::day7_2(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `aoc2018` (bin "aoc2018" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc2018-350252ecf0a5e534) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9e0bf0a3bc0592313ba15d8e99788bc3dc288a9ef4582e4a25651d9e1c500cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e0bf0a3bc0592313ba15d8e99788bc3dc288a9ef4582e4a25651d9e1c500cf9", kill_on_drop: false }` [INFO] [stdout] 9e0bf0a3bc0592313ba15d8e99788bc3dc288a9ef4582e4a25651d9e1c500cf9