[INFO] cloning repository https://github.com/kcotugno/aoc-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kcotugno/aoc-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkcotugno%2Faoc-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkcotugno%2Faoc-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a165f74a5de14b04d956d36d402e903bae89f9b7 [INFO] checking kcotugno/aoc-2018 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%2Fkcotugno%2Faoc-2018" "/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/kcotugno/aoc-2018 [INFO] finished tweaking git repo https://github.com/kcotugno/aoc-2018 [INFO] tweaked toml for git repo https://github.com/kcotugno/aoc-2018 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kcotugno/aoc-2018 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/kcotugno/aoc-2018 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: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] 91a8472cf5e9c1a821c9cd8d69a64a32c5e4132dc71144bbaacfb699f4b36ee5 [INFO] running `Command { std: "docker" "start" "-a" "91a8472cf5e9c1a821c9cd8d69a64a32c5e4132dc71144bbaacfb699f4b36ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91a8472cf5e9c1a821c9cd8d69a64a32c5e4132dc71144bbaacfb699f4b36ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a8472cf5e9c1a821c9cd8d69a64a32c5e4132dc71144bbaacfb699f4b36ee5", kill_on_drop: false }` [INFO] [stdout] 91a8472cf5e9c1a821c9cd8d69a64a32c5e4132dc71144bbaacfb699f4b36ee5 [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] 255906df3b5fd2152efd49c90aacc9287d669380c6b8b15fc7913e62eb6d5b9e [INFO] running `Command { std: "docker" "start" "-a" "255906df3b5fd2152efd49c90aacc9287d669380c6b8b15fc7913e62eb6d5b9e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aoc-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `aoc-2018` (lib test) due to 6 previous errors; 1 warning emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc/c03.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut s = &p[1..]; [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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c03.rs:35:54 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 36 | | let mut id = 0; [INFO] [stdout] 37 | | let mut x1 = 0; [INFO] [stdout] 38 | | let mut x2 = 0; [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(Self { id, x1, x2, y1, y2 }) [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] [stderr] error: could not compile `aoc-2018` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c03.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(Self { id, x1, x2, y1, y2 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c03.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | let parsed: Vec = input.iter().map(|i| i.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc/c03.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut s = &p[1..]; [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c04.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 25 | | let mut id = 0; [INFO] [stdout] 26 | | let mut date = String::new(); [INFO] [stdout] 27 | | let mut time = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | }) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c04.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / Ok(Self { [INFO] [stdout] 49 | | id, [INFO] [stdout] 50 | | time: format!("{}T{}Z", date, time).parse().unwrap(), [INFO] [stdout] 51 | | kind, [INFO] [stdout] 52 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c04.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | let mut parsed: Vec = input.iter().map(|i| i.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c03.rs:35:54 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 36 | | let mut id = 0; [INFO] [stdout] 37 | | let mut x1 = 0; [INFO] [stdout] 38 | | let mut x2 = 0; [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(Self { id, x1, x2, y1, y2 }) [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] --> src/aoc/c03.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(Self { id, x1, x2, y1, y2 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c03.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | let parsed: Vec = input.iter().map(|i| i.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c04.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 25 | | let mut id = 0; [INFO] [stdout] 26 | | let mut date = String::new(); [INFO] [stdout] 27 | | let mut time = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | }) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c04.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / Ok(Self { [INFO] [stdout] 49 | | id, [INFO] [stdout] 50 | | time: format!("{}T{}Z", date, time).parse().unwrap(), [INFO] [stdout] 51 | | kind, [INFO] [stdout] 52 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/aoc/c04.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | let mut parsed: Vec = input.iter().map(|i| i.parse().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "255906df3b5fd2152efd49c90aacc9287d669380c6b8b15fc7913e62eb6d5b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255906df3b5fd2152efd49c90aacc9287d669380c6b8b15fc7913e62eb6d5b9e", kill_on_drop: false }` [INFO] [stdout] 255906df3b5fd2152efd49c90aacc9287d669380c6b8b15fc7913e62eb6d5b9e