[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] bdf0e5fd3b635f4d5d9bd85dc4c73e3ec1240f42 [INFO] checking etkr/advent_of_code_2023 against master#453ceafce32ef8108c604bca5e165ab41d3d6d8c for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetkr%2Fadvent_of_code_2023" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etkr/advent_of_code_2023 on toolchain 453ceafce32ef8108c604bca5e165ab41d3d6d8c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+453ceafce32ef8108c604bca5e165ab41d3d6d8c" "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-5-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" "+453ceafce32ef8108c604bca5e165ab41d3d6d8c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking etkr/advent_of_code_2023 against try#773c42f0166e62a538b8fa36161b0c6df69a9640 for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetkr%2Fadvent_of_code_2023" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etkr/advent_of_code_2023 on toolchain 773c42f0166e62a538b8fa36161b0c6df69a9640 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "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-5-tc2/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" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39f69aae184a3225d32b2e52ae1d47c4921090e657c34402147d4bfc5ecc37af [INFO] running `Command { std: "docker" "start" "-a" "39f69aae184a3225d32b2e52ae1d47c4921090e657c34402147d4bfc5ecc37af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39f69aae184a3225d32b2e52ae1d47c4921090e657c34402147d4bfc5ecc37af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f69aae184a3225d32b2e52ae1d47c4921090e657c34402147d4bfc5ecc37af", kill_on_drop: false }` [INFO] [stdout] 39f69aae184a3225d32b2e52ae1d47c4921090e657c34402147d4bfc5ecc37af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b8b8f129902d6c16509bad82822db123fdf1566a6a9229d0688880110c8620c [INFO] running `Command { std: "docker" "start" "-a" "8b8b8f129902d6c16509bad82822db123fdf1566a6a9229d0688880110c8620c", kill_on_drop: false }` [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 `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: 8 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 0.10s [INFO] running `Command { std: "docker" "inspect" "8b8b8f129902d6c16509bad82822db123fdf1566a6a9229d0688880110c8620c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8b8f129902d6c16509bad82822db123fdf1566a6a9229d0688880110c8620c", kill_on_drop: false }` [INFO] [stdout] 8b8b8f129902d6c16509bad82822db123fdf1566a6a9229d0688880110c8620c