[INFO] cloning repository https://github.com/oodalpha/advent_of_code_2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oodalpha/advent_of_code_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foodalpha%2Fadvent_of_code_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foodalpha%2Fadvent_of_code_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6cb6afd4f3db3b1c7d09b9ea0799b8514a30a54 [INFO] checking oodalpha/advent_of_code_2021 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%2Foodalpha%2Fadvent_of_code_2021" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oodalpha/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/oodalpha/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/oodalpha/advent_of_code_2021 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oodalpha/advent_of_code_2021 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/oodalpha/advent_of_code_2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac604fcb888d240d23d39a6bafdbf86b1a3b949ee9674098329997e47a168e41 [INFO] running `Command { std: "docker" "start" "-a" "ac604fcb888d240d23d39a6bafdbf86b1a3b949ee9674098329997e47a168e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac604fcb888d240d23d39a6bafdbf86b1a3b949ee9674098329997e47a168e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac604fcb888d240d23d39a6bafdbf86b1a3b949ee9674098329997e47a168e41", kill_on_drop: false }` [INFO] [stdout] ac604fcb888d240d23d39a6bafdbf86b1a3b949ee9674098329997e47a168e41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bc9ee23d47ea40bf99103e88135438daa000655d69ae25c2c54aded0c308f48 [INFO] running `Command { std: "docker" "start" "-a" "7bc9ee23d47ea40bf99103e88135438daa000655d69ae25c2c54aded0c308f48", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 14 | | match s { [INFO] [stdout] 15 | | "forward" => Ok(Direction::Forward), [INFO] [stdout] 16 | | "up" => Ok(Direction::Up), [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [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/day_2.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / match s { [INFO] [stdout] 15 | | "forward" => Ok(Direction::Forward), [INFO] [stdout] 16 | | "up" => Ok(Direction::Up), [INFO] [stdout] 17 | | "down" => Ok(Direction::Down), [INFO] [stdout] 18 | | _ => panic!("Invalid Direction") [INFO] [stdout] 19 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | "forward" => Ok(Direction::Forward), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | "up" => Ok(Direction::Up), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | "down" => Ok(Direction::Down), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 31 | | let coords: Vec<&str> = s.split_whitespace() [INFO] [stdout] 32 | | .collect(); [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(SubCommand { direction, distance }) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Direction> [INFO] [stdout] --> src/day_2.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let direction = coords[0].parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let direction = coords[0].parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let direction = coords[0].parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(SubCommand { direction, distance }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | |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/day_2.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 14 | | match s { [INFO] [stdout] 15 | | "forward" => Ok(Direction::Forward), [INFO] [stdout] 16 | | "up" => Ok(Direction::Up), [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [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/day_2.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / match s { [INFO] [stdout] 15 | | "forward" => Ok(Direction::Forward), [INFO] [stdout] 16 | | "up" => Ok(Direction::Up), [INFO] [stdout] 17 | | "down" => Ok(Direction::Down), [INFO] [stdout] 18 | | _ => panic!("Invalid Direction") [INFO] [stdout] 19 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | "forward" => Ok(Direction::Forward), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | "up" => Ok(Direction::Up), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | "down" => Ok(Direction::Down), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 31 | | let coords: Vec<&str> = s.split_whitespace() [INFO] [stdout] 32 | | .collect(); [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(SubCommand { direction, distance }) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Direction> [INFO] [stdout] --> src/day_2.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let direction = coords[0].parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let direction = coords[0].parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let direction = coords[0].parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(SubCommand { direction, distance }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day_2.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | |x| {x.parse().unwrap()}).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2021` (bin "advent_of_code_2021") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent_of_code_2021` (bin "advent_of_code_2021" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "7bc9ee23d47ea40bf99103e88135438daa000655d69ae25c2c54aded0c308f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc9ee23d47ea40bf99103e88135438daa000655d69ae25c2c54aded0c308f48", kill_on_drop: false }` [INFO] [stdout] 7bc9ee23d47ea40bf99103e88135438daa000655d69ae25c2c54aded0c308f48