[INFO] cloning repository https://github.com/ezracelli/advent-of-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ezracelli/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fezracelli%2Fadvent-of-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fezracelli%2Fadvent-of-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a5aec4de4ec60e6bfc35d068064eb57643c17b0
[INFO] checking ezracelli/advent-of-code 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%2Fezracelli%2Fadvent-of-code" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ezracelli/advent-of-code
[INFO] finished tweaking git repo https://github.com/ezracelli/advent-of-code
[INFO] tweaked toml for git repo https://github.com/ezracelli/advent-of-code written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ezracelli/advent-of-code on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ezracelli/advent-of-code already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] |
[INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b948a02790f97e1820278e17d95f502bd9ab70d2b9d06ad38bbb6cdd0f55f9b4
[INFO] running `Command { std: "docker" "start" "-a" "b948a02790f97e1820278e17d95f502bd9ab70d2b9d06ad38bbb6cdd0f55f9b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b948a02790f97e1820278e17d95f502bd9ab70d2b9d06ad38bbb6cdd0f55f9b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b948a02790f97e1820278e17d95f502bd9ab70d2b9d06ad38bbb6cdd0f55f9b4", kill_on_drop: false }`
[INFO] [stdout] b948a02790f97e1820278e17d95f502bd9ab70d2b9d06ad38bbb6cdd0f55f9b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 716460809df7518a943b65550b6696c2a2e9300f5929b28dd6ea00fea6550339
[INFO] running `Command { std: "docker" "start" "-a" "716460809df7518a943b65550b6696c2a2e9300f5929b28dd6ea00fea6550339", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] |
[INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling proc-macro2 v1.0.33
[INFO] [stderr] Compiling unicode-xid v0.2.2
[INFO] [stderr] Compiling syn v1.0.82
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Compiling memchr v2.4.1
[INFO] [stderr] Compiling serde_derive v1.0.131
[INFO] [stderr] Compiling serde v1.0.131
[INFO] [stderr] Compiling ryu v1.0.6
[INFO] [stderr] Compiling serde_json v1.0.72
[INFO] [stderr] Checking itoa v0.4.8
[INFO] [stderr] Checking bitflags v1.3.2
[INFO] [stderr] Compiling unicode-segmentation v1.8.0
[INFO] [stderr] Checking hashbrown v0.11.2
[INFO] [stderr] Checking textwrap v0.14.2
[INFO] [stderr] Compiling semver v1.0.4
[INFO] [stderr] Compiling crossbeam-utils v0.8.5
[INFO] [stderr] Compiling libc v0.2.109
[INFO] [stderr] Compiling crossbeam-epoch v0.9.5
[INFO] [stderr] Checking scopeguard v1.1.0
[INFO] [stderr] Compiling rayon-core v1.9.1
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Checking plotters-backend v0.3.2
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Compiling memoffset v0.6.5
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling rayon v1.5.1
[INFO] [stderr] Checking unicode-width v0.1.9
[INFO] [stderr] Checking regex-automata v0.1.10
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking plotters-svg v0.3.1
[INFO] [stderr] Checking itertools v0.10.3
[INFO] [stderr] Checking same-file v1.0.6
[INFO] [stderr] Checking regex-syntax v0.6.25
[INFO] [stderr] Checking half v1.8.2
[INFO] [stderr] Checking clap v2.34.0
[INFO] [stderr] Compiling rustc_version v0.4.0
[INFO] [stderr] Checking crossbeam-channel v0.5.1
[INFO] [stderr] Checking walkdir v2.3.2
[INFO] [stderr] Checking oorandom v11.1.3
[INFO] [stderr] Compiling nom v7.1.0
[INFO] [stderr] Compiling quote v1.0.10
[INFO] [stderr] Checking crossbeam-deque v0.8.1
[INFO] [stderr] Checking minimal-lexical v0.2.1
[INFO] [stderr] Compiling cast v0.2.7
[INFO] [stderr] Compiling heck v0.3.3
[INFO] [stderr] Checking os_str_bytes v6.0.0
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking csv-core v0.1.10
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking plotters v0.3.1
[INFO] [stderr] Checking regex v1.5.4
[INFO] [stderr] Checking criterion-plot v0.4.4
[INFO] [stderr] Compiling clap_derive v3.0.0-rc.0
[INFO] [stderr] Checking clap v3.0.0-rc.0
[INFO] [stderr] Checking bstr v0.2.17
[INFO] [stderr] Checking serde_cbor v0.11.2
[INFO] [stderr] Checking csv v1.1.6
[INFO] [stderr] Checking tinytemplate v1.2.1
[INFO] [stderr] Checking aoc v0.0.0 (/opt/rustwide/workdir/aoc)
[INFO] [stderr] Checking criterion v0.3.5
[INFO] [stderr] Checking aoc-2021-day-10 v0.0.0 (/opt/rustwide/workdir/2021/day/10)
[INFO] [stderr] Checking aoc-2021-day-4 v0.0.0 (/opt/rustwide/workdir/2021/day/4)
[INFO] [stderr] Checking aoc-2021-day-6 v0.0.0 (/opt/rustwide/workdir/2021/day/6)
[INFO] [stderr] Checking aoc-2021-day-11 v0.0.0 (/opt/rustwide/workdir/2021/day/11)
[INFO] [stderr] Checking aoc-2021-day-2 v0.0.0 (/opt/rustwide/workdir/2021/day/2)
[INFO] [stderr] Checking aoc-2021-day-9 v0.0.0 (/opt/rustwide/workdir/2021/day/9)
[INFO] [stderr] Checking aoc-2021-day-3 v0.0.0 (/opt/rustwide/workdir/2021/day/3)
[INFO] [stderr] Checking aoc-2021-day-5 v0.0.0 (/opt/rustwide/workdir/2021/day/5)
[INFO] [stderr] Checking aoc-2021-day-7 v0.0.0 (/opt/rustwide/workdir/2021/day/7)
[INFO] [stderr] Checking aoc-2021-day-1 v0.0.0 (/opt/rustwide/workdir/2021/day/1)
[INFO] [stderr] Checking aoc-2021-day-8 v0.0.0 (/opt/rustwide/workdir/2021/day/8)
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/lib.rs:77:57
[INFO] [stdout] |
[INFO] [stdout] 77 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 78 | | Ok(Self(
[INFO] [stdout] 79 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 80 | | ))
[INFO] [stdout] 81 | | }
[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] --> 2021/day/5/src/lib.rs:78:9
[INFO] [stdout] |
[INFO] [stdout] 78 | / Ok(Self(
[INFO] [stdout] 79 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 80 | | ))
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/lib.rs:79:38
[INFO] [stdout] |
[INFO] [stdout] 79 | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/coordinate.rs:19:53
[INFO] [stdout] |
[INFO] [stdout] 19 | fn from_str(s: &str) -> Result {
[INFO] [stdout] | _____________________________________________________^
[INFO] [stdout] 20 | | let mut parts = s.split(',');
[INFO] [stdout] 21 | |
[INFO] [stdout] 22 | | let x = parts.next().unwrap().parse().unwrap();
[INFO] [stdout] ... |
[INFO] [stdout] 25 | | Ok(Self::new(x, y))
[INFO] [stdout] 26 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/coordinate.rs:25:9
[INFO] [stdout] |
[INFO] [stdout] 25 | Ok(Self::new(x, y))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/line.rs:46:53
[INFO] [stdout] |
[INFO] [stdout] 46 | fn from_str(s: &str) -> Result {
[INFO] [stdout] | _____________________________________________________^
[INFO] [stdout] 47 | | let mut parts = s.split(" -> ");
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | | let from = parts.next().unwrap().parse().unwrap();
[INFO] [stdout] ... |
[INFO] [stdout] 52 | | Ok(Self::new(from, to))
[INFO] [stdout] 53 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/line.rs:49:20
[INFO] [stdout] |
[INFO] [stdout] 49 | let from = parts.next().unwrap().parse().unwrap();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/line.rs:50:18
[INFO] [stdout] |
[INFO] [stdout] 50 | let to = parts.next().unwrap().parse().unwrap();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/5/src/line.rs:52:9
[INFO] [stdout] |
[INFO] [stdout] 52 | Ok(Self::new(from, to))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout] --> 2021/day/11/src/lib.rs:118:37
[INFO] [stdout] |
[INFO] [stdout] 118 | .map(|char| (char.to_digit(10).unwrap() as usize))
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 118 - .map(|char| (char.to_digit(10).unwrap() as usize))
[INFO] [stdout] 118 + .map(|char| char.to_digit(10).unwrap() as usize )
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `aoc-2021-day-5` (lib) due to 9 previous errors
[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] --> 2021/day/3/src/lib.rs:38:57
[INFO] [stdout] |
[INFO] [stdout] 38 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 39 | | let lines = value.lines().map(str::to_string).collect::>();
[INFO] [stdout] 40 | | let bit_count = lines[0].len();
[INFO] [stdout] ... |
[INFO] [stdout] 43 | | }
[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] --> 2021/day/3/src/lib.rs:42:9
[INFO] [stdout] |
[INFO] [stdout] 42 | Ok(Self { bit_count, lines })
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/7/src/lib.rs:50:57
[INFO] [stdout] |
[INFO] [stdout] 50 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 51 | | Ok(Self(
[INFO] [stdout] 52 | | value
[INFO] [stdout] 53 | | .lines()
[INFO] [stdout] ... |
[INFO] [stdout] 59 | | ))
[INFO] [stdout] 60 | | }
[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] --> 2021/day/7/src/lib.rs:51:9
[INFO] [stdout] |
[INFO] [stdout] 51 | / Ok(Self(
[INFO] [stdout] 52 | | value
[INFO] [stdout] 53 | | .lines()
[INFO] [stdout] 54 | | .next()
[INFO] [stdout] ... |
[INFO] [stdout] 58 | | .collect(),
[INFO] [stdout] 59 | | ))
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `aoc-2021-day-3` (lib) due to 2 previous errors
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/9/src/lib.rs:161:57
[INFO] [stdout] |
[INFO] [stdout] 161 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 162 | | Ok(Self(
[INFO] [stdout] 163 | | value
[INFO] [stdout] 164 | | .lines()
[INFO] [stdout] ... |
[INFO] [stdout] 171 | | ))
[INFO] [stdout] 172 | | }
[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] --> 2021/day/9/src/lib.rs:162:9
[INFO] [stdout] |
[INFO] [stdout] 162 | / Ok(Self(
[INFO] [stdout] 163 | | value
[INFO] [stdout] 164 | | .lines()
[INFO] [stdout] 165 | | .map(|line| {
[INFO] [stdout] ... |
[INFO] [stdout] 170 | | .collect(),
[INFO] [stdout] 171 | | ))
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `aoc-2021-day-7` (lib) due to 2 previous errors
[INFO] [stderr] error: could not compile `aoc-2021-day-9` (lib) due to 2 previous errors
[INFO] [stdout] warning: struct `Line` is never constructed
[INFO] [stdout] --> 2021/day/10/src/ast.rs:74:12
[INFO] [stdout] |
[INFO] [stdout] 74 | pub struct Line(Vec);
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/10/src/lib.rs:77:57
[INFO] [stdout] |
[INFO] [stdout] 77 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 78 | | Ok(Self(value.lines().map(str::to_string).collect()))
[INFO] [stdout] 79 | | }
[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] --> 2021/day/10/src/lib.rs:78:9
[INFO] [stdout] |
[INFO] [stdout] 78 | Ok(Self(value.lines().map(str::to_string).collect()))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/6/src/lib.rs:47:57
[INFO] [stdout] |
[INFO] [stdout] 47 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 48 | | let mut lanternfish = BTreeMap::new();
[INFO] [stdout] 49 | |
[INFO] [stdout] 50 | | for line in value.lines() {
[INFO] [stdout] ... |
[INFO] [stdout] 58 | | Ok(Self(lanternfish))
[INFO] [stdout] 59 | | }
[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] --> 2021/day/6/src/lib.rs:58:9
[INFO] [stdout] |
[INFO] [stdout] 58 | Ok(Self(lanternfish))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/6/src/lanternfish.rs:18:53
[INFO] [stdout] |
[INFO] [stdout] 18 | fn from_str(s: &str) -> Result {
[INFO] [stdout] | _____________________________________________________^
[INFO] [stdout] 19 | | Ok(Self::new(s.parse().unwrap()))
[INFO] [stdout] 20 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/6/src/lanternfish.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | Ok(Self::new(s.parse().unwrap()))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/1/src/lib.rs:57:57
[INFO] [stdout] |
[INFO] [stdout] 57 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 58 | | Ok(Self(
[INFO] [stdout] 59 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 60 | | ))
[INFO] [stdout] 61 | | }
[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] --> 2021/day/4/src/lib.rs:63:57
[INFO] [stdout] |
[INFO] [stdout] 63 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 64 | | let mut lines = value.lines();
[INFO] [stdout] 65 | |
[INFO] [stdout] 66 | | let numbers = lines
[INFO] [stdout] ... |
[INFO] [stdout] 88 | | Ok(Self { boards, numbers })
[INFO] [stdout] 89 | | }
[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] --> 2021/day/4/src/lib.rs:77:17
[INFO] [stdout] |
[INFO] [stdout] 77 | / chunk
[INFO] [stdout] 78 | | .into_iter()
[INFO] [stdout] 79 | | .take(5)
[INFO] [stdout] 80 | | .map(|s| s.to_string())
[INFO] [stdout] 81 | | .collect::>()
[INFO] [stdout] 82 | | .join("\n")
[INFO] [stdout] 83 | | .parse()
[INFO] [stdout] | |____________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/4/src/lib.rs:88:9
[INFO] [stdout] |
[INFO] [stdout] 88 | Ok(Self { boards, numbers })
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/4/src/board.rs:94:53
[INFO] [stdout] |
[INFO] [stdout] 94 | fn from_str(s: &str) -> Result {
[INFO] [stdout] | _____________________________________________________^
[INFO] [stdout] 95 | | let mut input: [[usize; 5]; 5] = Default::default();
[INFO] [stdout] 96 | |
[INFO] [stdout] 97 | | for (i, line) in s.lines().enumerate() {
[INFO] [stdout] ... |
[INFO] [stdout] 106 | | })
[INFO] [stdout] 107 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/4/src/board.rs:103:9
[INFO] [stdout] |
[INFO] [stdout] 103 | / Ok(Self {
[INFO] [stdout] 104 | | input,
[INFO] [stdout] 105 | | ..Default::default()
[INFO] [stdout] 106 | | })
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/1/src/lib.rs:58:9
[INFO] [stdout] |
[INFO] [stdout] 58 | / Ok(Self(
[INFO] [stdout] 59 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 60 | | ))
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `aoc-2021-day-10` (lib) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `aoc-2021-day-6` (lib) due to 4 previous errors
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/11/src/lib.rs:112:57
[INFO] [stdout] |
[INFO] [stdout] 112 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 113 | | Ok(Self(
[INFO] [stdout] 114 | | value
[INFO] [stdout] 115 | | .lines()
[INFO] [stdout] ... |
[INFO] [stdout] 122 | | ))
[INFO] [stdout] 123 | | }
[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] --> 2021/day/11/src/lib.rs:113:9
[INFO] [stdout] |
[INFO] [stdout] 113 | / Ok(Self(
[INFO] [stdout] 114 | | value
[INFO] [stdout] 115 | | .lines()
[INFO] [stdout] 116 | | .map(|line| {
[INFO] [stdout] ... |
[INFO] [stdout] 121 | | .collect(),
[INFO] [stdout] 122 | | ))
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `aoc-2021-day-1` (lib) due to 2 previous errors
[INFO] [stderr] error: could not compile `aoc-2021-day-4` (lib) due to 5 previous errors
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/lib.rs:53:57
[INFO] [stdout] |
[INFO] [stdout] 53 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 54 | | Ok(Self(
[INFO] [stdout] 55 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 56 | | ))
[INFO] [stdout] 57 | | }
[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] --> 2021/day/2/src/lib.rs:54:9
[INFO] [stdout] |
[INFO] [stdout] 54 | / Ok(Self(
[INFO] [stdout] 55 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 56 | | ))
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/lib.rs:55:38
[INFO] [stdout] |
[INFO] [stdout] 55 | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/direction.rs:14:53
[INFO] [stdout] |
[INFO] [stdout] 14 | fn from_str(s: &str) -> Result {
[INFO] [stdout] | _____________________________________________________^
[INFO] [stdout] 15 | | match s {
[INFO] [stdout] 16 | | "down" => Ok(Direction::Down),
[INFO] [stdout] 17 | | "forward" => Ok(Direction::Forward),
[INFO] [stdout] ... |
[INFO] [stdout] 21 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/direction.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 15 | / match s {
[INFO] [stdout] 16 | | "down" => Ok(Direction::Down),
[INFO] [stdout] 17 | | "forward" => Ok(Direction::Forward),
[INFO] [stdout] 18 | | "up" => Ok(Direction::Up),
[INFO] [stdout] 19 | | _ => unreachable!(),
[INFO] [stdout] 20 | | }
[INFO] [stdout] | |_________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/direction.rs:16:23
[INFO] [stdout] |
[INFO] [stdout] 16 | "down" => Ok(Direction::Down),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/direction.rs:17:26
[INFO] [stdout] |
[INFO] [stdout] 17 | "forward" => Ok(Direction::Forward),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/direction.rs:18:21
[INFO] [stdout] |
[INFO] [stdout] 18 | "up" => Ok(Direction::Up),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/movement.rs:15:53
[INFO] [stdout] |
[INFO] [stdout] 15 | fn from_str(s: &str) -> Result {
[INFO] [stdout] | _____________________________________________________^
[INFO] [stdout] 16 | | let mut parts = s.split(" ");
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | | let direction = parts.next().unwrap().parse().unwrap();
[INFO] [stdout] ... |
[INFO] [stdout] 21 | | Ok(Self { direction, units })
[INFO] [stdout] 22 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/movement.rs:18:25
[INFO] [stdout] |
[INFO] [stdout] 18 | let direction = parts.next().unwrap().parse().unwrap();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/2/src/movement.rs:21:9
[INFO] [stdout] |
[INFO] [stdout] 21 | Ok(Self { direction, units })
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `aoc-2021-day-11` (lib) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `aoc-2021-day-2` (lib) due to 11 previous errors
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/8/src/lib.rs:140:57
[INFO] [stdout] |
[INFO] [stdout] 140 | fn from_str(value: &str) -> Result {
[INFO] [stdout] | _________________________________________________________^
[INFO] [stdout] 141 | | Ok(Self(
[INFO] [stdout] 142 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 143 | | ))
[INFO] [stdout] 144 | | }
[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] --> 2021/day/8/src/lib.rs:141:9
[INFO] [stdout] |
[INFO] [stdout] 141 | / Ok(Self(
[INFO] [stdout] 142 | | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] 143 | | ))
[INFO] [stdout] | |__________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/8/src/lib.rs:142:38
[INFO] [stdout] |
[INFO] [stdout] 142 | value.lines().map(|line| line.parse().unwrap()).collect(),
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/8/src/line.rs:21:53
[INFO] [stdout] |
[INFO] [stdout] 21 | fn from_str(s: &str) -> Result {
[INFO] [stdout] | _____________________________________________________^
[INFO] [stdout] 22 | | let mut parts = s.split(" | ");
[INFO] [stdout] 23 | |
[INFO] [stdout] 24 | | let input = parts.next().unwrap().split(' ').map(Digit::new).collect();
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | Ok(Self::new(input, output))
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this type will no longer be must used: Result
[INFO] [stdout] --> 2021/day/8/src/line.rs:27:9
[INFO] [stdout] |
[INFO] [stdout] 27 | Ok(Self::new(input, output))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `aoc-2021-day-8` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "716460809df7518a943b65550b6696c2a2e9300f5929b28dd6ea00fea6550339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "716460809df7518a943b65550b6696c2a2e9300f5929b28dd6ea00fea6550339", kill_on_drop: false }`
[INFO] [stdout] 716460809df7518a943b65550b6696c2a2e9300f5929b28dd6ea00fea6550339