[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] testing camas/advent-of-code against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fadvent-of-code" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/camas/advent-of-code on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-3/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded sct v0.7.0 [INFO] [stderr] Downloaded rustls v0.20.2 [INFO] [stderr] Downloaded clang-sys v1.3.0 [INFO] [stderr] Downloaded ureq v2.3.1 [INFO] [stderr] Downloaded libloading v0.7.2 [INFO] [stderr] Downloaded bindgen v0.58.1 [INFO] [stderr] Downloaded z3 v0.11.2 [INFO] [stderr] Downloaded webpki-roots v0.22.1 [INFO] [stderr] Downloaded z3-sys v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2964c1f6843c4200827aab9b461427270a815d94c7a8d3c489628381a2b10ffb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2964c1f6843c4200827aab9b461427270a815d94c7a8d3c489628381a2b10ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2964c1f6843c4200827aab9b461427270a815d94c7a8d3c489628381a2b10ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2964c1f6843c4200827aab9b461427270a815d94c7a8d3c489628381a2b10ffb", kill_on_drop: false }` [INFO] [stdout] 2964c1f6843c4200827aab9b461427270a815d94c7a8d3c489628381a2b10ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2764f0ca66e9ab7e659f0803ab95db0c24ac78d452b32a02e62c12ed048d365a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2764f0ca66e9ab7e659f0803ab95db0c24ac78d452b32a02e62c12ed048d365a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.1 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling ureq v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling z3-sys v0.7.1 [INFO] [stderr] Compiling z3 v0.11.2 [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `solve` [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: variant is never constructed: `Number` [INFO] [stdout] --> src/y2021/day18.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number(i64), [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] --> src/y2021/day18.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pair` [INFO] [stdout] --> src/y2021/day18.rs:30:5 [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] --> src/y2021/day18.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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 is never used: `add` [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 is never used: `reduce` [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 is never used: `explode` [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 is never used: `add_right` [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 is never used: `add_left` [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 is never used: `split` [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 is never used: `magnitude` [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 is never used: `solve` [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: field is never read: `position` [INFO] [stdout] --> src/y2021/day19.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | position: Vector3, [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] --> src/y2021/day19.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `orientation` [INFO] [stdout] --> src/y2021/day19.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | orientation: Orientation, [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] --> src/y2021/day19.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scanner` [INFO] [stdout] --> src/y2021/day19.rs:101:5 [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] --> src/y2021/day19.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `beacons` [INFO] [stdout] --> src/y2021/day19.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | beacons: 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] --> src/y2021/day19.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `precalculated` [INFO] [stdout] --> src/y2021/day19.rs:107:5 [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] --> src/y2021/day19.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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 is never used: `find_overlaps` [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: field is never read: `beacon_index` [INFO] [stdout] --> src/y2021/day19.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | beacon_index: 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] --> src/y2021/day19.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `other_beacon_index` [INFO] [stdout] --> src/y2021/day19.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | other_beacon_index: 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] --> src/y2021/day19.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `orientation` [INFO] [stdout] --> src/y2021/day19.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | orientation: Orientation, [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] --> src/y2021/day19.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `len` [INFO] [stdout] --> src/y2021/day19.rs:172:5 [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] --> src/y2021/day19.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverted` [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 is never used: `from_str` [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 is never used: `transform` [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 is never used: `get_dimension` [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 is never used: `distance` [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 is never used: `all` [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 is never used: `inverse` [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 is never used: `solve` [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: field is never read: `pixels` [INFO] [stdout] --> src/y2021/day20.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pixels: HashSet<(i64, 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] --> src/y2021/day20.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default_pixel` [INFO] [stdout] --> src/y2021/day20.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | default_pixel: bool, [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] --> src/y2021/day20.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_x` [INFO] [stdout] --> src/y2021/day20.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | min_x: 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] --> src/y2021/day20.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_y` [INFO] [stdout] --> src/y2021/day20.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | min_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] --> src/y2021/day20.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_x` [INFO] [stdout] --> src/y2021/day20.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | max_x: 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] --> src/y2021/day20.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_y` [INFO] [stdout] --> src/y2021/day20.rs:27:5 [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] --> src/y2021/day20.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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 is never used: `enhance` [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 is never used: `solve` [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 is never constructed: `Dice` [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 is never used: `new` [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 is never used: `roll` [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 is never used: `solve` [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 is never used: `solve_inner` [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: field is never read: `state` [INFO] [stdout] --> src/y2021/day22.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | state: CubeState, [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] --> src/y2021/day22.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cube` [INFO] [stdout] --> src/y2021/day22.rs:71:5 [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] --> src/y2021/day22.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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: variant is never constructed: `On` [INFO] [stdout] --> src/y2021/day22.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | On, [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] --> src/y2021/day22.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Off` [INFO] [stdout] --> src/y2021/day22.rs:109:5 [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] --> src/y2021/day22.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min` [INFO] [stdout] --> src/y2021/day22.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | min: 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] --> src/y2021/day22.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max` [INFO] [stdout] --> src/y2021/day22.rs:122:5 [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] --> src/y2021/day22.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `overlap` [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 is never used: `volume` [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 is never used: `ROOM_XS` [INFO] [stdout] --> src/y2021/day23.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const ROOM_XS: [usize; 4] = [2, 4, 6, 8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [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 is never used: `solve_inner` [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: variant is never constructed: `Amber` [INFO] [stdout] --> src/y2021/day23.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Amber, [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] --> src/y2021/day23.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bronze` [INFO] [stdout] --> src/y2021/day23.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | Bronze, [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] --> src/y2021/day23.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Copper` [INFO] [stdout] --> src/y2021/day23.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | Copper, [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] --> src/y2021/day23.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Desert` [INFO] [stdout] --> src/y2021/day23.rs:104:5 [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] --> src/y2021/day23.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `room_x` [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 is never used: `energy_cost` [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 is never used: `new` [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 is never used: `won` [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 is never used: `moves` [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 is never used: `solve` [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: variant is never constructed: `Input` [INFO] [stdout] --> src/y2021/day24.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Input(Variable), [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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/y2021/day24.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | Add(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiply` [INFO] [stdout] --> src/y2021/day24.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | Multiply(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/y2021/day24.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Divide(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Modulus` [INFO] [stdout] --> src/y2021/day24.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Modulus(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/y2021/day24.rs:109:5 [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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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: variant is never constructed: `Variable` [INFO] [stdout] --> src/y2021/day24.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | Variable(Variable), [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] --> src/y2021/day24.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/y2021/day24.rs:140:5 [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] --> src/y2021/day24.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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: variant is never constructed: `W` [INFO] [stdout] --> src/y2021/day24.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | W, [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/y2021/day24.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | X, [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/y2021/day24.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Y, [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Z` [INFO] [stdout] --> src/y2021/day24.rs:158:5 [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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 is never used: `solve` [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 is never used: `from_str` [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 is never used: `step` [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: 85 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "2764f0ca66e9ab7e659f0803ab95db0c24ac78d452b32a02e62c12ed048d365a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2764f0ca66e9ab7e659f0803ab95db0c24ac78d452b32a02e62c12ed048d365a", kill_on_drop: false }` [INFO] [stdout] 2764f0ca66e9ab7e659f0803ab95db0c24ac78d452b32a02e62c12ed048d365a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285f7f2287891f8ecae2c219c154d868a60c7e25bf320740d4997016c2ae3799 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "285f7f2287891f8ecae2c219c154d868a60c7e25bf320740d4997016c2ae3799", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `solve` [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: variant is never constructed: `Number` [INFO] [stdout] --> src/y2021/day18.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Number(i64), [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] --> src/y2021/day18.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pair` [INFO] [stdout] --> src/y2021/day18.rs:30:5 [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] --> src/y2021/day18.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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 is never used: `add` [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 is never used: `reduce` [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 is never used: `explode` [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 is never used: `add_right` [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 is never used: `add_left` [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 is never used: `split` [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 is never used: `magnitude` [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 is never used: `solve` [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: variant is never constructed: `Input` [INFO] [stdout] --> src/y2021/day24.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Input(Variable), [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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/y2021/day24.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | Add(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiply` [INFO] [stdout] --> src/y2021/day24.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | Multiply(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/y2021/day24.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Divide(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Modulus` [INFO] [stdout] --> src/y2021/day24.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Modulus(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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/y2021/day24.rs:109:5 [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] --> src/y2021/day24.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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: variant is never constructed: `Variable` [INFO] [stdout] --> src/y2021/day24.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | Variable(Variable), [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] --> src/y2021/day24.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/y2021/day24.rs:140:5 [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] --> src/y2021/day24.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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: variant is never constructed: `W` [INFO] [stdout] --> src/y2021/day24.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | W, [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/y2021/day24.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | X, [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/y2021/day24.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Y, [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Z` [INFO] [stdout] --> src/y2021/day24.rs:158:5 [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] --> src/y2021/day24.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [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 is never used: `solve` [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 is never used: `from_str` [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 is never used: `step` [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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.68s [INFO] running `Command { std: "docker" "inspect" "285f7f2287891f8ecae2c219c154d868a60c7e25bf320740d4997016c2ae3799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285f7f2287891f8ecae2c219c154d868a60c7e25bf320740d4997016c2ae3799", kill_on_drop: false }` [INFO] [stdout] 285f7f2287891f8ecae2c219c154d868a60c7e25bf320740d4997016c2ae3799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f88ea06dbce2406a475f4338be234b96413db69fbefa60ebf6e37dabb8f64aba [INFO] running `Command { std: "docker" "start" "-a" "f88ea06dbce2406a475f4338be234b96413db69fbefa60ebf6e37dabb8f64aba", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/y2021/day18.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/y2021/day18.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Number(i64), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day18.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Pair` [INFO] [stderr] --> src/y2021/day18.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Pair(Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day18.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/y2021/day18.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | fn from_str(data: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/y2021/day18.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | fn add(self, other: Segment) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reduce` [INFO] [stderr] --> src/y2021/day18.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | fn reduce(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `explode` [INFO] [stderr] --> src/y2021/day18.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | fn explode(&mut self, depth: usize) -> Option<(Option, Option)> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_right` [INFO] [stderr] --> src/y2021/day18.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 112 | fn add_right(&mut self, value: i64) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_left` [INFO] [stderr] --> src/y2021/day18.rs:121:8 [INFO] [stderr] | [INFO] [stderr] 121 | fn add_left(&mut self, value: i64) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `split` [INFO] [stderr] --> src/y2021/day18.rs:130:8 [INFO] [stderr] | [INFO] [stderr] 130 | fn split(&mut self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `magnitude` [INFO] [stderr] --> src/y2021/day18.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | fn magnitude(&self) -> i64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/y2021/day24.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Input` [INFO] [stderr] --> src/y2021/day24.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | Input(Variable), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Add` [INFO] [stderr] --> src/y2021/day24.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | Add(Variable, Value), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Multiply` [INFO] [stderr] --> src/y2021/day24.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | Multiply(Variable, Value), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Divide` [INFO] [stderr] --> src/y2021/day24.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | Divide(Variable, Value), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Modulus` [INFO] [stderr] --> src/y2021/day24.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | Modulus(Variable, Value), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Equal` [INFO] [stderr] --> src/y2021/day24.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | Equal(Variable, Value), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/y2021/day24.rs:113:8 [INFO] [stderr] | [INFO] [stderr] 113 | fn from_str(s: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Variable` [INFO] [stderr] --> src/y2021/day24.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | Variable(Variable), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:137:10 [INFO] [stderr] | [INFO] [stderr] 137 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Literal` [INFO] [stderr] --> src/y2021/day24.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | Literal(i64), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:137:10 [INFO] [stderr] | [INFO] [stderr] 137 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/y2021/day24.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 144 | fn from_str(s: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `W` [INFO] [stderr] --> src/y2021/day24.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | W, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:153:10 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `X` [INFO] [stderr] --> src/y2021/day24.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | X, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:153:10 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Y` [INFO] [stderr] --> src/y2021/day24.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | Y, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:153:10 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Z` [INFO] [stderr] --> src/y2021/day24.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | Z, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/y2021/day24.rs:153:10 [INFO] [stderr] | [INFO] [stderr] 153 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/y2021/day24.rs:162:8 [INFO] [stderr] | [INFO] [stderr] 162 | fn from_str(s: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve` [INFO] [stderr] --> src/y2021/day25.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn solve(input: &str) -> (impl ToString, impl ToString) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/y2021/day25.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | fn from_str(s: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `step` [INFO] [stderr] --> src/y2021/day25.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | fn step(&self) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent-of-code` (bin "advent-of-code" test) generated 30 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code-3778c0105f032508) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test common::md5::tests::test_md5_known ... ok [INFO] [stdout] test y2015::day21::tests::test_fight ... ok [INFO] [stdout] test y2017::day21::tests::test_rotation ... ok [INFO] [stdout] test y2020::day10::tests::test_known ... ok [INFO] [stdout] test y2017::day21::tests::test_step ... ok [INFO] [stdout] test y2021::day10::tests::test_known ... ok [INFO] [stdout] test y2020::day5::tests::test_row ... ok [INFO] [stdout] test y2020::day25::tests::test_pow_mod ... ok [INFO] [stdout] test y2020::day20::tests::test_sides ... ok [INFO] [stdout] test y2020::day19::tests::test_known ... ok [INFO] [stdout] test y2016::day24::tests::test_known ... ok [INFO] [stdout] test y2017::day21::tests::test_flip ... ok [INFO] [stdout] test y2015::day14::tests::test_known ... ok [INFO] [stdout] test y2021::day17::tests::test_known ... ok [INFO] [stdout] test y2017::day10::tests::test_known ... ok [INFO] [stdout] test y2016::day15::tests::test_known ... ok [INFO] [stdout] test common::math::tests::test_chinese ... ok [INFO] [stdout] test y2020::day18::tests::test_known ... ok [INFO] [stdout] test y2021::day14::tests::test_known ... ok [INFO] [stdout] test y2021::day5::tests::test_known ... ok [INFO] [stdout] test y2021::day15::tests::test_known ... ok [INFO] [stdout] test y2021::day3::tests::test_bits_to_int ... ok [INFO] [stdout] test y2021::day4::tests::test_known ... ok [INFO] [stdout] test y2021::day22::tests::test_known ... ok [INFO] [stdout] test y2021::day11::tests::test_known ... FAILED [INFO] [stdout] test y2021::day21::tests::test_known ... ok [INFO] [stdout] test y2020::day24::tests::test_known ... ok [INFO] [stdout] test y2021::day20::tests::test_known ... ok [INFO] [stdout] test y2016::day19::tests::test_across ... ok [INFO] [stdout] test y2021::day23::tests::test_known ... ok [INFO] [stdout] test y2021::day19::tests::test_known ... ok [INFO] [stdout] test y2016::day14::tests::test_known has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "f88ea06dbce2406a475f4338be234b96413db69fbefa60ebf6e37dabb8f64aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88ea06dbce2406a475f4338be234b96413db69fbefa60ebf6e37dabb8f64aba", kill_on_drop: false }` [INFO] [stdout] f88ea06dbce2406a475f4338be234b96413db69fbefa60ebf6e37dabb8f64aba