[INFO] cloning repository https://github.com/robin9975/Advent2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robin9975/Advent2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/robin9975/Advent2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robin9975/Advent2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ab3a9e7157d5e2af8ea101e3bf978c45ee895ac [INFO] checking robin9975/Advent2021 against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robin9975/Advent2021 on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robin9975/Advent2021 [INFO] finished tweaking git repo https://github.com/robin9975/Advent2021 [INFO] tweaked toml for git repo https://github.com/robin9975/Advent2021 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/robin9975/Advent2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5616dfd3cd4d1030b24284f442cae8e881fb851aa1329f64de180da1a8e3b8af [INFO] running `Command { std: "docker" "start" "-a" "5616dfd3cd4d1030b24284f442cae8e881fb851aa1329f64de180da1a8e3b8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5616dfd3cd4d1030b24284f442cae8e881fb851aa1329f64de180da1a8e3b8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5616dfd3cd4d1030b24284f442cae8e881fb851aa1329f64de180da1a8e3b8af", kill_on_drop: false }` [INFO] [stdout] 5616dfd3cd4d1030b24284f442cae8e881fb851aa1329f64de180da1a8e3b8af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 283a3b21078c4b57578a1a220ce151662c39a8e21032cd2e663827495c9970a4 [INFO] running `Command { std: "docker" "start" "-a" "283a3b21078c4b57578a1a220ce151662c39a8e21032cd2e663827495c9970a4", kill_on_drop: false }` [INFO] [stderr] Checking Advent2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/day5.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | for y in (min..=max) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - for y in (min..=max) { [INFO] [stdout] 61 + for y in min..=max { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/day5.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | for x in (min..=max) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - for x in (min..=max) { [INFO] [stdout] 73 + for x in min..=max { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day5.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | count: (0..=max_x).map(|x| (0..=max_y).map(|_| 0).collect()).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tunnels` in this scope [INFO] [stdout] --> src/bin/day12.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | tunnels: tunnels.clone(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 40 | tunnels: self.tunnels.clone(), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day5.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | write!(f, "."); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day5.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | write!(f, "{}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day5.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `small_cave_visited` in initializer of `CaveSystem` [INFO] [stdout] --> src/bin/day12.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Self { [INFO] [stdout] | ^^^^ missing `small_cave_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `small_cave_visited` in initializer of `CaveSystem` [INFO] [stdout] --> src/bin/day12.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | CaveSystem { tunnels } [INFO] [stdout] | ^^^^^^^^^^ missing `small_cave_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Advent2021` (bin "day12" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/day13.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | let max_x = self.points.iter().map(|(x, y)| x).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day13.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | let max_y = self.points.iter().map(|(x, y)| y).max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/day5.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | for y in (min..=max) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - for y in (min..=max) { [INFO] [stdout] 61 + for y in min..=max { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/day5.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | for x in (min..=max) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - for x in (min..=max) { [INFO] [stdout] 73 + for x in min..=max { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/day13.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | write!(f, "#"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/day13.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | write!(f, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/day13.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | writeln!(f, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day5.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | count: (0..=max_x).map(|x| (0..=max_y).map(|_| 0).collect()).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day5.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | write!(f, "."); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day5.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | write!(f, "{}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day5.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day11.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | write!(f, "{}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pos_diff` is never used [INFO] [stdout] --> src/bin/day19.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn pos_diff( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_unique_beacon_count` is never used [INFO] [stdout] --> src/bin/day19.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn get_unique_beacon_count(scanners: &[Scanner]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/day11.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | writeln!(f, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/bin/day15.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 84 | .min_by_key(|(index, n)| n.cost) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `h` is never used [INFO] [stdout] --> src/bin/day15.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn h(&self, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `co2_scrubber_rating` in this scope [INFO] [stdout] --> src/bin/day3.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 66 | fn co_scrubber_rating(input: &[usize], current_bit: usize) -> usize { [INFO] [stdout] | ------------------------------------------------------------------- similarly named function `co_scrubber_rating` defined here [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!( co2_scrubber_rating(&values, 0), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `co_scrubber_rating` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | fn parse_packet(mut input: Vec) -> (Vec, Packet) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Advent2021` (bin "day3" test) due to 1 previous error [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bin/day16.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | let (bits, p) = parse_packet(bits); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut bits = hex_to_bits(&input); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bin/day16.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | let (bits, p) = parse_packet(bits); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut bits = hex_to_bits("D2FE28"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bin/day16.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | let (bits, p) = parse_packet(bits); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let mut bits = hex_to_bits("38006F45291200"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bin/day16.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | let (bits, p) = parse_packet(bits); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut bits = hex_to_bits("EE00D40C823060"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bin/day16.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | let (bits, p) = parse_packet(bits); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut bits = hex_to_bits("8A004A801A8002F478"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bin/day16.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | let (bits, p) = parse_packet(bits); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let mut bits = hex_to_bits("A0016C880162017C3686B18A3D4780"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/bin/day16.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | let (bits, p) = parse_packet(bits); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let mut bits = hex_to_bits("9C0141080250320F1802104A08"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pos_diff` is never used [INFO] [stdout] --> src/bin/day19.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn pos_diff( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_unique_beacon_count` is never used [INFO] [stdout] --> src/bin/day19.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn get_unique_beacon_count(scanners: &[Scanner]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "283a3b21078c4b57578a1a220ce151662c39a8e21032cd2e663827495c9970a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283a3b21078c4b57578a1a220ce151662c39a8e21032cd2e663827495c9970a4", kill_on_drop: false }` [INFO] [stdout] 283a3b21078c4b57578a1a220ce151662c39a8e21032cd2e663827495c9970a4