[INFO] cloning repository https://github.com/HreshchyshynT/adventofcode2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HreshchyshynT/adventofcode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHreshchyshynT%2Fadventofcode2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHreshchyshynT%2Fadventofcode2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6af41dea05e042e124e39f268377515563c7c76e [INFO] checking HreshchyshynT/adventofcode2022 against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHreshchyshynT%2Fadventofcode2022" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HreshchyshynT/adventofcode2022 on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HreshchyshynT/adventofcode2022 [INFO] finished tweaking git repo https://github.com/HreshchyshynT/adventofcode2022 [INFO] tweaked toml for git repo https://github.com/HreshchyshynT/adventofcode2022 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HreshchyshynT/adventofcode2022 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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "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 HreshchyshynT/adventofcode2022 against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHreshchyshynT%2Fadventofcode2022" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HreshchyshynT/adventofcode2022 on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HreshchyshynT/adventofcode2022 [INFO] finished tweaking git repo https://github.com/HreshchyshynT/adventofcode2022 [INFO] tweaked toml for git repo https://github.com/HreshchyshynT/adventofcode2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HreshchyshynT/adventofcode2022 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75b721b857106da966be592bdedc8b133f13871201946c4ebff75e02de314414 [INFO] running `Command { std: "docker" "start" "-a" "75b721b857106da966be592bdedc8b133f13871201946c4ebff75e02de314414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b721b857106da966be592bdedc8b133f13871201946c4ebff75e02de314414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b721b857106da966be592bdedc8b133f13871201946c4ebff75e02de314414", kill_on_drop: false }` [INFO] [stdout] 75b721b857106da966be592bdedc8b133f13871201946c4ebff75e02de314414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeba1860a53c4b29081e750f229394db40a069ef3c7063609dcd4c15cf389b41 [INFO] running `Command { std: "docker" "start" "-a" "aeba1860a53c4b29081e750f229394db40a069ef3c7063609dcd4c15cf389b41", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day_5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn run() -> Result<()> { [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/day_6.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_n_distinct_characters_index` is never used [INFO] [stdout] --> src/day_6.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn first_n_distinct_characters_index(n: usize, line: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/fourth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct IntRange { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | start: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | end: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntRange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `overlaps` are never used [INFO] [stdout] --> src/fourth.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl IntRange { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 21 | fn contains(&self, other: &IntRange) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn overlaps(&self, other: &IntRange) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/fourth.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stronger_shape`, `get_weeker_shape`, `beats`, `play`, and `points` are never used [INFO] [stdout] --> src/second.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl HandShape { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 13 | fn get_stronger_shape(&self) -> HandShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_weeker_shape(&self) -> HandShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn beats(&self, other: &HandShape) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn play(&self, other: &HandShape) -> RoundResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn points(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/second.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl RoundResult { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 81 | fn points(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/second.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_first_task` is never used [INFO] [stdout] --> src/second.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_points_first_task(str: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_second_task` is never used [INFO] [stdout] --> src/second.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_points_second_task(str: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/third.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_badge` is never used [INFO] [stdout] --> src/third.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn find_badge(bag1: &HashSet, bag2: &HashSet, bag3: &HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day_5.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn run() -> Result<()> { [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/day_6.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_n_distinct_characters_index` is never used [INFO] [stdout] --> src/day_6.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn first_n_distinct_characters_index(n: usize, line: &String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/first.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/fourth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct IntRange { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | start: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | end: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntRange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `overlaps` are never used [INFO] [stdout] --> src/fourth.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl IntRange { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 21 | fn contains(&self, other: &IntRange) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn overlaps(&self, other: &IntRange) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/fourth.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stronger_shape`, `get_weeker_shape`, `beats`, `play`, and `points` are never used [INFO] [stdout] --> src/second.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl HandShape { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 13 | fn get_stronger_shape(&self) -> HandShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_weeker_shape(&self) -> HandShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn beats(&self, other: &HandShape) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn play(&self, other: &HandShape) -> RoundResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn points(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/second.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl RoundResult { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 81 | fn points(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/second.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_first_task` is never used [INFO] [stdout] --> src/second.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_points_first_task(str: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_second_task` is never used [INFO] [stdout] --> src/second.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_points_second_task(str: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/third.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_badge` is never used [INFO] [stdout] --> src/third.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn find_badge(bag1: &HashSet, bag2: &HashSet, bag3: &HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "aeba1860a53c4b29081e750f229394db40a069ef3c7063609dcd4c15cf389b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeba1860a53c4b29081e750f229394db40a069ef3c7063609dcd4c15cf389b41", kill_on_drop: false }` [INFO] [stdout] aeba1860a53c4b29081e750f229394db40a069ef3c7063609dcd4c15cf389b41