[INFO] cloning repository https://github.com/tobyto-cs/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tobyto-cs/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyto-cs%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyto-cs%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bfd99ff53e3384e62260c524277a3be50e10f66 [INFO] checking tobyto-cs/aoc2023 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobyto-cs%2Faoc2023" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tobyto-cs/aoc2023 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/tobyto-cs/aoc2023 [INFO] finished tweaking git repo https://github.com/tobyto-cs/aoc2023 [INFO] tweaked toml for git repo https://github.com/tobyto-cs/aoc2023 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tobyto-cs/aoc2023 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 805cc0ebac0745daecd3e594bc9f223bc784fe2e0c4b62cbd31ac6b5ed621e9c [INFO] running `Command { std: "docker" "start" "-a" "805cc0ebac0745daecd3e594bc9f223bc784fe2e0c4b62cbd31ac6b5ed621e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "805cc0ebac0745daecd3e594bc9f223bc784fe2e0c4b62cbd31ac6b5ed621e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805cc0ebac0745daecd3e594bc9f223bc784fe2e0c4b62cbd31ac6b5ed621e9c", kill_on_drop: false }` [INFO] [stdout] 805cc0ebac0745daecd3e594bc9f223bc784fe2e0c4b62cbd31ac6b5ed621e9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e9f3f90c00c6667b90ee0ae26048f55928dfd7768c08af1109f2b263ea8bb073 [INFO] running `Command { std: "docker" "start" "-a" "e9f3f90c00c6667b90ee0ae26048f55928dfd7768c08af1109f2b263ea8bb073", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking project-root v0.2.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aoc2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `RGB_ERR` should have an upper camel case name [INFO] [stdout] --> src/day2/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct RGB_ERR; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RgbErr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/day3/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ops::{Range, RangeInclusive}, collections::HashSet}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Add` [INFO] [stdout] --> src/day4/mod.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{HashSet, HashMap}, ops::Add}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consumed`, `eof`, `error::dbg_dmp`, `is_alphabetic`, `is_digit`, `many1`, `many_till`, `not`, `preceded`, `streaming::take_till`, and `tuple` [INFO] [stdout] --> src/day5/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | bytes::{complete::tag, streaming::take_till}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Parser, [INFO] [stdout] 8 | sequence::{preceded, tuple}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 9 | multi::{separated_list1, many_till, many1}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | combinator::{recognize, map_res, not, eof, consumed}, [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^ [INFO] [stdout] 11 | character::{complete::digit1, is_digit, is_alphabetic}, error::dbg_dmp}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RGB_ERR` should have an upper camel case name [INFO] [stdout] --> src/day2/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct RGB_ERR; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RgbErr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/day3/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ops::{Range, RangeInclusive}, collections::HashSet}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Add` [INFO] [stdout] --> src/day4/mod.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{HashSet, HashMap}, ops::Add}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consumed`, `eof`, `error::dbg_dmp`, `is_alphabetic`, `is_digit`, `many1`, `many_till`, `not`, `preceded`, `streaming::take_till`, and `tuple` [INFO] [stdout] --> src/day5/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | bytes::{complete::tag, streaming::take_till}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Parser, [INFO] [stdout] 8 | sequence::{preceded, tuple}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 9 | multi::{separated_list1, many_till, many1}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | combinator::{recognize, map_res, not, eof, consumed}, [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^ [INFO] [stdout] 11 | character::{complete::digit1, is_digit, is_alphabetic}, error::dbg_dmp}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/day5/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/day5/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/day5/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/day5/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day1/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const PT_1: &'static str = include_str!("../data/day1p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day1/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day2/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PT_1: &'static str = include_str!("../data/day2p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day2/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day2/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day3/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const PT_1: &'static str = include_str!("../data/day3p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day3/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const EX_1: &'static str = include_str!("../data/day3ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/day3/mod.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_file(s: &'static str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day3/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day3/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day3/mod.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day3/mod.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day4/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PT_1: &'static str = include_str!("../data/day4p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day4/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EX_1: &'static str = include_str!("../data/day4ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_nums` is never used [INFO] [stdout] --> src/day4/mod.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_nums(s: Option<&str>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_id` is never used [INFO] [stdout] --> src/day4/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_id(s: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matching` is never used [INFO] [stdout] --> src/day4/mod.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn matching(a: HashSet, b: HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day4/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day4/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day4/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day4/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day5/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EX_1: &'static str = include_str!("../data/day5ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day5/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn ex_1() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day6/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn ex_1() -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day6/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pt_1() -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day1/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const PT_1: &'static str = include_str!("../data/day1p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day1/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day2/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PT_1: &'static str = include_str!("../data/day2p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day2/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day2/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day3/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const PT_1: &'static str = include_str!("../data/day3p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day3/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const EX_1: &'static str = include_str!("../data/day3ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/day3/mod.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_file(s: &'static str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day3/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day3/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day3/mod.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day3/mod.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day4/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PT_1: &'static str = include_str!("../data/day4p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day4/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EX_1: &'static str = include_str!("../data/day4ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_nums` is never used [INFO] [stdout] --> src/day4/mod.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_nums(s: Option<&str>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_id` is never used [INFO] [stdout] --> src/day4/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_id(s: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matching` is never used [INFO] [stdout] --> src/day4/mod.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn matching(a: HashSet, b: HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day4/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day4/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day4/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day4/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day5/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EX_1: &'static str = include_str!("../data/day5ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day5/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn ex_1() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day6/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn ex_1() -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day6/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pt_1() -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "e9f3f90c00c6667b90ee0ae26048f55928dfd7768c08af1109f2b263ea8bb073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f3f90c00c6667b90ee0ae26048f55928dfd7768c08af1109f2b263ea8bb073", kill_on_drop: false }` [INFO] [stdout] e9f3f90c00c6667b90ee0ae26048f55928dfd7768c08af1109f2b263ea8bb073 [INFO] checking tobyto-cs/aoc2023 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%2Ftobyto-cs%2Faoc2023" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tobyto-cs/aoc2023 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/tobyto-cs/aoc2023 [INFO] finished tweaking git repo https://github.com/tobyto-cs/aoc2023 [INFO] tweaked toml for git repo https://github.com/tobyto-cs/aoc2023 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tobyto-cs/aoc2023 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d3b2ca1804e747931e4831f305d9de668dee24b95ff164ff360d77baf700e5f2 [INFO] running `Command { std: "docker" "start" "-a" "d3b2ca1804e747931e4831f305d9de668dee24b95ff164ff360d77baf700e5f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3b2ca1804e747931e4831f305d9de668dee24b95ff164ff360d77baf700e5f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b2ca1804e747931e4831f305d9de668dee24b95ff164ff360d77baf700e5f2", kill_on_drop: false }` [INFO] [stdout] d3b2ca1804e747931e4831f305d9de668dee24b95ff164ff360d77baf700e5f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2878461c5825a3691ae6789b1e21cf7ea1c8a284acc214e30af4d6afb66d350c [INFO] running `Command { std: "docker" "start" "-a" "2878461c5825a3691ae6789b1e21cf7ea1c8a284acc214e30af4d6afb66d350c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking project-root v0.2.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aoc2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `RGB_ERR` should have an upper camel case name [INFO] [stdout] --> src/day2/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct RGB_ERR; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RgbErr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/day3/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ops::{Range, RangeInclusive}, collections::HashSet}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Add` [INFO] [stdout] --> src/day4/mod.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{HashSet, HashMap}, ops::Add}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consumed`, `eof`, `error::dbg_dmp`, `is_alphabetic`, `is_digit`, `many1`, `many_till`, `not`, `preceded`, `streaming::take_till`, and `tuple` [INFO] [stdout] --> src/day5/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | bytes::{complete::tag, streaming::take_till}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Parser, [INFO] [stdout] 8 | sequence::{preceded, tuple}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 9 | multi::{separated_list1, many_till, many1}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | combinator::{recognize, map_res, not, eof, consumed}, [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^ [INFO] [stdout] 11 | character::{complete::digit1, is_digit, is_alphabetic}, error::dbg_dmp}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RGB_ERR` should have an upper camel case name [INFO] [stdout] --> src/day2/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct RGB_ERR; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RgbErr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/day3/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ops::{Range, RangeInclusive}, collections::HashSet}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Add` [INFO] [stdout] --> src/day4/mod.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::{HashSet, HashMap}, ops::Add}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consumed`, `eof`, `error::dbg_dmp`, `is_alphabetic`, `is_digit`, `many1`, `many_till`, `not`, `preceded`, `streaming::take_till`, and `tuple` [INFO] [stdout] --> src/day5/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | bytes::{complete::tag, streaming::take_till}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Parser, [INFO] [stdout] 8 | sequence::{preceded, tuple}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 9 | multi::{separated_list1, many_till, many1}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | combinator::{recognize, map_res, not, eof, consumed}, [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^ [INFO] [stdout] 11 | character::{complete::digit1, is_digit, is_alphabetic}, error::dbg_dmp}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/day5/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/day5/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/day5/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/day5/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day1/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const PT_1: &'static str = include_str!("../data/day1p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day1/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day2/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PT_1: &'static str = include_str!("../data/day2p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day2/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day2/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day3/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const PT_1: &'static str = include_str!("../data/day3p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day3/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const EX_1: &'static str = include_str!("../data/day3ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/day3/mod.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_file(s: &'static str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day3/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day3/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day3/mod.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day3/mod.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day4/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PT_1: &'static str = include_str!("../data/day4p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day4/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EX_1: &'static str = include_str!("../data/day4ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_nums` is never used [INFO] [stdout] --> src/day4/mod.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_nums(s: Option<&str>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_id` is never used [INFO] [stdout] --> src/day4/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_id(s: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matching` is never used [INFO] [stdout] --> src/day4/mod.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn matching(a: HashSet, b: HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day4/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day4/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day4/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day4/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day5/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EX_1: &'static str = include_str!("../data/day5ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day5/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn ex_1() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day6/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn ex_1() -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day6/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pt_1() -> 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/day4/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Some(st.trim().split(' ') [INFO] [stdout] | ______________^ [INFO] [stdout] 12 | | .filter_map(|num| num.parse::().ok()) [INFO] [stdout] 13 | | .collect::>())) [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: constant `PT_1` is never used [INFO] [stdout] --> src/day1/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const PT_1: &'static str = include_str!("../data/day1p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day1/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day2/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PT_1: &'static str = include_str!("../data/day2p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day2/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day2/mod.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day3/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const PT_1: &'static str = include_str!("../data/day3p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day3/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const EX_1: &'static str = include_str!("../data/day3ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/day3/mod.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_file(s: &'static str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day3/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day3/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day3/mod.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day3/mod.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_1` is never used [INFO] [stdout] --> src/day4/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PT_1: &'static str = include_str!("../data/day4p1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day4/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EX_1: &'static str = include_str!("../data/day4ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_nums` is never used [INFO] [stdout] --> src/day4/mod.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_nums(s: Option<&str>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_id` is never used [INFO] [stdout] --> src/day4/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_id(s: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matching` is never used [INFO] [stdout] --> src/day4/mod.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn matching(a: HashSet, b: HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day4/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn pt_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_2` is never used [INFO] [stdout] --> src/day4/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn pt_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day4/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn ex_1() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_2` is never used [INFO] [stdout] --> src/day4/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ex_2() -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EX_1` is never used [INFO] [stdout] --> src/day5/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EX_1: &'static str = include_str!("../data/day5ex1.txt"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day5/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn ex_1() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_1` is never used [INFO] [stdout] --> src/day6/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn ex_1() -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt_1` is never used [INFO] [stdout] --> src/day6/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pt_1() -> 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/day4/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Some(st.trim().split(' ') [INFO] [stdout] | ______________^ [INFO] [stdout] 12 | | .filter_map(|num| num.parse::().ok()) [INFO] [stdout] 13 | | .collect::>())) [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: aborting due to 1 previous error; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2023` (bin "aoc2023") due to 2 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2023` (bin "aoc2023" test) due to 2 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2878461c5825a3691ae6789b1e21cf7ea1c8a284acc214e30af4d6afb66d350c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2878461c5825a3691ae6789b1e21cf7ea1c8a284acc214e30af4d6afb66d350c", kill_on_drop: false }` [INFO] [stdout] 2878461c5825a3691ae6789b1e21cf7ea1c8a284acc214e30af4d6afb66d350c