[INFO] cloning repository https://github.com/gab50000/AdventOfCode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gab50000/AdventOfCode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgab50000%2FAdventOfCode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgab50000%2FAdventOfCode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e34ff86b135de8bb71d9c0cc4abd7dee821ccdc9 [INFO] building gab50000/AdventOfCode2020 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgab50000%2FAdventOfCode2020" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gab50000/AdventOfCode2020 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gab50000/AdventOfCode2020 [INFO] finished tweaking git repo https://github.com/gab50000/AdventOfCode2020 [INFO] tweaked toml for git repo https://github.com/gab50000/AdventOfCode2020 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gab50000/AdventOfCode2020 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d60247f100a80627e5c1c09ea30d19b5d57f1df8d73f40d686fdcf20bf10a4fe [INFO] running `Command { std: "docker" "start" "-a" "d60247f100a80627e5c1c09ea30d19b5d57f1df8d73f40d686fdcf20bf10a4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d60247f100a80627e5c1c09ea30d19b5d57f1df8d73f40d686fdcf20bf10a4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60247f100a80627e5c1c09ea30d19b5d57f1df8d73f40d686fdcf20bf10a4fe", kill_on_drop: false }` [INFO] [stdout] d60247f100a80627e5c1c09ea30d19b5d57f1df8d73f40d686fdcf20bf10a4fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6762062c2e66cc0323098a617df347d079d2e055317ef40ea6aea435f6d71f3 [INFO] running `Command { std: "docker" "start" "-a" "d6762062c2e66cc0323098a617df347d079d2e055317ef40ea6aea435f6d71f3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling AdventOfCode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `AdventOfCode2020` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code2020` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `ErrorKind`, `Error`, `InputTakeAtPosition`, `anychar`, `line_ending`, and `multi::many1` [INFO] [stdout] --> src/day04.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | character::complete::{anychar, char, digit1, line_ending, space1}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | combinator::{map_res, opt}, [INFO] [stdout] 8 | error::{Error, ErrorKind}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 9 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | sequence::{terminated, tuple}, [INFO] [stdout] 11 | Err, IResult, InputTakeAtPosition, [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse_str` [INFO] [stdout] --> src/day04.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | macro_rules! parse_str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `space_or_newline` is never used [INFO] [stdout] --> src/day04.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn space_or_newline(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BirthYear` is never constructed [INFO] [stdout] --> src/day04.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct BirthYear(u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | impl BirthYear { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 54 | parse_num!("byr"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parse_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssueYear` is never constructed [INFO] [stdout] --> src/day04.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct IssueYear(u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | impl IssueYear { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 67 | parse_num!("iyr"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parse_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpirationYear` is never constructed [INFO] [stdout] --> src/day04.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ExpirationYear(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl ExpirationYear { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 72 | parse_num!("eyr"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parse_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HeightUnit` is never used [INFO] [stdout] --> src/day04.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | enum HeightUnit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl HeightUnit { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 82 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Height` is never constructed [INFO] [stdout] --> src/day04.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Height(HeightUnit); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl Height { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 96 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HairColor` is never constructed [INFO] [stdout] --> src/day04.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct HairColor(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl HairColor { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 120 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EyeColor` is never constructed [INFO] [stdout] --> src/day04.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct EyeColor(String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 148 | impl EyeColor { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 149 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PassportID` is never constructed [INFO] [stdout] --> src/day04.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | struct PassportID(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | impl PassportID { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 161 | parse_num!("pid"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parse_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CountryID` is never constructed [INFO] [stdout] --> src/day04.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | struct CountryID(u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/day04.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(input: &str) -> IResult<&str, Self> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | impl CountryID { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 168 | parse_num!("cid"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `parse_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Passport` is never constructed [INFO] [stdout] --> src/day04.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | struct Passport { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, and `is_valid` are never used [INFO] [stdout] --> src/day04.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl Passport { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 184 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn parse(input: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/day04.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn solve_a() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `till_whitespace` is never used [INFO] [stdout] --> src/day04.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn till_whitespace(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/day05.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | for r in result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 7 | while let Some(r) = result { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 7 | if let Some(r) = result { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "d6762062c2e66cc0323098a617df347d079d2e055317ef40ea6aea435f6d71f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6762062c2e66cc0323098a617df347d079d2e055317ef40ea6aea435f6d71f3", kill_on_drop: false }` [INFO] [stdout] d6762062c2e66cc0323098a617df347d079d2e055317ef40ea6aea435f6d71f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9331ab0b43322dff7a4a6474e0807bc2992a84e36895e18d658ead793d7706d2 [INFO] running `Command { std: "docker" "start" "-a" "9331ab0b43322dff7a4a6474e0807bc2992a84e36895e18d658ead793d7706d2", kill_on_drop: false }` [INFO] [stderr] Compiling AdventOfCode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `AdventOfCode2020` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `advent_of_code2020` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `ErrorKind`, `Error`, `InputTakeAtPosition`, `anychar`, `line_ending`, and `multi::many1` [INFO] [stdout] --> src/day04.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | character::complete::{anychar, char, digit1, line_ending, space1}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | combinator::{map_res, opt}, [INFO] [stdout] 8 | error::{Error, ErrorKind}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 9 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | sequence::{terminated, tuple}, [INFO] [stdout] 11 | Err, IResult, InputTakeAtPosition, [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse_str` [INFO] [stdout] --> src/day04.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | macro_rules! parse_str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/day04.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn solve_a() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/day05.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | for r in result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 7 | while let Some(r) = result { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 7 | if let Some(r) = result { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "9331ab0b43322dff7a4a6474e0807bc2992a84e36895e18d658ead793d7706d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9331ab0b43322dff7a4a6474e0807bc2992a84e36895e18d658ead793d7706d2", kill_on_drop: false }` [INFO] [stdout] 9331ab0b43322dff7a4a6474e0807bc2992a84e36895e18d658ead793d7706d2