[INFO] cloning repository https://github.com/kanales/aoc19-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanales/aoc19-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanales%2Faoc19-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanales%2Faoc19-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44df8582086a5af0ff269cf76330070f6388598d [INFO] checking kanales/aoc19-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanales%2Faoc19-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kanales/aoc19-rust [INFO] finished tweaking git repo https://github.com/kanales/aoc19-rust [INFO] tweaked toml for git repo https://github.com/kanales/aoc19-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kanales/aoc19-rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kanales/aoc19-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b065b16a4fd2af8bfd9220151d3c67bd77045a22d49e1d1ec553eb6d8900602 [INFO] running `Command { std: "docker" "start" "-a" "4b065b16a4fd2af8bfd9220151d3c67bd77045a22d49e1d1ec553eb6d8900602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b065b16a4fd2af8bfd9220151d3c67bd77045a22d49e1d1ec553eb6d8900602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b065b16a4fd2af8bfd9220151d3c67bd77045a22d49e1d1ec553eb6d8900602", kill_on_drop: false }` [INFO] [stdout] 4b065b16a4fd2af8bfd9220151d3c67bd77045a22d49e1d1ec553eb6d8900602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04fb758403fcccec387436da2c59f31b9c80ea8f88d2a234b85673ca9e7bd0d5 [INFO] running `Command { std: "docker" "start" "-a" "04fb758403fcccec387436da2c59f31b9c80ea8f88d2a234b85673ca9e7bd0d5", kill_on_drop: false }` [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking aoc19 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `day` and `part` are never read [INFO] [stdout] --> src/solutions/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DayParseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | day: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | part: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DayParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Layer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 96 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/mod.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | _ => panic!(format!("Trying to feed {:?}", self.status)), [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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - _ => panic!(format!("Trying to feed {:?}", self.status)), [INFO] [stdout] 242 + _ => panic!("Trying to feed {:?}", self.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | 1 => day3::part1(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | 1 => day3::part1(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | 2 => day3::part2(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | 2 => day3::part2(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | 1 => day4::part1(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | 1 => day4::part1(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | 2 => day4::part2(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | 2 => day4::part2(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | 1 => day8::part1(&get_input(8)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | 1 => day8::part1(&get_input(8)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/solutions/day6.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&String> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&'a String> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | x => panic!(format!("1: Unexpected status {:?}", x)), [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] 44 - x => panic!(format!("1: Unexpected status {:?}", x)), [INFO] [stdout] 44 + x => panic!("1: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | x => panic!(format!("2: Unexpected status {:?}", x)), [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] 48 - x => panic!(format!("2: Unexpected status {:?}", x)), [INFO] [stdout] 48 + x => panic!("2: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc19` (lib) due to 10 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `day` and `part` are never read [INFO] [stdout] --> src/solutions/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DayParseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | day: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | part: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DayParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Layer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 96 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/mod.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | _ => panic!(format!("Trying to feed {:?}", self.status)), [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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - _ => panic!(format!("Trying to feed {:?}", self.status)), [INFO] [stdout] 242 + _ => panic!("Trying to feed {:?}", self.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | 1 => day3::part1(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | 1 => day3::part1(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | 2 => day3::part2(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | 2 => day3::part2(&get_input(3)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | 1 => day4::part1(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | 1 => day4::part1(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | 2 => day4::part2(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | 2 => day4::part2(&get_input(4)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/solutions/mod.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | 1 => day8::part1(&get_input(8)?), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/mod.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | 1 => day8::part1(&get_input(8)?), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/day3.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let input = super::get_input(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/day3.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let input = super::get_input(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/day4.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let input = super::get_input(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/day4.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let input = super::get_input(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/solutions/day6.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&String> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&'a String> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | x => panic!(format!("1: Unexpected status {:?}", x)), [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] 44 - x => panic!(format!("1: Unexpected status {:?}", x)), [INFO] [stdout] 44 + x => panic!("1: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | x => panic!(format!("2: Unexpected status {:?}", x)), [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] 48 - x => panic!(format!("2: Unexpected status {:?}", x)), [INFO] [stdout] 48 + x => panic!("2: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/day8.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let input: String = super::get_input(8).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/solutions/day8.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | let input: String = super::get_input(8).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc19` (lib test) due to 16 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04fb758403fcccec387436da2c59f31b9c80ea8f88d2a234b85673ca9e7bd0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04fb758403fcccec387436da2c59f31b9c80ea8f88d2a234b85673ca9e7bd0d5", kill_on_drop: false }` [INFO] [stdout] 04fb758403fcccec387436da2c59f31b9c80ea8f88d2a234b85673ca9e7bd0d5