[INFO] cloning repository https://github.com/maurimura/aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maurimura/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaurimura%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaurimura%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a6d6bfdc87b5858512071f868aa2cc0ae120892 [INFO] checking maurimura/aoc-2022 against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaurimura%2Faoc-2022" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maurimura/aoc-2022 on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maurimura/aoc-2022 [INFO] finished tweaking git repo https://github.com/maurimura/aoc-2022 [INFO] tweaked toml for git repo https://github.com/maurimura/aoc-2022 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maurimura/aoc-2022 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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43e430ab2788845e1aa0e2f2fb212962a97c818d6f5d66a3b2cb588132a510de [INFO] running `Command { std: "docker" "start" "-a" "43e430ab2788845e1aa0e2f2fb212962a97c818d6f5d66a3b2cb588132a510de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43e430ab2788845e1aa0e2f2fb212962a97c818d6f5d66a3b2cb588132a510de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e430ab2788845e1aa0e2f2fb212962a97c818d6f5d66a3b2cb588132a510de", kill_on_drop: false }` [INFO] [stdout] 43e430ab2788845e1aa0e2f2fb212962a97c818d6f5d66a3b2cb588132a510de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1818f8e600dba73136b273532629736688ffa222ed72e39b13e91112f78dd241 [INFO] running `Command { std: "docker" "start" "-a" "1818f8e600dba73136b273532629736688ffa222ed72e39b13e91112f78dd241", kill_on_drop: false }` [INFO] [stderr] Checking day-7 v0.1.0 (/opt/rustwide/workdir/day-7) [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking day-2 v0.1.0 (/opt/rustwide/workdir/day-2) [INFO] [stderr] Checking day-8 v0.1.0 (/opt/rustwide/workdir/day-8) [INFO] [stderr] Checking day-4 v0.1.0 (/opt/rustwide/workdir/day-4) [INFO] [stderr] Checking helper v0.1.0 (/opt/rustwide/workdir/helper) [INFO] [stderr] Checking day-1 v0.1.0 (/opt/rustwide/workdir/day-1) [INFO] [stderr] Checking day-3 v0.1.0 (/opt/rustwide/workdir/day-3) [INFO] [stderr] Checking day-6 v0.1.0 (/opt/rustwide/workdir/day-6) [INFO] [stderr] Checking day-5 v0.1.0 (/opt/rustwide/workdir/day-5) [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> day-8/src/main.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_by_x` [INFO] [stdout] --> day-8/src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_by_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day-8/src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for x in left..right { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> day-8/src/main.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let row = match visible_by_y.0.get(&y) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-8/src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [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: fields `position` and `value` are never read [INFO] [stdout] --> day-8/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tree { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first`, `last`, and `local` are never read [INFO] [stdout] --> day-8/src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct TreeSlice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | first: Tree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | last: Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | local: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeSlice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(TreeSlice); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `TreeRow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_tree` is never used [INFO] [stdout] --> day-8/src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl TreeRow { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(TreeFromView); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> day-8/src/main.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_by_x` [INFO] [stdout] --> day-8/src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_by_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day-8/src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for x in left..right { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> day-8/src/main.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let row = match visible_by_y.0.get(&y) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-8/src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [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: fields `position` and `value` are never read [INFO] [stdout] --> day-8/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tree { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first`, `last`, and `local` are never read [INFO] [stdout] --> day-8/src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct TreeSlice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | first: Tree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | last: Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | local: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeSlice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(TreeSlice); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `TreeRow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_tree` is never used [INFO] [stdout] --> day-8/src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl TreeRow { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(TreeFromView); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "1818f8e600dba73136b273532629736688ffa222ed72e39b13e91112f78dd241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1818f8e600dba73136b273532629736688ffa222ed72e39b13e91112f78dd241", kill_on_drop: false }` [INFO] [stdout] 1818f8e600dba73136b273532629736688ffa222ed72e39b13e91112f78dd241 [INFO] checking maurimura/aoc-2022 against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaurimura%2Faoc-2022" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maurimura/aoc-2022 on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maurimura/aoc-2022 [INFO] finished tweaking git repo https://github.com/maurimura/aoc-2022 [INFO] tweaked toml for git repo https://github.com/maurimura/aoc-2022 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/maurimura/aoc-2022 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b2f4c1625ee509788f68e8f3c246b404cef1a2b998527a65dbc5716b67464f3 [INFO] running `Command { std: "docker" "start" "-a" "4b2f4c1625ee509788f68e8f3c246b404cef1a2b998527a65dbc5716b67464f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b2f4c1625ee509788f68e8f3c246b404cef1a2b998527a65dbc5716b67464f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2f4c1625ee509788f68e8f3c246b404cef1a2b998527a65dbc5716b67464f3", kill_on_drop: false }` [INFO] [stdout] 4b2f4c1625ee509788f68e8f3c246b404cef1a2b998527a65dbc5716b67464f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76cb986e76e39688328cd67e550747ddc63f1bd82b54da476ce2264a38e95a2a [INFO] running `Command { std: "docker" "start" "-a" "76cb986e76e39688328cd67e550747ddc63f1bd82b54da476ce2264a38e95a2a", kill_on_drop: false }` [INFO] [stderr] Checking day-2 v0.1.0 (/opt/rustwide/workdir/day-2) [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking day-1 v0.1.0 (/opt/rustwide/workdir/day-1) [INFO] [stderr] Checking day-4 v0.1.0 (/opt/rustwide/workdir/day-4) [INFO] [stderr] Checking day-8 v0.1.0 (/opt/rustwide/workdir/day-8) [INFO] [stderr] Checking day-5 v0.1.0 (/opt/rustwide/workdir/day-5) [INFO] [stderr] Checking day-3 v0.1.0 (/opt/rustwide/workdir/day-3) [INFO] [stderr] Checking helper v0.1.0 (/opt/rustwide/workdir/helper) [INFO] [stderr] Checking day-7 v0.1.0 (/opt/rustwide/workdir/day-7) [INFO] [stderr] Checking day-6 v0.1.0 (/opt/rustwide/workdir/day-6) [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> day-5/src/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut amount, from, to) = instruction; [INFO] [stdout] | ^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> day-5/src/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut amount, from, to) = instruction; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> day-8/src/main.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_by_x` [INFO] [stdout] --> day-8/src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_by_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day-8/src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for x in left..right { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> day-8/src/main.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let row = match visible_by_y.0.get(&y) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-8/src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [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: fields `position` and `value` are never read [INFO] [stdout] --> day-8/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tree { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first`, `last`, and `local` are never read [INFO] [stdout] --> day-8/src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct TreeSlice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | first: Tree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | last: Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | local: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeSlice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(TreeSlice); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `TreeRow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_tree` is never used [INFO] [stdout] --> day-8/src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl TreeRow { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(TreeFromView); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> day-8/src/main.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_by_x` [INFO] [stdout] --> day-8/src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_by_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day-8/src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for x in left..right { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> day-8/src/main.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let row = match visible_by_y.0.get(&y) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day-8/src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut visible_by_x = TreesFromTop(HashMap::new()); [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: fields `position` and `value` are never read [INFO] [stdout] --> day-8/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tree { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | value: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first`, `last`, and `local` are never read [INFO] [stdout] --> day-8/src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct TreeSlice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | first: Tree, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | last: Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | local: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeSlice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(TreeSlice); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `TreeRow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | struct TreeRow(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_tree` is never used [INFO] [stdout] --> day-8/src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl TreeRow { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn insert_tree(&self, tree: Tree) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> day-8/src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(TreeFromView); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 | struct TreesFromTop(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day-5` (bin "day-5") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> day-5/src/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut amount, from, to) = instruction; [INFO] [stdout] | ^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> day-5/src/main.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut amount, from, to) = instruction; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day-5` (bin "day-5" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "76cb986e76e39688328cd67e550747ddc63f1bd82b54da476ce2264a38e95a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cb986e76e39688328cd67e550747ddc63f1bd82b54da476ce2264a38e95a2a", kill_on_drop: false }` [INFO] [stdout] 76cb986e76e39688328cd67e550747ddc63f1bd82b54da476ce2264a38e95a2a