[INFO] cloning repository https://github.com/kavinda-100/rust-bbot-camp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kavinda-100/rust-bbot-camp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkavinda-100%2Frust-bbot-camp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkavinda-100%2Frust-bbot-camp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10646524a2adf197861497c1451381b5c92a2c10 [INFO] building kavinda-100/rust-bbot-camp against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkavinda-100%2Frust-bbot-camp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kavinda-100/rust-bbot-camp [INFO] finished tweaking git repo https://github.com/kavinda-100/rust-bbot-camp [INFO] tweaked toml for git repo https://github.com/kavinda-100/rust-bbot-camp written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kavinda-100/rust-bbot-camp on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kavinda-100/rust-bbot-camp 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piper v0.2.4 [INFO] [stderr] Downloaded async-process v2.4.0 [INFO] [stderr] Downloaded async-signal v0.2.12 [INFO] [stderr] Downloaded async-channel v2.5.0 [INFO] [stderr] Downloaded blocking v1.6.2 [INFO] [stderr] Downloaded colorize v0.1.0 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded async-executor v1.13.2 [INFO] [stderr] Downloaded signal-hook v0.3.18 [INFO] [stderr] Downloaded redox_syscall v0.5.15 [INFO] [stderr] Downloaded polling v3.9.0 [INFO] [stderr] Downloaded async-io v2.5.0 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.7 [INFO] [stderr] Downloaded smol v2.0.2 [INFO] [stderr] Downloaded async-net v2.0.0 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded newline-converter v0.3.0 [INFO] [stderr] Downloaded inquire v0.7.5 [INFO] [stderr] Downloaded async-task v4.7.1 [INFO] [stderr] Downloaded futures-lite v2.6.0 [INFO] [stderr] Downloaded async-fs v2.1.3 [INFO] [stderr] Downloaded async-lock v3.4.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cddcdafba72407a8d2e550576d120992cad9b9ca6c0a07b0928750a537711105 [INFO] running `Command { std: "docker" "start" "-a" "cddcdafba72407a8d2e550576d120992cad9b9ca6c0a07b0928750a537711105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cddcdafba72407a8d2e550576d120992cad9b9ca6c0a07b0928750a537711105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddcdafba72407a8d2e550576d120992cad9b9ca6c0a07b0928750a537711105", kill_on_drop: false }` [INFO] [stdout] cddcdafba72407a8d2e550576d120992cad9b9ca6c0a07b0928750a537711105 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ddec91ccf768fdb7821de7d4d46ff86beefc4499f7cd9d5cff153d1f917bce3 [INFO] running `Command { std: "docker" "start" "-a" "1ddec91ccf768fdb7821de7d4d46ff86beefc4499f7cd9d5cff153d1f917bce3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling async-fs v2.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling colorize v0.1.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling smol v2.0.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling rust-bbot-camp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_vec.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if (i % 2 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if (i % 2 == 0) { [INFO] [stdout] 52 + if i % 2 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_vec.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | return if (x.name.contains("BMW")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - return if (x.name.contains("BMW")) { [INFO] [stdout] 69 + return if x.name.contains("BMW") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/time_module/my_time.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH}; [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 variable: `cx` [INFO] [stdout] --> src/asyncs/my_tokio.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/csv/my_csv.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let res = csv::Reader::from_path(file_path); // not customizable, but can be used to read CSV files [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dog_name` is never read [INFO] [stdout] --> src/my_args.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut dog_name: String = String::from(""); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dog_age` is never read [INFO] [stdout] --> src/my_args.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut dog_age: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `post_body` is never read [INFO] [stdout] --> src/my_http.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut post_body: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serialized_vehicle` [INFO] [stdout] --> src/my_serde.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let serialized_vehicle = to_string(&vehicle_01); // This will serialize the Vehicle instance to a JSON string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized_vehicle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_name` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut player_name: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_age` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut player_age: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_region` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut player_region: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_class` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut player_class: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_dob` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut player_dob: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `five_seconds` [INFO] [stdout] --> src/time_module/my_time.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let five_seconds = Duration::new(5, 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start() { [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 `get_number` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn get_number() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boil_water` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | async fn boil_water() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_sugar` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn add_sugar() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_coffee` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn make_coffee() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F1Racer` is never constructed [INFO] [stdout] --> src/asyncs/my_tokio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct F1Racer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `do_laps` are never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl F1Racer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | fn new(name: &str, laps: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn do_laps(&mut self, lap_times: Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f1racer_fn` is never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn f1racer_fn() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_async_message` is never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | async fn print_async_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/clap/my_cli.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/control_flow.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow_example` is never used [INFO] [stdout] --> src/control_flow.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn control_flow_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_loop_example` is never used [INFO] [stdout] --> src/control_flow.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn while_loop_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop_example` is never used [INFO] [stdout] --> src/control_flow.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn for_loop_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_example` is never used [INFO] [stdout] --> src/control_flow.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn match_example() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/csv/my_csv.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `csv_with_serde` is never used [INFO] [stdout] --> src/csv/my_csv.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn csv_with_serde() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `csv_example` is never used [INFO] [stdout] --> src/csv/my_csv.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn csv_example() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/external_process/my_external_proccess.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directory` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_directory(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_file` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn create_file(path: &str, file_content: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn read_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dog` is never constructed [INFO] [stdout] --> src/my_args.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Dog { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `info` are never used [INFO] [stdout] --> src/my_args.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Dog { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 21 | fn new(name: String, age: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_args.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_closures.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_enums.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_functions.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/my_functions.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generic_add` is never used [INFO] [stdout] --> src/my_functions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn generic_add>(a: T, b: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_name` is never used [INFO] [stdout] --> src/my_functions.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print_name(f_name: &str, l_name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_generic.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_info` are never used [INFO] [stdout] --> src/my_generic.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Point { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 26 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn display_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_hash_map.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_http.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_iterator.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_match_expression.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_methods.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_info`, and `change_color` are never used [INFO] [stdout] --> src/my_methods.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Vehicle { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 42 | fn new(manufacture: &str, model: &str, year: u32, color: VehicleColor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn display_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn change_color(&mut self, new_color: VehicleColor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_option.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_option_overload.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_add` is never used [INFO] [stdout] --> src/my_option_overload.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn example_add() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_mul` is never used [INFO] [stdout] --> src/my_option_overload.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn example_mul() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_sub` is never used [INFO] [stdout] --> src/my_option_overload.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn example_sub() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_div` is never used [INFO] [stdout] --> src/my_option_overload.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn example_div() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_regular_expression.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_regex_group` is never used [INFO] [stdout] --> src/my_regular_expression.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_regex_group(patten: &str, input: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_regex` is never used [INFO] [stdout] --> src/my_regular_expression.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_regex(patten: &str, input: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_regex` is never used [INFO] [stdout] --> src/my_regular_expression.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn test_regex(patten: &str, input: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VehicleOwner` is never constructed [INFO] [stdout] --> src/my_serde.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct VehicleOwner { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/my_serde.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_serde.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_struct.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_traits.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `introduce`, and `pet_name` are never used [INFO] [stdout] --> src/my_traits.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Person { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 51 | fn new(name: String, pet: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn introduce(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn pet_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_vec.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retain_vec` is never used [INFO] [stdout] --> src/my_vec.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn retain_vec() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_vector` is never used [INFO] [stdout] --> src/my_vec.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn append_to_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display` are never used [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 165 | fn new(name: String, age: String, region: String, class: Vec, dob: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/prompt_cmd/user_inputs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_age` is never used [INFO] [stdout] --> src/prompt_cmd/user_inputs.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn check_age(age: u16, age_to_check: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_validator` is never used [INFO] [stdout] --> src/prompt_cmd/my_clap.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn type_validator(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `age_validation` is never used [INFO] [stdout] --> src/prompt_cmd/my_clap.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn age_validation(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_values` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn sort_values(values: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_values_with_custom_swap` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn sort_values_with_custom_swap(values: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap_fn` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn swap_fn(a: &mut i32, b: &mut i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/time_module/my_chrono.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/time_module/my_time.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/unit_tests/my_code.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_full_name` is never used [INFO] [stdout] --> src/unit_tests/my_code.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_full_name(first_name: &str, last_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_add_numbers` is never used [INFO] [stdout] --> src/unit_tests/my_code.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_add_numbers(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_divide_numbers` is never used [INFO] [stdout] --> src/unit_tests/my_code.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_divide_numbers(a: i32, b: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "1ddec91ccf768fdb7821de7d4d46ff86beefc4499f7cd9d5cff153d1f917bce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ddec91ccf768fdb7821de7d4d46ff86beefc4499f7cd9d5cff153d1f917bce3", kill_on_drop: false }` [INFO] [stdout] 1ddec91ccf768fdb7821de7d4d46ff86beefc4499f7cd9d5cff153d1f917bce3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9a9b5eb5dcaf733cf6d77f99270a2e984c05e3efdf531800c3031c01ad64b5c [INFO] running `Command { std: "docker" "start" "-a" "a9a9b5eb5dcaf733cf6d77f99270a2e984c05e3efdf531800c3031c01ad64b5c", kill_on_drop: false }` [INFO] [stderr] Compiling rust-bbot-camp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_vec.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if (i % 2 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if (i % 2 == 0) { [INFO] [stdout] 52 + if i % 2 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/my_vec.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | return if (x.name.contains("BMW")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - return if (x.name.contains("BMW")) { [INFO] [stdout] 69 + return if x.name.contains("BMW") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/time_module/my_time.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH}; [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 variable: `cx` [INFO] [stdout] --> src/asyncs/my_tokio.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/csv/my_csv.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let res = csv::Reader::from_path(file_path); // not customizable, but can be used to read CSV files [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dog_name` is never read [INFO] [stdout] --> src/my_args.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut dog_name: String = String::from(""); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dog_age` is never read [INFO] [stdout] --> src/my_args.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut dog_age: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `post_body` is never read [INFO] [stdout] --> src/my_http.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut post_body: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serialized_vehicle` [INFO] [stdout] --> src/my_serde.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let serialized_vehicle = to_string(&vehicle_01); // This will serialize the Vehicle instance to a JSON string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized_vehicle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_name` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut player_name: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_age` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut player_age: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_region` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut player_region: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_class` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut player_class: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `player_dob` is never read [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut player_dob: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `five_seconds` [INFO] [stdout] --> src/time_module/my_time.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let five_seconds = Duration::new(5, 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start() { [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 `get_number` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn get_number() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boil_water` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | async fn boil_water() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_sugar` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn add_sugar() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_coffee` is never used [INFO] [stdout] --> src/asyncs/my_smol.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn make_coffee() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F1Racer` is never constructed [INFO] [stdout] --> src/asyncs/my_tokio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct F1Racer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `do_laps` are never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl F1Racer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | fn new(name: &str, laps: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn do_laps(&mut self, lap_times: Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f1racer_fn` is never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn f1racer_fn() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_async_message` is never used [INFO] [stdout] --> src/asyncs/my_tokio.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | async fn print_async_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/clap/my_cli.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/control_flow.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow_example` is never used [INFO] [stdout] --> src/control_flow.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn control_flow_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_loop_example` is never used [INFO] [stdout] --> src/control_flow.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn while_loop_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop_example` is never used [INFO] [stdout] --> src/control_flow.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn for_loop_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_example` is never used [INFO] [stdout] --> src/control_flow.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn match_example() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/csv/my_csv.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `csv_with_serde` is never used [INFO] [stdout] --> src/csv/my_csv.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn csv_with_serde() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `csv_example` is never used [INFO] [stdout] --> src/csv/my_csv.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn csv_example() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/external_process/my_external_proccess.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directory` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_directory(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_file` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn create_file(path: &str, file_content: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn read_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_system/my_file_system.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dog` is never constructed [INFO] [stdout] --> src/my_args.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Dog { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `info` are never used [INFO] [stdout] --> src/my_args.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Dog { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 21 | fn new(name: String, age: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_args.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_closures.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_enums.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_functions.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/my_functions.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generic_add` is never used [INFO] [stdout] --> src/my_functions.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn generic_add>(a: T, b: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_name` is never used [INFO] [stdout] --> src/my_functions.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print_name(f_name: &str, l_name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_generic.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_info` are never used [INFO] [stdout] --> src/my_generic.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Point { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 26 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn display_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_hash_map.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_http.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_iterator.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_match_expression.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_methods.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_info`, and `change_color` are never used [INFO] [stdout] --> src/my_methods.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Vehicle { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 42 | fn new(manufacture: &str, model: &str, year: u32, color: VehicleColor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn display_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn change_color(&mut self, new_color: VehicleColor) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_option.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_option_overload.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_add` is never used [INFO] [stdout] --> src/my_option_overload.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn example_add() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_mul` is never used [INFO] [stdout] --> src/my_option_overload.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn example_mul() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_sub` is never used [INFO] [stdout] --> src/my_option_overload.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn example_sub() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_div` is never used [INFO] [stdout] --> src/my_option_overload.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn example_div() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_regular_expression.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_regex_group` is never used [INFO] [stdout] --> src/my_regular_expression.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_regex_group(patten: &str, input: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_regex` is never used [INFO] [stdout] --> src/my_regular_expression.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_regex(patten: &str, input: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_regex` is never used [INFO] [stdout] --> src/my_regular_expression.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn test_regex(patten: &str, input: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VehicleOwner` is never constructed [INFO] [stdout] --> src/my_serde.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct VehicleOwner { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/my_serde.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_serde.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_struct.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_traits.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `introduce`, and `pet_name` are never used [INFO] [stdout] --> src/my_traits.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Person { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 51 | fn new(name: String, pet: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn introduce(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn pet_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/my_vec.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retain_vec` is never used [INFO] [stdout] --> src/my_vec.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn retain_vec() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_vector` is never used [INFO] [stdout] --> src/my_vec.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn append_to_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display` are never used [INFO] [stdout] --> src/prompt_cmd/my_inquire.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 165 | fn new(name: String, age: String, region: String, class: Vec, dob: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/prompt_cmd/user_inputs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_age` is never used [INFO] [stdout] --> src/prompt_cmd/user_inputs.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn check_age(age: u16, age_to_check: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_validator` is never used [INFO] [stdout] --> src/prompt_cmd/my_clap.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn type_validator(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `age_validation` is never used [INFO] [stdout] --> src/prompt_cmd/my_clap.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn age_validation(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_values` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn sort_values(values: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_values_with_custom_swap` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn sort_values_with_custom_swap(values: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap_fn` is never used [INFO] [stdout] --> src/tasks/sort_values.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn swap_fn(a: &mut i32, b: &mut i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/time_module/my_chrono.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/time_module/my_time.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/unit_tests/my_code.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "a9a9b5eb5dcaf733cf6d77f99270a2e984c05e3efdf531800c3031c01ad64b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a9b5eb5dcaf733cf6d77f99270a2e984c05e3efdf531800c3031c01ad64b5c", kill_on_drop: false }` [INFO] [stdout] a9a9b5eb5dcaf733cf6d77f99270a2e984c05e3efdf531800c3031c01ad64b5c