[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe0ab80071cc64f79046470c190fbacc0d823b091bb2a919fea3afaab9a7f615 [INFO] running `Command { std: "docker" "start" "-a" "fe0ab80071cc64f79046470c190fbacc0d823b091bb2a919fea3afaab9a7f615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe0ab80071cc64f79046470c190fbacc0d823b091bb2a919fea3afaab9a7f615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe0ab80071cc64f79046470c190fbacc0d823b091bb2a919fea3afaab9a7f615", kill_on_drop: false }` [INFO] [stdout] fe0ab80071cc64f79046470c190fbacc0d823b091bb2a919fea3afaab9a7f615 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52e927729541d84097c2da958bc43a08d03df21cb1c0bd132c3bcc6fe97b8112 [INFO] running `Command { std: "docker" "start" "-a" "52e927729541d84097c2da958bc43a08d03df21cb1c0bd132c3bcc6fe97b8112", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [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 8.23s [INFO] running `Command { std: "docker" "inspect" "52e927729541d84097c2da958bc43a08d03df21cb1c0bd132c3bcc6fe97b8112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e927729541d84097c2da958bc43a08d03df21cb1c0bd132c3bcc6fe97b8112", kill_on_drop: false }` [INFO] [stdout] 52e927729541d84097c2da958bc43a08d03df21cb1c0bd132c3bcc6fe97b8112 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e460727f8387756b921ecd617f8df087e6884bef1d1217ab0cc245ed918c9cdf [INFO] running `Command { std: "docker" "start" "-a" "e460727f8387756b921ecd617f8df087e6884bef1d1217ab0cc245ed918c9cdf", kill_on_drop: false }` [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 test [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2018-be3c1992736f36fd) [INFO] running `Command { std: "docker" "inspect" "e460727f8387756b921ecd617f8df087e6884bef1d1217ab0cc245ed918c9cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e460727f8387756b921ecd617f8df087e6884bef1d1217ab0cc245ed918c9cdf", kill_on_drop: false }` [INFO] [stdout] e460727f8387756b921ecd617f8df087e6884bef1d1217ab0cc245ed918c9cdf [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0128d94bc1944fc1dabfbe6b737f5c32088a33a1e686ff8a53b3e94714e94790 [INFO] running `Command { std: "docker" "start" "-a" "0128d94bc1944fc1dabfbe6b737f5c32088a33a1e686ff8a53b3e94714e94790", 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.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2018-be3c1992736f36fd) [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" "0128d94bc1944fc1dabfbe6b737f5c32088a33a1e686ff8a53b3e94714e94790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0128d94bc1944fc1dabfbe6b737f5c32088a33a1e686ff8a53b3e94714e94790", kill_on_drop: false }` [INFO] [stdout] 0128d94bc1944fc1dabfbe6b737f5c32088a33a1e686ff8a53b3e94714e94790