[INFO] cloning repository https://github.com/hafizmuhammadshoaib/rust-practce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hafizmuhammadshoaib/rust-practce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafizmuhammadshoaib%2Frust-practce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafizmuhammadshoaib%2Frust-practce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b10c7bae5b8314bb14ea207b01beed0d2fbaa68a [INFO] checking hafizmuhammadshoaib/rust-practce against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafizmuhammadshoaib%2Frust-practce" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hafizmuhammadshoaib/rust-practce [INFO] finished tweaking git repo https://github.com/hafizmuhammadshoaib/rust-practce [INFO] tweaked toml for git repo https://github.com/hafizmuhammadshoaib/rust-practce written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hafizmuhammadshoaib/rust-practce on toolchain 4e55a504843955c97eb06907c71f6f3e99208021 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hafizmuhammadshoaib/rust-practce 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking hafizmuhammadshoaib/rust-practce against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafizmuhammadshoaib%2Frust-practce" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hafizmuhammadshoaib/rust-practce [INFO] finished tweaking git repo https://github.com/hafizmuhammadshoaib/rust-practce [INFO] tweaked toml for git repo https://github.com/hafizmuhammadshoaib/rust-practce written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hafizmuhammadshoaib/rust-practce on toolchain 4e55a504843955c97eb06907c71f6f3e99208021 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hafizmuhammadshoaib/rust-practce 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a8c47a9959924aaef7716609051f6c2b0150cdbad28bac7e81bee386781e9b5 [INFO] running `Command { std: "docker" "start" "-a" "2a8c47a9959924aaef7716609051f6c2b0150cdbad28bac7e81bee386781e9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a8c47a9959924aaef7716609051f6c2b0150cdbad28bac7e81bee386781e9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8c47a9959924aaef7716609051f6c2b0150cdbad28bac7e81bee386781e9b5", kill_on_drop: false }` [INFO] [stdout] 2a8c47a9959924aaef7716609051f6c2b0150cdbad28bac7e81bee386781e9b5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41d48ddf4f8e25118c5bddf1a2887aeaa096ca3fcdb07fd52204d53892be3029 [INFO] running `Command { std: "docker" "start" "-a" "41d48ddf4f8e25118c5bddf1a2887aeaa096ca3fcdb07fd52204d53892be3029", kill_on_drop: false }` [INFO] [stderr] Checking hello_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alloc::System` [INFO] [stdout] --> src/todo.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{alloc::System, io}; [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 import: `ptr::null` [INFO] [stdout] --> src/error_handling.rs:2:63 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::Debug, fs::File, io::Read, num::ParseIntError, ptr::null}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::System` [INFO] [stdout] --> src/todo.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{alloc::System, io}; [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 import: `ptr::null` [INFO] [stdout] --> src/error_handling.rs:2:63 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::Debug, fs::File, io::Read, num::ParseIntError, ptr::null}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/todo.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn main(mut todos: Vec) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/todo.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn main(mut todos: Vec) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/todo.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn rerun_main(mut todos: Vec) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/todo.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn rerun_main(mut todos: Vec) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/todo.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | fn show_tasks(mut todos: Vec) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/todo.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | fn show_tasks(mut todos: Vec) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Weekday` is never used [INFO] [stdout] --> src/main.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum Weekday { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Weekday` is never used [INFO] [stdout] --> src/main.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum Weekday { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 31 | fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 31 | fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pattern_matching` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn pattern_matching(number: i32) -> Weekday { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_greeting_message` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn print_greeting_message(greeting: &mut String, person_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pattern_matching` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn pattern_matching(number: i32) -> Weekday { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_types_as_param` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn data_types_as_param(a: i32, b: f64, c: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_greeting_message` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn print_greeting_message(greeting: &mut String, person_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fizz_buzz_or_fizzbuzz` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_fizz_buzz_or_fizzbuzz(a: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_types_as_param` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn data_types_as_param(a: i32, b: f64, c: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_till_100_using_loop` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sum_till_100_using_loop() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fizz_buzz_or_fizzbuzz` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_fizz_buzz_or_fizzbuzz(a: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_till_100_using_for_loop` is never used [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn sum_till_100_using_for_loop() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_tuple_as_input_and_print` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn takes_tuple_as_input_and_print(tup: &(i32, bool, &str)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_till_100_using_loop` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sum_till_100_using_loop() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/calculator.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_till_100_using_for_loop` is never used [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn sum_till_100_using_for_loop() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_number` is never used [INFO] [stdout] --> src/calculator.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn read_number(prompt: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_tuple_as_input_and_print` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn takes_tuple_as_input_and_print(tup: &(i32, bool, &str)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/calculator.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn read_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/calculator.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_number` is never used [INFO] [stdout] --> src/calculator.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn read_number(prompt: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/todo.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn main(mut todos: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/calculator.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn read_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/todo.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn main(mut todos: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/todo.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_string(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/todo.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_string(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_option_number` is never used [INFO] [stdout] --> src/todo.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn read_option_number() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_option_number` is never used [INFO] [stdout] --> src/todo.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn read_option_number() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_options` is never used [INFO] [stdout] --> src/todo.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn show_options() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_options` is never used [INFO] [stdout] --> src/todo.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn show_options() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rerun_main` is never used [INFO] [stdout] --> src/todo.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn rerun_main(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rerun_main` is never used [INFO] [stdout] --> src/todo.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn rerun_main(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_task` is never used [INFO] [stdout] --> src/todo.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn input_task(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_task` is never used [INFO] [stdout] --> src/todo.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn input_task(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_tasks` is never used [INFO] [stdout] --> src/todo.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn show_tasks(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_task` is never used [INFO] [stdout] --> src/todo.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn remove_task(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_tasks` is never used [INFO] [stdout] --> src/todo.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn show_tasks(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/oop.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_task` is never used [INFO] [stdout] --> src/todo.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn remove_task(mut todos: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/oop.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `greet` is never used [INFO] [stdout] --> src/oop.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 17 | fn greet(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `greet` is never used [INFO] [stdout] --> src/oop.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 17 | fn greet(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserBuilder` is never constructed [INFO] [stdout] --> src/oop.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct UserBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserBuilder` is never constructed [INFO] [stdout] --> src/oop.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct UserBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `username`, `email`, `age`, and `build` are never used [INFO] [stdout] --> src/oop.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl UserBuilder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 29 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn username(mut self, username: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn email(mut self, email: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn age(mut self, age: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn build(self) -> User { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `username`, `email`, `age`, and `build` are never used [INFO] [stdout] --> src/oop.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl UserBuilder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 29 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn username(mut self, username: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn email(mut self, email: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn age(mut self, age: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn build(self) -> User { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Summary` is never used [INFO] [stdout] --> src/oop.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | trait Summary { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Summary` is never used [INFO] [stdout] --> src/oop.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | trait Summary { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `States` is never used [INFO] [stdout] --> src/oop.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum States { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `States` is never used [INFO] [stdout] --> src/oop.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum States { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Post` is never constructed [INFO] [stdout] --> src/oop.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Post { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Post` is never constructed [INFO] [stdout] --> src/oop.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Post { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_state` and `print` are never used [INFO] [stdout] --> src/oop.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Post { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 75 | fn update_state(&mut self, state: States) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_state` and `print` are never used [INFO] [stdout] --> src/oop.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Post { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 75 | fn update_state(&mut self, state: States) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewsArticle` is never constructed [INFO] [stdout] --> src/oop.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct NewsArticle {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewsArticle` is never constructed [INFO] [stdout] --> src/oop.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct NewsArticle {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animal` is never used [INFO] [stdout] --> src/oop.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | trait Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animal` is never used [INFO] [stdout] --> src/oop.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | trait Animal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dog` is never constructed [INFO] [stdout] --> src/oop.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct Dog {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dog` is never constructed [INFO] [stdout] --> src/oop.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct Dog {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/oop.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct Cat {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/oop.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct Cat {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is never used [INFO] [stdout] --> src/oop.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | trait Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape` is never used [INFO] [stdout] --> src/oop.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | trait Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/oop.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/oop.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/oop.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/oop.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/oop.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/oop.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/hashmap.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `word_frequency_count` is never used [INFO] [stdout] --> src/hashmap.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn word_frequency_count() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `word_frequency_count` is never used [INFO] [stdout] --> src/hashmap.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn word_frequency_count() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/error_handling.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/error_handling.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_divide` is never used [INFO] [stdout] --> src/error_handling.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn safe_divide(a: f64, b: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_divide` is never used [INFO] [stdout] --> src/error_handling.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn safe_divide(a: f64, b: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_word` is never used [INFO] [stdout] --> src/error_handling.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn find_word(words: &Vec, target: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_word` is never used [INFO] [stdout] --> src/error_handling.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn find_word(words: &Vec, target: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/error_handling.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn read_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_and_parse` is never used [INFO] [stdout] --> src/error_handling.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn read_and_parse() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/error_handling.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn read_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_and_parse` is never used [INFO] [stdout] --> src/error_handling.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn read_and_parse() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "41d48ddf4f8e25118c5bddf1a2887aeaa096ca3fcdb07fd52204d53892be3029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d48ddf4f8e25118c5bddf1a2887aeaa096ca3fcdb07fd52204d53892be3029", kill_on_drop: false }` [INFO] [stdout] 41d48ddf4f8e25118c5bddf1a2887aeaa096ca3fcdb07fd52204d53892be3029