[INFO] cloning repository https://github.com/mkulagowski/rustAOCean2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkulagowski/rustAOCean2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkulagowski%2FrustAOCean2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkulagowski%2FrustAOCean2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cbbd644f54d99706e4cf8d75463e9fee117e842 [INFO] checking mkulagowski/rustAOCean2020 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%2Fmkulagowski%2FrustAOCean2020" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mkulagowski/rustAOCean2020 [INFO] finished tweaking git repo https://github.com/mkulagowski/rustAOCean2020 [INFO] tweaked toml for git repo https://github.com/mkulagowski/rustAOCean2020 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mkulagowski/rustAOCean2020 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ef7d75e3011eccb999aeaada7d00f47780d08ad00a5f0a8e66a882ce1f3a1f68 [INFO] running `Command { std: "docker" "start" "-a" "ef7d75e3011eccb999aeaada7d00f47780d08ad00a5f0a8e66a882ce1f3a1f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef7d75e3011eccb999aeaada7d00f47780d08ad00a5f0a8e66a882ce1f3a1f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7d75e3011eccb999aeaada7d00f47780d08ad00a5f0a8e66a882ce1f3a1f68", kill_on_drop: false }` [INFO] [stdout] ef7d75e3011eccb999aeaada7d00f47780d08ad00a5f0a8e66a882ce1f3a1f68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d60c0ea968601a7b37500fd8c17ea309961e00a51f2c107e7fb04b3ce5a75029 [INFO] running `Command { std: "docker" "start" "-a" "d60c0ea968601a7b37500fd8c17ea309961e00a51f2c107e7fb04b3ce5a75029", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking rustaocean2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day02.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day04.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day05.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day07.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day08.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day12.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day14.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day16.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashmap` [INFO] [stdout] --> src/days/day18.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, hashmap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day20.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day21.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day02.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day04.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day05.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day07.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day08.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day12.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day14.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day16.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashmap` [INFO] [stdout] --> src/days/day18.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, hashmap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day20.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reparse` [INFO] [stdout] --> src/days/day21.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::Solution, reparse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day02.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 22 | | let (min, max, character, password) = [INFO] [stdout] 23 | | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 30 | | }) [INFO] [stdout] 31 | | } [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/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day02.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / Ok(PasswordCheck { [INFO] [stdout] 26 | | min, [INFO] [stdout] 27 | | max, [INFO] [stdout] 28 | | character, [INFO] [stdout] 29 | | password, [INFO] [stdout] 30 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day02.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|x| x.parse().expect(&format!("Could not parse value {}", x))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day04.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 14 | | lazy_static! { [INFO] [stdout] 15 | | static ref PASSPORT: Regex = Regex::new(r"(\w+):(.+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 23 | | Ok(Passport::new(m)) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day04.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Passport::new(m)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day04.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|x| x.parse().expect(&format!("Could not parse value {}", x))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day11.rs:214:55 [INFO] [stdout] | [INFO] [stdout] 214 | let input: Vec = raw_input.iter().map(|x| x.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:42:53 [INFO] [stdout] | [INFO] [stdout] 42 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 43 | | match s { [INFO] [stdout] 44 | | "(" => Ok(Token::LParens), [INFO] [stdout] 45 | | ")" => Ok(Token::RParens), [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / match s { [INFO] [stdout] 44 | | "(" => Ok(Token::LParens), [INFO] [stdout] 45 | | ")" => Ok(Token::RParens), [INFO] [stdout] 46 | | op @ "*" | op @ "+" => Ok(Token::Op(op.parse().unwrap())), [INFO] [stdout] 47 | | c @ _ => Ok(Token::Value(c.parse().unwrap())), [INFO] [stdout] 48 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | "(" => Ok(Token::LParens), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | ")" => Ok(Token::RParens), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | op @ "*" | op @ "+" => Ok(Token::Op(op.parse().unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | c @ _ => Ok(Token::Value(c.parse().unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|x| x.to_string().parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day19.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | let msgs = iter.map(|x| x.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/days/day23.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | while pp < BIG_LIST.len() - 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/days/day23.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | do_da_crab(&mut BIG_LIST, 10_000_000); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | do_da_crab(&raw mut BIG_LIST, 10_000_000); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustaocean2020` (lib) due to 79 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day02.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 22 | | let (min, max, character, password) = [INFO] [stdout] 23 | | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 30 | | }) [INFO] [stdout] 31 | | } [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/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day02.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | reparse!(s, PARSE_PATTERN, usize, usize, char, String).unwrap(); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day02.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / Ok(PasswordCheck { [INFO] [stdout] 26 | | min, [INFO] [stdout] 27 | | max, [INFO] [stdout] 28 | | character, [INFO] [stdout] 29 | | password, [INFO] [stdout] 30 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day02.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|x| x.parse().expect(&format!("Could not parse value {}", x))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day04.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 14 | | lazy_static! { [INFO] [stdout] 15 | | static ref PASSPORT: Regex = Regex::new(r"(\w+):(.+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 23 | | Ok(Passport::new(m)) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day04.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|x| reparse!(x, PASSPORT, String, String).unwrap()) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day04.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Passport::new(m)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day04.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|x| x.parse().expect(&format!("Could not parse value {}", x))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day05.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let (_row, _column) = reparse!(x, SEAT_PATTERN, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | reparse!(input.as_str(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | reparse!(split_rule.next().unwrap(), RULE_START, String, i32, String).unwrap(); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day07.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let (sqnt, snode) = reparse!(txt, RULE_END, i32, String).unwrap(); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day08.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let (instr, arg) = reparse!(s, CODE, String, i32).unwrap(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day11.rs:214:55 [INFO] [stdout] | [INFO] [stdout] 214 | let input: Vec = raw_input.iter().map(|x| x.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day12.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let (dirstr, val) = reparse!(s, MOVE_REGX, String, u32).unwrap(); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day14.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mask_line = reparse!(line, MASK_REGX, String).unwrap(); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day16.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | reparse!(line, TICKET_FIELD, String, u32, u32, u32, u32) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustaocean2020` (lib test) due to 79 previous errors; 13 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:42:53 [INFO] [stdout] | [INFO] [stdout] 42 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 43 | | match s { [INFO] [stdout] 44 | | "(" => Ok(Token::LParens), [INFO] [stdout] 45 | | ")" => Ok(Token::RParens), [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / match s { [INFO] [stdout] 44 | | "(" => Ok(Token::LParens), [INFO] [stdout] 45 | | ")" => Ok(Token::RParens), [INFO] [stdout] 46 | | op @ "*" | op @ "+" => Ok(Token::Op(op.parse().unwrap())), [INFO] [stdout] 47 | | c @ _ => Ok(Token::Value(c.parse().unwrap())), [INFO] [stdout] 48 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | "(" => Ok(Token::LParens), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | ")" => Ok(Token::RParens), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | op @ "*" | op @ "+" => Ok(Token::Op(op.parse().unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | c @ _ => Ok(Token::Value(c.parse().unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day18.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|x| x.to_string().parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/days/day19.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | let msgs = iter.map(|x| x.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let err = "0".parse::<$($arg1)::*>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let ret = item.unwrap().as_str().parse::<$($arg1)::*>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | if ret.is_err() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/common.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ret.unwrap_or(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/days/day21.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | let (prod_str, allerg_str) = reparse!(x, PRODUCT_REGX, String, String).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::reparse_one` which comes from the expansion of the macro `reparse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/days/day23.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | while pp < BIG_LIST.len() - 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/days/day23.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | do_da_crab(&mut BIG_LIST, 10_000_000); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | do_da_crab(&raw mut BIG_LIST, 10_000_000); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d60c0ea968601a7b37500fd8c17ea309961e00a51f2c107e7fb04b3ce5a75029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60c0ea968601a7b37500fd8c17ea309961e00a51f2c107e7fb04b3ce5a75029", kill_on_drop: false }` [INFO] [stdout] d60c0ea968601a7b37500fd8c17ea309961e00a51f2c107e7fb04b3ce5a75029