[INFO] cloning repository https://github.com/midapsh/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/midapsh/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmidapsh%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmidapsh%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 783623ce27fe4a8496f0f3ed5405a95cbf6cacce [INFO] checking midapsh/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%2Fmidapsh%2Fadvent-of-code-2021" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/midapsh/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/midapsh/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/midapsh/advent-of-code-2021 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/midapsh/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/midapsh/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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e6ea45f534ae35d01d104e04a739c1d0b3dcb75a11a2e5fd5ea2d829132996d5 [INFO] running `Command { std: "docker" "start" "-a" "e6ea45f534ae35d01d104e04a739c1d0b3dcb75a11a2e5fd5ea2d829132996d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6ea45f534ae35d01d104e04a739c1d0b3dcb75a11a2e5fd5ea2d829132996d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6ea45f534ae35d01d104e04a739c1d0b3dcb75a11a2e5fd5ea2d829132996d5", kill_on_drop: false }` [INFO] [stdout] e6ea45f534ae35d01d104e04a739c1d0b3dcb75a11a2e5fd5ea2d829132996d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] efe85022befd07ed4ae4f726e0c5958bf919207e566a4607dbd4312e2872b095 [INFO] running `Command { std: "docker" "start" "-a" "efe85022befd07ed4ae4f726e0c5958bf919207e566a4607dbd4312e2872b095", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/day12.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | fn private_solve_part_1(values: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/day12.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn private_solve_part_2(values: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Room` is never used [INFO] [stdout] --> src/day12.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Room<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/day8.rs:137:36 [INFO] [stdout] | [INFO] [stdout] 137 | let letter_g = number_9 [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 138 | | .deref() [INFO] [stdout] | |________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Deref`, so calling `deref` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | part: String, [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 `advent-of-code-2021` (bin "advent-of-code-2021") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "efe85022befd07ed4ae4f726e0c5958bf919207e566a4607dbd4312e2872b095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe85022befd07ed4ae4f726e0c5958bf919207e566a4607dbd4312e2872b095", kill_on_drop: false }` [INFO] [stdout] efe85022befd07ed4ae4f726e0c5958bf919207e566a4607dbd4312e2872b095