[INFO] cloning repository https://github.com/wichops/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/wichops/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwichops%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwichops%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a389a3c331fc9319d8f9dbb30eb44a07657514cb [INFO] checking wichops/advent-of-code-2021 against master#4c5f6e6277b89e47d73a192078697f7a5f3dc0ac for pr-97086 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwichops%2Fadvent-of-code-2021" "/workspace/builds/worker-90/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-90/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wichops/advent-of-code-2021 on toolchain 4c5f6e6277b89e47d73a192078697f7a5f3dc0ac [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wichops/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/wichops/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/wichops/advent-of-code-2021 written to /workspace/builds/worker-90/source/Cargo.toml [INFO] crate git repo https://github.com/wichops/advent-of-code-2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c82573c81825b5d577a99b587c28c502ad3c3089ef25da8605d06dedc389ac25 [INFO] running `Command { std: "docker" "start" "-a" "c82573c81825b5d577a99b587c28c502ad3c3089ef25da8605d06dedc389ac25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c82573c81825b5d577a99b587c28c502ad3c3089ef25da8605d06dedc389ac25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c82573c81825b5d577a99b587c28c502ad3c3089ef25da8605d06dedc389ac25", kill_on_drop: false }` [INFO] [stdout] c82573c81825b5d577a99b587c28c502ad3c3089ef25da8605d06dedc389ac25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d198486b615d3246048b374e25baccc2dca856aff77373cda0111c84508cc4 [INFO] running `Command { std: "docker" "start" "-a" "e8d198486b615d3246048b374e25baccc2dca856aff77373cda0111c84508cc4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-1/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.02s [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> day-6/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut steps = 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-2/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-3/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> day-6/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut steps = 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_fish_count` [INFO] [stdout] --> day-6/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut new_fish_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_fish_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-1/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-3/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_fish_count` [INFO] [stdout] --> day-6/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut new_fish_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_fish_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-6/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut input = parse_input(lines); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-6/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut steps = 1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-6/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut new_fish_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-6/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut input = parse_input(lines); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-6/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut steps = 1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-6/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut new_fish_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result1` [INFO] [stdout] --> day-9/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let result1 = lowest_points.iter().fold(0, |acc, x| acc + x.number + 1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> day-2/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result1` [INFO] [stdout] --> day-9/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let result1 = lowest_points.iter().fold(0, |acc, x| acc + x.number + 1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e8d198486b615d3246048b374e25baccc2dca856aff77373cda0111c84508cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d198486b615d3246048b374e25baccc2dca856aff77373cda0111c84508cc4", kill_on_drop: false }` [INFO] [stdout] e8d198486b615d3246048b374e25baccc2dca856aff77373cda0111c84508cc4