[INFO] cloning repository https://github.com/BobbyEncoded/rust_aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BobbyEncoded/rust_aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobbyEncoded%2Frust_aoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobbyEncoded%2Frust_aoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37a59a94ce328740c4bdd59531e640e5cfc8aa17 [INFO] checking BobbyEncoded/rust_aoc against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobbyEncoded%2Frust_aoc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BobbyEncoded/rust_aoc on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BobbyEncoded/rust_aoc [INFO] finished tweaking git repo https://github.com/BobbyEncoded/rust_aoc [INFO] tweaked toml for git repo https://github.com/BobbyEncoded/rust_aoc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BobbyEncoded/rust_aoc 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64a8dbeff3769e2db10a8c8344b0e103e2ab05c0ee60549fd1526b585f442712 [INFO] running `Command { std: "docker" "start" "-a" "64a8dbeff3769e2db10a8c8344b0e103e2ab05c0ee60549fd1526b585f442712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64a8dbeff3769e2db10a8c8344b0e103e2ab05c0ee60549fd1526b585f442712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64a8dbeff3769e2db10a8c8344b0e103e2ab05c0ee60549fd1526b585f442712", kill_on_drop: false }` [INFO] [stdout] 64a8dbeff3769e2db10a8c8344b0e103e2ab05c0ee60549fd1526b585f442712 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a3178ff12fe4760fe4fab547e03523a72fbcd7a79f3120b690c1e0540ff2d37 [INFO] running `Command { std: "docker" "start" "-a" "5a3178ff12fe4760fe4fab547e03523a72fbcd7a79f3120b690c1e0540ff2d37", kill_on_drop: false }` [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking rust_aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | ... let mut seg_5 = five_and_two.iter_mut().find(|x| x.segments.is_subset(&find_segment_with_digit(&new_input_digits, 6).expect("Could ... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | ... let mut seg_5 = five_and_two.iter_mut().find(|x| x.segments.is_subset(&find_segment_with_digit(&new_input_digits, 6).expect("Could ... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... let mut seg_9 = nine_and_zero.iter_mut().find(|x| x.segments.is_superset(&find_segment_with_digit(new_input_digits, 5).expect("Coul... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... let mut seg_9 = nine_and_zero.iter_mut().find(|x| x.segments.is_superset(&find_segment_with_digit(new_input_digits, 5).expect("Coul... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | ... let mut seg_6 = six_segs.iter_mut().find(|x| x.segments.intersection(&seg_1.segments).collect::>().len() == 1).expec... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut seg_3 = five_segs.iter_mut().find(|x| x.segments.is_superset(&seg_1.segments)).expect("Could not find segment 3"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | ... let mut seg_6 = six_segs.iter_mut().find(|x| x.segments.intersection(&seg_1.segments).collect::>().len() == 1).expec... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | ... let mut seg_0 = nine_and_zero.iter_mut().find(|x| x.segments != seg_9_clone.segments).expect("Could not find segment 0"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut seg_3 = five_segs.iter_mut().find(|x| x.segments.is_superset(&seg_1.segments)).expect("Could not find segment 3"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | ... let mut seg_0 = nine_and_zero.iter_mut().find(|x| x.segments != seg_9_clone.segments).expect("Could not find segment 0"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day7.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day7.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day7.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day7.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentMap` is never constructed [INFO] [stdout] --> src/day8.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct SegmentMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentMap` is never constructed [INFO] [stdout] --> src/day8.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct SegmentMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DigitLine` is never constructed [INFO] [stdout] --> src/day8.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct DigitLine { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DigitLine` is never constructed [INFO] [stdout] --> src/day8.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct DigitLine { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day8.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day8.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_valid_segments` is never used [INFO] [stdout] --> src/day8.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn count_valid_segments (input_segment: &Segment) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_valid_segments` is never used [INFO] [stdout] --> src/day8.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn count_valid_segments (input_segment: &Segment) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_segment_with_digit` is never used [INFO] [stdout] --> src/day8.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn find_segment_with_digit (segments : &Vec, digit : u8) -> Option<&Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_segment_with_digit` is never used [INFO] [stdout] --> src/day8.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn find_segment_with_digit (segments : &Vec, digit : u8) -> Option<&Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_digits_by_segment_count` is never used [INFO] [stdout] --> src/day8.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_digits_by_segment_count (input_digits : &mut [Segment], segment_count : i32) -> Vec<&mut Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_digits_by_segment_count` is never used [INFO] [stdout] --> src/day8.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_digits_by_segment_count (input_digits : &mut [Segment], segment_count : i32) -> Vec<&mut Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day8.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn part2 (digitlines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day8.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn part2 (digitlines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day8.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day8.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day9.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse (initial_contents : &String) -> HashMap<(i32, i32), u32> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day9.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse (initial_contents : &String) -> HashMap<(i32, i32), u32> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day9.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part1 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day9.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day9.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part1 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day9.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day9.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day9.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day1_2022.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn parse (initial_contents : &String) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day1_2022.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn parse (initial_contents : &String) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day1_2022.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn part1 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day1_2022.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn part1 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day1_2022.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn part2 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day1_2022.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn part2 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `First` is never used [INFO] [stdout] --> src/day2_2022.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum First { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `First` is never used [INFO] [stdout] --> src/day2_2022.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum First { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Second` is never used [INFO] [stdout] --> src/day2_2022.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Second { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Second` is never used [INFO] [stdout] --> src/day2_2022.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Second { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day2_2022.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse (initial_contents : &String) -> Vec<(First, Second)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day2_2022.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse (initial_contents : &String) -> Vec<(First, Second)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day2_2022.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn part1 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day2_2022.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn part1 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day2_2022.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part2 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day3_2022.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part1 (entry_data : Vec>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day2_2022.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part2 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day3_2022.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part1 (entry_data : Vec>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "5a3178ff12fe4760fe4fab547e03523a72fbcd7a79f3120b690c1e0540ff2d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3178ff12fe4760fe4fab547e03523a72fbcd7a79f3120b690c1e0540ff2d37", kill_on_drop: false }` [INFO] [stdout] 5a3178ff12fe4760fe4fab547e03523a72fbcd7a79f3120b690c1e0540ff2d37 [INFO] checking BobbyEncoded/rust_aoc against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobbyEncoded%2Frust_aoc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BobbyEncoded/rust_aoc on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BobbyEncoded/rust_aoc [INFO] finished tweaking git repo https://github.com/BobbyEncoded/rust_aoc [INFO] tweaked toml for git repo https://github.com/BobbyEncoded/rust_aoc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BobbyEncoded/rust_aoc 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d749522963b3979458d28865b435d6e061c8ae5ba9775dde38e015d01ba4371 [INFO] running `Command { std: "docker" "start" "-a" "8d749522963b3979458d28865b435d6e061c8ae5ba9775dde38e015d01ba4371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d749522963b3979458d28865b435d6e061c8ae5ba9775dde38e015d01ba4371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d749522963b3979458d28865b435d6e061c8ae5ba9775dde38e015d01ba4371", kill_on_drop: false }` [INFO] [stdout] 8d749522963b3979458d28865b435d6e061c8ae5ba9775dde38e015d01ba4371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60c3fde014d67ace374999a852c23ee0fbd3e8e474a01660fa4a633bc4ee249b [INFO] running `Command { std: "docker" "start" "-a" "60c3fde014d67ace374999a852c23ee0fbd3e8e474a01660fa4a633bc4ee249b", kill_on_drop: false }` [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking rust_aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | ... let mut seg_5 = five_and_two.iter_mut().find(|x| x.segments.is_subset(&find_segment_with_digit(&new_input_digits, 6).expect("Could ... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | ... let mut seg_5 = five_and_two.iter_mut().find(|x| x.segments.is_subset(&find_segment_with_digit(&new_input_digits, 6).expect("Could ... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... let mut seg_9 = nine_and_zero.iter_mut().find(|x| x.segments.is_superset(&find_segment_with_digit(new_input_digits, 5).expect("Coul... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... let mut seg_9 = nine_and_zero.iter_mut().find(|x| x.segments.is_superset(&find_segment_with_digit(new_input_digits, 5).expect("Coul... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | ... let mut seg_6 = six_segs.iter_mut().find(|x| x.segments.intersection(&seg_1.segments).collect::>().len() == 1).expec... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | ... let mut seg_6 = six_segs.iter_mut().find(|x| x.segments.intersection(&seg_1.segments).collect::>().len() == 1).expec... [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut seg_3 = five_segs.iter_mut().find(|x| x.segments.is_superset(&seg_1.segments)).expect("Could not find segment 3"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut seg_3 = five_segs.iter_mut().find(|x| x.segments.is_superset(&seg_1.segments)).expect("Could not find segment 3"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | ... let mut seg_0 = nine_and_zero.iter_mut().find(|x| x.segments != seg_9_clone.segments).expect("Could not find segment 0"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | ... let mut seg_0 = nine_and_zero.iter_mut().find(|x| x.segments != seg_9_clone.segments).expect("Could not find segment 0"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day7.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day7.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day7.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day7.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentMap` is never constructed [INFO] [stdout] --> src/day8.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct SegmentMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DigitLine` is never constructed [INFO] [stdout] --> src/day8.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct DigitLine { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day8.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentMap` is never constructed [INFO] [stdout] --> src/day8.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct SegmentMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_valid_segments` is never used [INFO] [stdout] --> src/day8.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn count_valid_segments (input_segment: &Segment) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DigitLine` is never constructed [INFO] [stdout] --> src/day8.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct DigitLine { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day8.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse (initial_contents : &String) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_segment_with_digit` is never used [INFO] [stdout] --> src/day8.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn find_segment_with_digit (segments : &Vec, digit : u8) -> Option<&Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_digits_by_segment_count` is never used [INFO] [stdout] --> src/day8.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_digits_by_segment_count (input_digits : &mut [Segment], segment_count : i32) -> Vec<&mut Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_valid_segments` is never used [INFO] [stdout] --> src/day8.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn count_valid_segments (input_segment: &Segment) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day8.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn part2 (digitlines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_segment_with_digit` is never used [INFO] [stdout] --> src/day8.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn find_segment_with_digit (segments : &Vec, digit : u8) -> Option<&Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day8.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_digits_by_segment_count` is never used [INFO] [stdout] --> src/day8.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_digits_by_segment_count (input_digits : &mut [Segment], segment_count : i32) -> Vec<&mut Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day9.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse (initial_contents : &String) -> HashMap<(i32, i32), u32> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day9.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part1 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day8.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn part2 (digitlines: Vec) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day9.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day9.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day8.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day1_2022.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn parse (initial_contents : &String) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day9.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse (initial_contents : &String) -> HashMap<(i32, i32), u32> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day1_2022.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn part1 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day9.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part1 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day1_2022.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn part2 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day9.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn part2 (mut input_map : HashMap<(i32, i32), u32>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `First` is never used [INFO] [stdout] --> src/day2_2022.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum First { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day9.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn run (initial_contents : &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Second` is never used [INFO] [stdout] --> src/day2_2022.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Second { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day1_2022.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn parse (initial_contents : &String) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day2_2022.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse (initial_contents : &String) -> Vec<(First, Second)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day1_2022.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn part1 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day2_2022.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn part1 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day1_2022.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn part2 (entry_data : Vec>)-> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `First` is never used [INFO] [stdout] --> src/day2_2022.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum First { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day2_2022.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part2 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day3_2022.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part1 (entry_data : Vec>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Second` is never used [INFO] [stdout] --> src/day2_2022.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Second { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day2_2022.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse (initial_contents : &String) -> Vec<(First, Second)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day8.rs:108:62 [INFO] [stdout] | [INFO] [stdout] 108 | ... let mut seg_6 = six_segs.iter_mut().find(|x| x.segments.intersection(&seg_1.segments).collect::>().len() == 1).expec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day2_2022.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn part1 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day2_2022.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part2 (entry_data : Vec<(First, Second)>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day8.rs:121:96 [INFO] [stdout] | [INFO] [stdout] 121 | ...x.segments.is_subset(&find_segment_with_digit(&new_input_digits, 6).expect("Could not find segment 6").segments)).expect("Could not fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day3_2022.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn part1 (entry_data : Vec>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day8.rs:136:99 [INFO] [stdout] | [INFO] [stdout] 136 | ....segments.is_superset(&find_segment_with_digit(new_input_digits, 5).expect("Could not find segment 5").segments)).expect("Could not fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day8.rs:108:62 [INFO] [stdout] | [INFO] [stdout] 108 | ... let mut seg_6 = six_segs.iter_mut().find(|x| x.segments.intersection(&seg_1.segments).collect::>().len() == 1).expec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day8.rs:121:96 [INFO] [stdout] | [INFO] [stdout] 121 | ...x.segments.is_subset(&find_segment_with_digit(&new_input_digits, 6).expect("Could not find segment 6").segments)).expect("Could not fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day8.rs:136:99 [INFO] [stdout] | [INFO] [stdout] 136 | ....segments.is_superset(&find_segment_with_digit(new_input_digits, 5).expect("Could not find segment 5").segments)).expect("Could not fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_aoc` (bin "rust_aoc" test) due to 4 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_aoc` (bin "rust_aoc") due to 4 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "60c3fde014d67ace374999a852c23ee0fbd3e8e474a01660fa4a633bc4ee249b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c3fde014d67ace374999a852c23ee0fbd3e8e474a01660fa4a633bc4ee249b", kill_on_drop: false }` [INFO] [stdout] 60c3fde014d67ace374999a852c23ee0fbd3e8e474a01660fa4a633bc4ee249b