[INFO] cloning repository https://github.com/camas/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/camas/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2888a40f4ab581e02f13a56b71e32f8347b9303e [INFO] checking camas/advent-of-code against master#6b6610b8bd5112bbb3bd2b73a97250cb06979505 for pr-102713 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fadvent-of-code" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/camas/advent-of-code on toolchain 6b6610b8bd5112bbb3bd2b73a97250cb06979505 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/camas/advent-of-code [INFO] finished tweaking git repo https://github.com/camas/advent-of-code [INFO] tweaked toml for git repo https://github.com/camas/advent-of-code written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/camas/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded z3 v0.11.2 [INFO] [stderr] Downloaded z3-sys v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efc53dec89583c16d2fd08a033781f69958833eb8ce44966e66c331e53b5df98 [INFO] running `Command { std: "docker" "start" "-a" "efc53dec89583c16d2fd08a033781f69958833eb8ce44966e66c331e53b5df98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efc53dec89583c16d2fd08a033781f69958833eb8ce44966e66c331e53b5df98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc53dec89583c16d2fd08a033781f69958833eb8ce44966e66c331e53b5df98", kill_on_drop: false }` [INFO] [stdout] efc53dec89583c16d2fd08a033781f69958833eb8ce44966e66c331e53b5df98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a7827a61a587bbfdc98f51457cba69b651aea129082993efed0cfa4cdf599d3 [INFO] running `Command { std: "docker" "start" "-a" "4a7827a61a587bbfdc98f51457cba69b651aea129082993efed0cfa4cdf599d3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.1 [INFO] [stderr] Checking rustls v0.20.2 [INFO] [stderr] Compiling z3-sys v0.7.1 [INFO] [stderr] Checking ureq v2.3.1 [INFO] [stderr] Checking z3 v0.11.2 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day18.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number` and `Pair` are never constructed [INFO] [stdout] --> src/y2021/day18.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Segment { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 29 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | Pair(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day18.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn from_str(data: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/y2021/day18.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn add(self, other: Segment) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reduce` is never used [INFO] [stdout] --> src/y2021/day18.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn reduce(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `explode` is never used [INFO] [stdout] --> src/y2021/day18.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn explode(&mut self, depth: usize) -> Option<(Option, Option)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_right` is never used [INFO] [stdout] --> src/y2021/day18.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn add_right(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_left` is never used [INFO] [stdout] --> src/y2021/day18.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn add_left(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `split` is never used [INFO] [stdout] --> src/y2021/day18.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn split(&mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `magnitude` is never used [INFO] [stdout] --> src/y2021/day18.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn magnitude(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day24.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Input`, `Add`, `Multiply`, `Divide`, `Modulus` and `Equal` are never constructed [INFO] [stdout] --> src/y2021/day24.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 104 | Input(Variable), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | Add(Variable, Value), [INFO] [stdout] | ^^^ [INFO] [stdout] 106 | Multiply(Variable, Value), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | Divide(Variable, Value), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Modulus(Variable, Value), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | Equal(Variable, Value), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Variable` and `Literal` are never constructed [INFO] [stdout] --> src/y2021/day24.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 139 | Variable(Variable), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 140 | Literal(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `W`, `X`, `Y` and `Z` are never constructed [INFO] [stdout] --> src/y2021/day24.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 155 | W, [INFO] [stdout] | ^ [INFO] [stdout] 156 | X, [INFO] [stdout] | ^ [INFO] [stdout] 157 | Y, [INFO] [stdout] | ^ [INFO] [stdout] 158 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day24.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day24.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day24.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day25.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day25.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `step` is never used [INFO] [stdout] --> src/y2021/day25.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn step(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day18.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number` and `Pair` are never constructed [INFO] [stdout] --> src/y2021/day18.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Segment { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 29 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | Pair(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day18.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn from_str(data: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/y2021/day18.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn add(self, other: Segment) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reduce` is never used [INFO] [stdout] --> src/y2021/day18.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn reduce(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `explode` is never used [INFO] [stdout] --> src/y2021/day18.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn explode(&mut self, depth: usize) -> Option<(Option, Option)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_right` is never used [INFO] [stdout] --> src/y2021/day18.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn add_right(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_left` is never used [INFO] [stdout] --> src/y2021/day18.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn add_left(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `split` is never used [INFO] [stdout] --> src/y2021/day18.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn split(&mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `magnitude` is never used [INFO] [stdout] --> src/y2021/day18.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn magnitude(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day19.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `orientation` and `scanner` are never read [INFO] [stdout] --> src/y2021/day19.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct ScannerPosition { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 99 | position: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 100 | orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | scanner: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScannerPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `beacons` and `precalculated` are never read [INFO] [stdout] --> src/y2021/day19.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Scanner { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 106 | beacons: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 107 | precalculated: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `beacon_index`, `other_beacon_index`, `orientation` and `len` are never read [INFO] [stdout] --> src/y2021/day19.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct OverlapMatch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 169 | beacon_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 170 | other_beacon_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 172 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OverlapMatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day19.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn from_str(data: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_overlaps` is never used [INFO] [stdout] --> src/y2021/day19.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | fn find_overlaps(&self, other: &Scanner) -> OverlapMatch { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inverted` is never used [INFO] [stdout] --> src/y2021/day19.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn inverted(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day19.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn from_str(data: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `transform` is never used [INFO] [stdout] --> src/y2021/day19.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn transform(&self, orientation: &Orientation) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_dimension` is never used [INFO] [stdout] --> src/y2021/day19.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn get_dimension(&self, transformation: Transformation) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distance` is never used [INFO] [stdout] --> src/y2021/day19.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn distance(&self, other: &Vector3) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all` is never used [INFO] [stdout] --> src/y2021/day19.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | const fn all() -> &'static [Self; 24] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inverse` is never used [INFO] [stdout] --> src/y2021/day19.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day20.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pixels`, `default_pixel`, `min_x`, `min_y`, `max_x` and `max_y` are never read [INFO] [stdout] --> src/y2021/day20.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | pixels: HashSet<(i64, i64)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | default_pixel: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | min_x: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | min_y: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | max_x: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | max_y: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day20.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn from_str(data: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `enhance` is never used [INFO] [stdout] --> src/y2021/day20.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn enhance(&mut self, algo: &[bool]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day21.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dice` is never constructed [INFO] [stdout] --> src/y2021/day21.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Dice { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2021/day21.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn new() -> Dice { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `roll` is never used [INFO] [stdout] --> src/y2021/day21.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn roll(&mut self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day22.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_inner` is never used [INFO] [stdout] --> src/y2021/day22.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn solve_inner(reboot_steps: &[RebootStep]) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `cube` are never read [INFO] [stdout] --> src/y2021/day22.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | struct RebootStep { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 70 | state: CubeState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | cube: Cube, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RebootStep` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `On` and `Off` are never constructed [INFO] [stdout] --> src/y2021/day22.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | enum CubeState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 108 | On, [INFO] [stdout] | ^^ [INFO] [stdout] 109 | Off, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CubeState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> src/y2021/day22.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct Cube { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 121 | min: Vector3, [INFO] [stdout] | ^^^ [INFO] [stdout] 122 | max: Vector3, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day22.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn from_str(s: &str) -> RebootStep { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `overlap` is never used [INFO] [stdout] --> src/y2021/day22.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn overlap(&self, other: &Cube) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `volume` is never used [INFO] [stdout] --> src/y2021/day22.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn volume(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOM_XS` is never used [INFO] [stdout] --> src/y2021/day23.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ROOM_XS: [usize; 4] = [2, 4, 6, 8]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day23.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_inner` is never used [INFO] [stdout] --> src/y2021/day23.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn solve_inner(rooms: [Vec; 4], room_size: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Amber`, `Bronze`, `Copper` and `Desert` are never constructed [INFO] [stdout] --> src/y2021/day23.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | enum Amphipod { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 101 | Amber, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Bronze, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | Copper, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | Desert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Amphipod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `room_x` is never used [INFO] [stdout] --> src/y2021/day23.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn room_x(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `energy_cost` is never used [INFO] [stdout] --> src/y2021/day23.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn energy_cost(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/y2021/day23.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `won` is never used [INFO] [stdout] --> src/y2021/day23.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn won(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `moves` is never used [INFO] [stdout] --> src/y2021/day23.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn moves(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day24.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Input`, `Add`, `Multiply`, `Divide`, `Modulus` and `Equal` are never constructed [INFO] [stdout] --> src/y2021/day24.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 104 | Input(Variable), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | Add(Variable, Value), [INFO] [stdout] | ^^^ [INFO] [stdout] 106 | Multiply(Variable, Value), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | Divide(Variable, Value), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Modulus(Variable, Value), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | Equal(Variable, Value), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Variable` and `Literal` are never constructed [INFO] [stdout] --> src/y2021/day24.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 139 | Variable(Variable), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 140 | Literal(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `W`, `X`, `Y` and `Z` are never constructed [INFO] [stdout] --> src/y2021/day24.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 155 | W, [INFO] [stdout] | ^ [INFO] [stdout] 156 | X, [INFO] [stdout] | ^ [INFO] [stdout] 157 | Y, [INFO] [stdout] | ^ [INFO] [stdout] 158 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day24.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day24.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day24.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/y2021/day25.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/y2021/day25.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `step` is never used [INFO] [stdout] --> src/y2021/day25.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn step(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.17s [INFO] running `Command { std: "docker" "inspect" "4a7827a61a587bbfdc98f51457cba69b651aea129082993efed0cfa4cdf599d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7827a61a587bbfdc98f51457cba69b651aea129082993efed0cfa4cdf599d3", kill_on_drop: false }` [INFO] [stdout] 4a7827a61a587bbfdc98f51457cba69b651aea129082993efed0cfa4cdf599d3