[INFO] cloning repository https://github.com/xamgore/aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xamgore/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamgore%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamgore%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71216eaadf0554731e69b1a6d9108d4643f9d755 [INFO] checking xamgore/aoc-2022 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%2Fxamgore%2Faoc-2022" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xamgore/aoc-2022 [INFO] finished tweaking git repo https://github.com/xamgore/aoc-2022 [INFO] tweaked toml for git repo https://github.com/xamgore/aoc-2022 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xamgore/aoc-2022 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/xamgore/aoc-2022 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] de7e0de905929b4050fdd530f2e62fae7c9abde0613eb96841eea88ff08efb00 [INFO] running `Command { std: "docker" "start" "-a" "de7e0de905929b4050fdd530f2e62fae7c9abde0613eb96841eea88ff08efb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de7e0de905929b4050fdd530f2e62fae7c9abde0613eb96841eea88ff08efb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7e0de905929b4050fdd530f2e62fae7c9abde0613eb96841eea88ff08efb00", kill_on_drop: false }` [INFO] [stdout] de7e0de905929b4050fdd530f2e62fae7c9abde0613eb96841eea88ff08efb00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5c130b34cdb42b1346596f862658b237d0645c5b41b633d3e4579a3205b6f5ff [INFO] running `Command { std: "docker" "start" "-a" "5c130b34cdb42b1346596f862658b237d0645c5b41b633d3e4579a3205b6f5ff", 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 anyhow v1.0.68 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Checking day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stderr] Checking day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Checking day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> day6/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> day6/src/main.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | sl.chars().fold(true, |acc, ch| (acc && set.insert(ch))) [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] 12 - sl.chars().fold(true, |acc, ch| (acc && set.insert(ch))) [INFO] [stdout] 12 + sl.chars().fold(true, |acc, ch| acc && set.insert(ch) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> day10/src/runtime.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Display, Formatter}; [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: `Debug` [INFO] [stdout] --> day10/src/runtime.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Display, Formatter}; [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: `itertools::Itertools` [INFO] [stdout] --> day7/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use itertools::Itertools; [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: `std::str::FromStr` [INFO] [stdout] --> day7/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> day7/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use itertools::Itertools; [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: `std::str::FromStr` [INFO] [stdout] --> day7/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> day5/src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | .for_each(|(idx, (amount, from, to))| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day10/src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let mut runtime = f [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day10/src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let mut runtime = f [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> day1/src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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] --> day2/src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|l| l.parse::().unwrap()) [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] --> day2/src/main.rs:56:64 [INFO] [stdout] | [INFO] [stdout] 56 | fn from_str(s: &str) -> std::result::Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 57 | | let (op, out) = s.split_once(' ').unwrap(); [INFO] [stdout] 58 | | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] 59 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Gesture> [INFO] [stdout] --> day2/src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Outcome> [INFO] [stdout] --> day2/src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> day6/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> day6/src/main.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | sl.chars().fold(true, |acc, ch| (acc && set.insert(ch))) [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] 12 - sl.chars().fold(true, |acc, ch| (acc && set.insert(ch))) [INFO] [stdout] 12 + sl.chars().fold(true, |acc, ch| acc && set.insert(ch) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:94:64 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> std::result::Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 95 | | Ok(match s { [INFO] [stdout] 96 | | "A" | "X" => Rock, [INFO] [stdout] 97 | | "B" | "Y" => Paper, [INFO] [stdout] ... | [INFO] [stdout] 100 | | }) [INFO] [stdout] 101 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / Ok(match s { [INFO] [stdout] 96 | | "A" | "X" => Rock, [INFO] [stdout] 97 | | "B" | "Y" => Paper, [INFO] [stdout] 98 | | "C" | "Z" => Scissors, [INFO] [stdout] 99 | | _ => panic!(), [INFO] [stdout] 100 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:124:64 [INFO] [stdout] | [INFO] [stdout] 124 | fn from_str(s: &str) -> std::result::Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 125 | | Ok(match s { [INFO] [stdout] 126 | | "X" => Lost, [INFO] [stdout] 127 | | "Y" => Draw, [INFO] [stdout] ... | [INFO] [stdout] 130 | | }) [INFO] [stdout] 131 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / Ok(match s { [INFO] [stdout] 126 | | "X" => Lost, [INFO] [stdout] 127 | | "Y" => Draw, [INFO] [stdout] 128 | | "Z" => Won, [INFO] [stdout] 129 | | _ => panic!(), [INFO] [stdout] 130 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day2` (bin "day2") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> day5/src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | .for_each(|(idx, (amount, from, to))| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> day1/src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, BufRead, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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] --> day2/src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|l| l.parse::().unwrap()) [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] --> day2/src/main.rs:56:64 [INFO] [stdout] | [INFO] [stdout] 56 | fn from_str(s: &str) -> std::result::Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 57 | | let (op, out) = s.split_once(' ').unwrap(); [INFO] [stdout] 58 | | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] 59 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Gesture> [INFO] [stdout] --> day2/src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Outcome> [INFO] [stdout] --> day2/src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Round::new(op.parse()?, out.parse()?)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:94:64 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> std::result::Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 95 | | Ok(match s { [INFO] [stdout] 96 | | "A" | "X" => Rock, [INFO] [stdout] 97 | | "B" | "Y" => Paper, [INFO] [stdout] ... | [INFO] [stdout] 100 | | }) [INFO] [stdout] 101 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / Ok(match s { [INFO] [stdout] 96 | | "A" | "X" => Rock, [INFO] [stdout] 97 | | "B" | "Y" => Paper, [INFO] [stdout] 98 | | "C" | "Z" => Scissors, [INFO] [stdout] 99 | | _ => panic!(), [INFO] [stdout] 100 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:124:64 [INFO] [stdout] | [INFO] [stdout] 124 | fn from_str(s: &str) -> std::result::Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 125 | | Ok(match s { [INFO] [stdout] 126 | | "X" => Lost, [INFO] [stdout] 127 | | "Y" => Draw, [INFO] [stdout] ... | [INFO] [stdout] 130 | | }) [INFO] [stdout] 131 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day2/src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / Ok(match s { [INFO] [stdout] 126 | | "X" => Lost, [INFO] [stdout] 127 | | "Y" => Draw, [INFO] [stdout] 128 | | "Z" => Won, [INFO] [stdout] 129 | | _ => panic!(), [INFO] [stdout] 130 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day2` (bin "day2" test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "5c130b34cdb42b1346596f862658b237d0645c5b41b633d3e4579a3205b6f5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c130b34cdb42b1346596f862658b237d0645c5b41b633d3e4579a3205b6f5ff", kill_on_drop: false }` [INFO] [stdout] 5c130b34cdb42b1346596f862658b237d0645c5b41b633d3e4579a3205b6f5ff