[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] 2926b98e028ebcf0f4503d4d8e95fd3b05ce4756 [INFO] checking HreshchyshynT/adventofcode2022 against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHreshchyshynT%2Fadventofcode2022" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HreshchyshynT/adventofcode2022 on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f79d347c310a652541133bdab6d44c28eb1eef96113d4b8f8c278b2dcef3465 [INFO] running `Command { std: "docker" "start" "-a" "7f79d347c310a652541133bdab6d44c28eb1eef96113d4b8f8c278b2dcef3465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f79d347c310a652541133bdab6d44c28eb1eef96113d4b8f8c278b2dcef3465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f79d347c310a652541133bdab6d44c28eb1eef96113d4b8f8c278b2dcef3465", kill_on_drop: false }` [INFO] [stdout] 7f79d347c310a652541133bdab6d44c28eb1eef96113d4b8f8c278b2dcef3465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cb8f07f81cd438dcc04efbfccea9fc231bb8c4c68fbe8a19de678badc242d21 [INFO] running `Command { std: "docker" "start" "-a" "9cb8f07f81cd438dcc04efbfccea9fc231bb8c4c68fbe8a19de678badc242d21", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Write` and `stdout` [INFO] [stdout] --> src/day_10.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{stdout, BufRead, Result, Write}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `stdout` [INFO] [stdout] --> src/day_10.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{stdout, BufRead, Result, Write}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cycle` is never used [INFO] [stdout] --> src/day_10.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn cycle(queue: &mut VecDeque, register: &mut Register, cycle: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stdout] warning: struct `Answer` is never constructed [INFO] [stdout] --> src/day_6.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Answer { [INFO] [stdout] | ^^^^^^ [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: struct `Field` is never constructed [INFO] [stdout] --> src/day_9.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Distance` is never constructed [INFO] [stdout] --> src/day_9.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Distance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `between` and `max` are never used [INFO] [stdout] --> src/day_9.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Distance { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 20 | fn between(one: &Field, two: &Field) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn max(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start`, `new`, and `pull_to` are never used [INFO] [stdout] --> src/day_9.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Field { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 32 | fn start() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn pull_to(&self, another: &Field) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/day_9.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day_9.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `action` is never used [INFO] [stdout] --> src/day_9.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn action(rope: &mut Vec, tail_his: &mut HashSet, motion: &Motion) { [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: struct `IntRange` is never constructed [INFO] [stdout] --> src/fourth.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct IntRange { [INFO] [stdout] | ^^^^^^^^ [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: enum `HandShape` is never used [INFO] [stdout] --> src/second.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum HandShape { [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: enum `RoundResult` is never used [INFO] [stdout] --> src/second.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | enum RoundResult { [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: trait `HasPoints` is never used [INFO] [stdout] --> src/third.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | trait HasPoints { [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 `cycle` is never used [INFO] [stdout] --> src/day_10.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn cycle(queue: &mut VecDeque, register: &mut Register, cycle: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stdout] warning: struct `Answer` is never constructed [INFO] [stdout] --> src/day_6.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Answer { [INFO] [stdout] | ^^^^^^ [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: struct `Field` is never constructed [INFO] [stdout] --> src/day_9.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Distance` is never constructed [INFO] [stdout] --> src/day_9.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Distance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `between` and `max` are never used [INFO] [stdout] --> src/day_9.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Distance { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 20 | fn between(one: &Field, two: &Field) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn max(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start`, `new`, and `pull_to` are never used [INFO] [stdout] --> src/day_9.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Field { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 32 | fn start() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn pull_to(&self, another: &Field) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/day_9.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/day_9.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `action` is never used [INFO] [stdout] --> src/day_9.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn action(rope: &mut Vec, tail_his: &mut HashSet, motion: &Motion) { [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: struct `IntRange` is never constructed [INFO] [stdout] --> src/fourth.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct IntRange { [INFO] [stdout] | ^^^^^^^^ [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: enum `HandShape` is never used [INFO] [stdout] --> src/second.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum HandShape { [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: enum `RoundResult` is never used [INFO] [stdout] --> src/second.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | enum RoundResult { [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: trait `HasPoints` is never used [INFO] [stdout] --> src/third.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | trait HasPoints { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "9cb8f07f81cd438dcc04efbfccea9fc231bb8c4c68fbe8a19de678badc242d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb8f07f81cd438dcc04efbfccea9fc231bb8c4c68fbe8a19de678badc242d21", kill_on_drop: false }` [INFO] [stdout] 9cb8f07f81cd438dcc04efbfccea9fc231bb8c4c68fbe8a19de678badc242d21