[INFO] cloning repository https://github.com/kstrohbeck/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstrohbeck/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30940d65f60c3d781b0bde46e443339c7698b582 [INFO] building kstrohbeck/aoc-2021 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstrohbeck/aoc-2021 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kstrohbeck/aoc-2021 [INFO] finished tweaking git repo https://github.com/kstrohbeck/aoc-2021 [INFO] tweaked toml for git repo https://github.com/kstrohbeck/aoc-2021 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kstrohbeck/aoc-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b79457befdf9247cdf604622c5ee53c01b535d18e20dbd026cee156bb93df7ed [INFO] running `Command { std: "docker" "start" "-a" "b79457befdf9247cdf604622c5ee53c01b535d18e20dbd026cee156bb93df7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b79457befdf9247cdf604622c5ee53c01b535d18e20dbd026cee156bb93df7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b79457befdf9247cdf604622c5ee53c01b535d18e20dbd026cee156bb93df7ed", kill_on_drop: false }` [INFO] [stdout] b79457befdf9247cdf604622c5ee53c01b535d18e20dbd026cee156bb93df7ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f61d0444e697ec3c9f3b30f1db25149534d5eb7b71a8358a43062903c1975a4 [INFO] running `Command { std: "docker" "start" "-a" "5f61d0444e697ec3c9f3b30f1db25149534d5eb7b71a8358a43062903c1975a4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [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: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [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] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [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] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [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] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [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] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FULL` is never used [INFO] [stdout] --> src/day_08.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 165 | impl Digit { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 166 | const EMPTY: Self = Self(0b00000000); [INFO] [stdout] 167 | const FULL: Self = Self(0b01111111); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rule_pairs` is never used [INFO] [stdout] --> src/day_14.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Rules { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 78 | fn rule_pairs(&self, pair: (char, char)) -> Option<((char, char), (char, char))> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_15.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 72 | fn new(position: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `literal` and `operator` are never used [INFO] [stdout] --> src/day_16.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Packet { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 47 | fn literal(version: u8, num: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn operator(version: u8, op_type: OperatorType, subpackets: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_20.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_char` is never used [INFO] [stdout] --> src/day_20.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 219 | fn as_char(self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_adding` is never used [INFO] [stdout] --> src/day_22.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | fn try_adding(self, rhs: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `non_overlapping` and `try_adding` are never used [INFO] [stdout] --> src/day_22.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 222 | impl Segment { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | fn non_overlapping(self, rhs: Self) -> SegmentNonOverlappingIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn try_adding(self, rhs: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_18.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(self, Self::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(self, Self::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_21.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | std::mem::replace(a, new_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = std::mem::replace(a, new_a); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.61s [INFO] running `Command { std: "docker" "inspect" "5f61d0444e697ec3c9f3b30f1db25149534d5eb7b71a8358a43062903c1975a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f61d0444e697ec3c9f3b30f1db25149534d5eb7b71a8358a43062903c1975a4", kill_on_drop: false }` [INFO] [stdout] 5f61d0444e697ec3c9f3b30f1db25149534d5eb7b71a8358a43062903c1975a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2908b1d68b66774d610ee75acef7b26b5cb2b62a667046697e16ac23ac46b8d3 [INFO] running `Command { std: "docker" "start" "-a" "2908b1d68b66774d610ee75acef7b26b5cb2b62a667046697e16ac23ac46b8d3", kill_on_drop: false }` [INFO] [stderr] Compiling aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [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: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [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] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [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] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [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] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [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] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FULL` is never used [INFO] [stdout] --> src/day_08.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 165 | impl Digit { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 166 | const EMPTY: Self = Self(0b00000000); [INFO] [stdout] 167 | const FULL: Self = Self(0b01111111); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rule_pairs` is never used [INFO] [stdout] --> src/day_14.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Rules { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 78 | fn rule_pairs(&self, pair: (char, char)) -> Option<((char, char), (char, char))> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_15.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 72 | fn new(position: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_20.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_char` is never used [INFO] [stdout] --> src/day_20.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 219 | fn as_char(self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_18.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(self, Self::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(self, Self::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_21.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | std::mem::replace(a, new_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = std::mem::replace(a, new_a); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "2908b1d68b66774d610ee75acef7b26b5cb2b62a667046697e16ac23ac46b8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2908b1d68b66774d610ee75acef7b26b5cb2b62a667046697e16ac23ac46b8d3", kill_on_drop: false }` [INFO] [stdout] 2908b1d68b66774d610ee75acef7b26b5cb2b62a667046697e16ac23ac46b8d3