[INFO] cloning repository https://github.com/nindalf/advent-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nindalf/advent-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnindalf%2Fadvent-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnindalf%2Fadvent-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8588460acc80011f16462df0c99b84df6bbdcc53 [INFO] checking nindalf/advent-2021 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnindalf%2Fadvent-2021" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nindalf/advent-2021 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nindalf/advent-2021 [INFO] finished tweaking git repo https://github.com/nindalf/advent-2021 [INFO] tweaked toml for git repo https://github.com/nindalf/advent-2021 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nindalf/advent-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b794577ed6dae6d2c4a933dd08f09116be625261701bdcce398e2c0629bc974a [INFO] running `Command { std: "docker" "start" "-a" "b794577ed6dae6d2c4a933dd08f09116be625261701bdcce398e2c0629bc974a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b794577ed6dae6d2c4a933dd08f09116be625261701bdcce398e2c0629bc974a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b794577ed6dae6d2c4a933dd08f09116be625261701bdcce398e2c0629bc974a", kill_on_drop: false }` [INFO] [stdout] b794577ed6dae6d2c4a933dd08f09116be625261701bdcce398e2c0629bc974a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b554101b1453caef534cd754c036b957ebd3dc9d59b3bfa4f877041d5683e26 [INFO] running `Command { std: "docker" "start" "-a" "3b554101b1453caef534cd754c036b957ebd3dc9d59b3bfa4f877041d5683e26", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/hexreader.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | (Some(higher), None) => (higher << 4), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (Some(higher), None) => (higher << 4), [INFO] [stdout] 129 + (Some(higher), None) => higher << 4, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] 93 + self.storage[point.y * self.max_x + point.x] = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] 103 + self.storage[point.y * self.max_x + point.x] += n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/hexreader.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | (Some(higher), None) => (higher << 4), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (Some(higher), None) => (higher << 4), [INFO] [stdout] 129 + (Some(higher), None) => higher << 4, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] 93 + self.storage[point.y * self.max_x + point.x] = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] 103 + self.storage[point.y * self.max_x + point.x] += n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/packet.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 304 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 305 | use crate::hexreader::HexReader; [INFO] [stdout] 306 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/day22.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cuboid` is never constructed [INFO] [stdout] --> src/day22.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Cuboid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/day22.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/day22.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | struct Range(i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 | struct Range((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `intersect` and `no_overlap` are never used [INFO] [stdout] --> src/day22.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Cuboid { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 29 | fn intersect(self, other: &Cuboid) -> (Cuboid, Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn no_overlap(l1: (i32, i32), l2: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/day22.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cuboid` is never constructed [INFO] [stdout] --> src/day22.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Cuboid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/day22.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/day22.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | struct Range(i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 | struct Range((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `intersect` and `no_overlap` are never used [INFO] [stdout] --> src/day22.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Cuboid { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 29 | fn intersect(self, other: &Cuboid) -> (Cuboid, Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn no_overlap(l1: (i32, i32), l2: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "3b554101b1453caef534cd754c036b957ebd3dc9d59b3bfa4f877041d5683e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b554101b1453caef534cd754c036b957ebd3dc9d59b3bfa4f877041d5683e26", kill_on_drop: false }` [INFO] [stdout] 3b554101b1453caef534cd754c036b957ebd3dc9d59b3bfa4f877041d5683e26 [INFO] checking nindalf/advent-2021 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnindalf%2Fadvent-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] validating manifest of git repo https://github.com/nindalf/advent-2021 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nindalf/advent-2021 [INFO] finished tweaking git repo https://github.com/nindalf/advent-2021 [INFO] tweaked toml for git repo https://github.com/nindalf/advent-2021 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nindalf/advent-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fee2fa132b2d06c90bf31a9f787b83a66b5e5c735a56bafba811b0429d729f70 [INFO] running `Command { std: "docker" "start" "-a" "fee2fa132b2d06c90bf31a9f787b83a66b5e5c735a56bafba811b0429d729f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fee2fa132b2d06c90bf31a9f787b83a66b5e5c735a56bafba811b0429d729f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee2fa132b2d06c90bf31a9f787b83a66b5e5c735a56bafba811b0429d729f70", kill_on_drop: false }` [INFO] [stdout] fee2fa132b2d06c90bf31a9f787b83a66b5e5c735a56bafba811b0429d729f70 [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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb8287e81cc59dbf42525b283f16fda9b6885388b64f9afe8f1fe78120c04198 [INFO] running `Command { std: "docker" "start" "-a" "bb8287e81cc59dbf42525b283f16fda9b6885388b64f9afe8f1fe78120c04198", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/hexreader.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | (Some(higher), None) => (higher << 4), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (Some(higher), None) => (higher << 4), [INFO] [stdout] 129 + (Some(higher), None) => higher << 4, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] 93 + self.storage[point.y * self.max_x + point.x] = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] 103 + self.storage[point.y * self.max_x + point.x] += n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/hexreader.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | (Some(higher), None) => (higher << 4), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (Some(higher), None) => (higher << 4), [INFO] [stdout] 129 + (Some(higher), None) => higher << 4, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - self.storage[(point.y * self.max_x + point.x)] = val; [INFO] [stdout] 93 + self.storage[point.y * self.max_x + point.x] = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/matrix.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - self.storage[(point.y * self.max_x + point.x)] += n; [INFO] [stdout] 103 + self.storage[point.y * self.max_x + point.x] += n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/packet.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 304 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] 305 | use crate::hexreader::HexReader; [INFO] [stdout] 306 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/day22.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cuboid` is never constructed [INFO] [stdout] --> src/day22.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Cuboid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/day22.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/day22.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | struct Range(i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 | struct Range((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `intersect` and `no_overlap` are never used [INFO] [stdout] --> src/day22.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Cuboid { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 29 | fn intersect(self, other: &Cuboid) -> (Cuboid, Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn no_overlap(l1: (i32, i32), l2: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/day22.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cuboid` is never constructed [INFO] [stdout] --> src/day22.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Cuboid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/day22.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/day22.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | struct Range(i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 | struct Range((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `intersect` and `no_overlap` are never used [INFO] [stdout] --> src/day22.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Cuboid { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 29 | fn intersect(self, other: &Cuboid) -> (Cuboid, Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn no_overlap(l1: (i32, i32), l2: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "bb8287e81cc59dbf42525b283f16fda9b6885388b64f9afe8f1fe78120c04198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8287e81cc59dbf42525b283f16fda9b6885388b64f9afe8f1fe78120c04198", kill_on_drop: false }` [INFO] [stdout] bb8287e81cc59dbf42525b283f16fda9b6885388b64f9afe8f1fe78120c04198