[INFO] cloning repository https://github.com/etkr/advent_of_code_2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/etkr/advent_of_code_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetkr%2Fadvent_of_code_2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetkr%2Fadvent_of_code_2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a64be88a5dce5ec0981c99ec035ee7cff14638bd [INFO] checking etkr/advent_of_code_2023 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetkr%2Fadvent_of_code_2023" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etkr/advent_of_code_2023 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/etkr/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/etkr/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/etkr/advent_of_code_2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/etkr/advent_of_code_2023 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c1a934664f871b367c87862bc3399792d80178af123c8b76c46a6cd2124b80ca [INFO] running `Command { std: "docker" "start" "-a" "c1a934664f871b367c87862bc3399792d80178af123c8b76c46a6cd2124b80ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1a934664f871b367c87862bc3399792d80178af123c8b76c46a6cd2124b80ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a934664f871b367c87862bc3399792d80178af123c8b76c46a6cd2124b80ca", kill_on_drop: false }` [INFO] [stdout] c1a934664f871b367c87862bc3399792d80178af123c8b76c46a6cd2124b80ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 941ed0025bc752411aaefb1e6dc878207340631468eb97ed2ede6772d40b4002 [INFO] running `Command { std: "docker" "start" "-a" "941ed0025bc752411aaefb1e6dc878207340631468eb97ed2ede6772d40b4002", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking nalgebra v0.32.4 [INFO] [stderr] Checking advent_of_code_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Red`, `Blue`, and `Green` are never constructed [INFO] [stdout] --> src/day02/color.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/day02/color.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 9 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_vec`, `parse`, `new`, and `is_possible` are never used [INFO] [stdout] --> src/day02/draw.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Draw { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn parse_vec(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn parse(s: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new(quantity: i32, color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_possible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bag` is never constructed [INFO] [stdout] --> src/day02/game.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Bag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `power` is never used [INFO] [stdout] --> src/day02/game.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Bag { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 13 | pub fn power(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day02/game.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(id: i32, cubes: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn parse(str: &str) -> Game { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_str(lines: &[&str]) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_possible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn sum_of_possble_games(games: &[Game]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn minimun_needed_cubes(&self) -> Bag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn sum_of_minimun_needed_cubes(games: &[Game]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_vec`, `parse`, `new`, and `is_possible` are never used [INFO] [stdout] --> src/day02/round.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Round { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | pub fn parse_vec(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn parse(s: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new(draw: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn is_possible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/day03/schematic.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn is_symbol(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schematic` is never constructed [INFO] [stdout] --> src/day03/schematic.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Schematic { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str`, `new`, `sum_of_part_numbers`, `has_adjecent_symbol`, and `find_part_numbers` are never used [INFO] [stdout] --> src/day03/schematic.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Schematic { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn from_str(str: &[&str]) -> Schematic { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn new(matrix: DMatrix) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn sum_of_part_numbers(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn has_adjecent_symbol(&self, c: usize, r: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn find_part_numbers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/util/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read(file_name: &str) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/util/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read(file_name: &str) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.83s [INFO] running `Command { std: "docker" "inspect" "941ed0025bc752411aaefb1e6dc878207340631468eb97ed2ede6772d40b4002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941ed0025bc752411aaefb1e6dc878207340631468eb97ed2ede6772d40b4002", kill_on_drop: false }` [INFO] [stdout] 941ed0025bc752411aaefb1e6dc878207340631468eb97ed2ede6772d40b4002