[INFO] cloning repository https://github.com/tmikic100/new_has_scraper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmikic100/new_has_scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmikic100%2Fnew_has_scraper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmikic100%2Fnew_has_scraper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aad332740f2e480bf48ba534cbf2664c1182cbb6 [INFO] checking tmikic100/new_has_scraper against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmikic100%2Fnew_has_scraper" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmikic100/new_has_scraper on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tmikic100/new_has_scraper [INFO] finished tweaking git repo https://github.com/tmikic100/new_has_scraper [INFO] tweaked toml for git repo https://github.com/tmikic100/new_has_scraper written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tmikic100/new_has_scraper 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term-table v1.3.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d27e91eb83ca606f6e4b628f27dd2262d16ceb0fb931f86dffc95923f059d46 [INFO] running `Command { std: "docker" "start" "-a" "2d27e91eb83ca606f6e4b628f27dd2262d16ceb0fb931f86dffc95923f059d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d27e91eb83ca606f6e4b628f27dd2262d16ceb0fb931f86dffc95923f059d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d27e91eb83ca606f6e4b628f27dd2262d16ceb0fb931f86dffc95923f059d46", kill_on_drop: false }` [INFO] [stdout] 2d27e91eb83ca606f6e4b628f27dd2262d16ceb0fb931f86dffc95923f059d46 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 448c382aa4a66d452f37791e57e725b50d910dd75074bedac47592cca8ccfab8 [INFO] running `Command { std: "docker" "start" "-a" "448c382aa4a66d452f37791e57e725b50d910dd75074bedac47592cca8ccfab8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking term-table v1.3.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking string_cache v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking scraper v0.12.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking new_has_scraper v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiProgress` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use indicatif::{MultiProgress, ProgressBar}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiProgress` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use indicatif::{MultiProgress, ProgressBar}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | let h = (result/(60.00*60.00)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - let h = (result/(60.00*60.00)); [INFO] [stdout] 18 + let h = result/(60.00*60.00); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:679:18 [INFO] [stdout] | [INFO] [stdout] 679 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 679 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 679 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | let h = (result/(60.00*60.00)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - let h = (result/(60.00*60.00)); [INFO] [stdout] 18 + let h = result/(60.00*60.00); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 730 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 730 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:750:19 [INFO] [stdout] | [INFO] [stdout] 750 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 750 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 750 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:679:18 [INFO] [stdout] | [INFO] [stdout] 679 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 679 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 679 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 730 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 730 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:750:19 [INFO] [stdout] | [INFO] [stdout] 750 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 750 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 750 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sresult` is never read [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | let mut sresult = "".to_string(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | let mut result:f64 = 0.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 `result` is never read [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | let mut result:f64 = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | let mut search = get_age_data(age,year) + &get_discipline_alias(discip); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:295:6 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [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/main.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/main.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:328:6 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [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/main.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [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/main.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | let mut ans:String = ans.to_lowercase().split_whitespace().collect(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/main.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | ... Err(o) => println!("Failed! using cache! / data") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | Err(a) => println!("Failed! using cache! / age") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:520:7 [INFO] [stdout] | [INFO] [stdout] 520 | Err(e) => println!("Failed! using cache! / year") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sresult` is never read [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | let mut sresult = "".to_string(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | let mut result:f64 = 0.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 `result` is never read [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | let mut result:f64 = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_info` [INFO] [stdout] --> src/main.rs:599:7 [INFO] [stdout] | [INFO] [stdout] 599 | let extra_info = true; //Služi da nam kad nije bilo informacija o vjetru rečemo korisniku da nije bilo informacija s NO_WIND [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | let mut search = get_age_data(age,year) + &get_discipline_alias(discip); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_mod` [INFO] [stdout] --> src/main.rs:788:10 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:295:6 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | ... x = discip[0][4].parse::().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/main.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:328:6 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [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/main.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [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/main.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | let mut ans:String = ans.to_lowercase().split_whitespace().collect(); [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/main.rs:788:6 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:997:10 [INFO] [stdout] | [INFO] [stdout] 997 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/main.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | ... Err(o) => println!("Failed! using cache! / data") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | Err(a) => println!("Failed! using cache! / age") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:520:7 [INFO] [stdout] | [INFO] [stdout] 520 | Err(e) => println!("Failed! using cache! / year") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:1175:10 [INFO] [stdout] | [INFO] [stdout] 1175 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_info` [INFO] [stdout] --> src/main.rs:599:7 [INFO] [stdout] | [INFO] [stdout] 599 | let extra_info = true; //Služi da nam kad nije bilo informacija o vjetru rečemo korisniku da nije bilo informacija s NO_WIND [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `barYear` [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barYear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gender` [INFO] [stdout] --> src/main.rs:1220:6 [INFO] [stdout] | [INFO] [stdout] 1220 | let gender = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bday` [INFO] [stdout] --> src/main.rs:1221:6 [INFO] [stdout] | [INFO] [stdout] 1221 | let bday = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bday` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:1222:10 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/main.rs:1349:10 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/main.rs:1350:10 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finished` [INFO] [stdout] --> src/main.rs:1351:10 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finished` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/main.rs:1353:10 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:1378:11 [INFO] [stdout] | [INFO] [stdout] 1378 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_mod` [INFO] [stdout] --> src/main.rs:788:10 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | ... x = discip[0][4].parse::().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1222:6 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [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/main.rs:1349:6 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [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/main.rs:1350:6 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [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/main.rs:1351:6 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [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/main.rs:1353:6 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_points_manual` is never used [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn calculate_points_manual(result: String, search: String)-> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_csv` is never used [INFO] [stdout] --> src/main.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn save_csv(data:Vec>>){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_carrer` is never used [INFO] [stdout] --> src/main.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn get_carrer(search: String) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_club_record` is never used [INFO] [stdout] --> src/main.rs:1217:4 [INFO] [stdout] | [INFO] [stdout] 1217 | fn get_club_record() -> Vec>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:788:6 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:264:2 [INFO] [stdout] | [INFO] [stdout] 264 | fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:279:2 [INFO] [stdout] | [INFO] [stdout] 279 | fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_input` should have a snake case name [INFO] [stdout] --> src/main.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn CLI_input(question:&str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cli_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question` should have a snake case name [INFO] [stdout] --> src/main.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn CLI_question(question:&str, mut answers:Vec, all: bool) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` should have a snake case name [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question_alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetchWebsite` should have a snake case name [INFO] [stdout] --> src/main.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn fetchWebsite(url:&str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_website` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:497:4 [INFO] [stdout] | [INFO] [stdout] 497 | fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 497 | let _ = fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:509:95 [INFO] [stdout] | [INFO] [stdout] 509 | ... fs::write(&*("/has/cache/".to_owned() + &years[years.len()-1].clone() + "/" + &txt[0].clone().replace("html","htm").replace("htm","... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:855:6 [INFO] [stdout] | [INFO] [stdout] 855 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `relayCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1042:10 [INFO] [stdout] | [INFO] [stdout] 1042 | let mut relayCount: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `relay_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1044:6 [INFO] [stdout] | [INFO] [stdout] 1044 | let barYear = ProgressBar::new(get_ages(year.clone()).len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1068:67 [INFO] [stdout] | [INFO] [stdout] 1068 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1079:54 [INFO] [stdout] | [INFO] [stdout] 1079 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1083:53 [INFO] [stdout] | [INFO] [stdout] 1083 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1087:52 [INFO] [stdout] | [INFO] [stdout] 1087 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:997:10 [INFO] [stdout] | [INFO] [stdout] 997 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `teamCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1094:18 [INFO] [stdout] | [INFO] [stdout] 1094 | ... let mut teamCount = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `team_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1123:61 [INFO] [stdout] | [INFO] [stdout] 1123 | ... stats.insert(pos, vec!(discip[0][2].clone()+sufix.clone(),teamCount.to_string()+"%",discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1128:53 [INFO] [stdout] | [INFO] [stdout] 1128 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1134:52 [INFO] [stdout] | [INFO] [stdout] 1134 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1144:67 [INFO] [stdout] | [INFO] [stdout] 1144 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1155:54 [INFO] [stdout] | [INFO] [stdout] 1155 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1159:53 [INFO] [stdout] | [INFO] [stdout] 1159 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1163:52 [INFO] [stdout] | [INFO] [stdout] 1163 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:1175:10 [INFO] [stdout] | [INFO] [stdout] 1175 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `barYear` [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barYear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gender` [INFO] [stdout] --> src/main.rs:1220:6 [INFO] [stdout] | [INFO] [stdout] 1220 | let gender = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bday` [INFO] [stdout] --> src/main.rs:1221:6 [INFO] [stdout] | [INFO] [stdout] 1221 | let bday = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bday` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:1222:10 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/main.rs:1349:10 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/main.rs:1350:10 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finished` [INFO] [stdout] --> src/main.rs:1351:10 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finished` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/main.rs:1353:10 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:1378:11 [INFO] [stdout] | [INFO] [stdout] 1378 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1222:6 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [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/main.rs:1349:6 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [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/main.rs:1350:6 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [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/main.rs:1351:6 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [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/main.rs:1353:6 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_points_manual` is never used [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn calculate_points_manual(result: String, search: String)-> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_csv` is never used [INFO] [stdout] --> src/main.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn save_csv(data:Vec>>){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_carrer` is never used [INFO] [stdout] --> src/main.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn get_carrer(search: String) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_club_record` is never used [INFO] [stdout] --> src/main.rs:1217:4 [INFO] [stdout] | [INFO] [stdout] 1217 | fn get_club_record() -> Vec>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:264:2 [INFO] [stdout] | [INFO] [stdout] 264 | fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:279:2 [INFO] [stdout] | [INFO] [stdout] 279 | fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_input` should have a snake case name [INFO] [stdout] --> src/main.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn CLI_input(question:&str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cli_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question` should have a snake case name [INFO] [stdout] --> src/main.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn CLI_question(question:&str, mut answers:Vec, all: bool) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` should have a snake case name [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question_alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetchWebsite` should have a snake case name [INFO] [stdout] --> src/main.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn fetchWebsite(url:&str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_website` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:497:4 [INFO] [stdout] | [INFO] [stdout] 497 | fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 497 | let _ = fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:509:95 [INFO] [stdout] | [INFO] [stdout] 509 | ... fs::write(&*("/has/cache/".to_owned() + &years[years.len()-1].clone() + "/" + &txt[0].clone().replace("html","htm").replace("htm","... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:855:6 [INFO] [stdout] | [INFO] [stdout] 855 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `relayCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1042:10 [INFO] [stdout] | [INFO] [stdout] 1042 | let mut relayCount: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `relay_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1044:6 [INFO] [stdout] | [INFO] [stdout] 1044 | let barYear = ProgressBar::new(get_ages(year.clone()).len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1068:67 [INFO] [stdout] | [INFO] [stdout] 1068 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1079:54 [INFO] [stdout] | [INFO] [stdout] 1079 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1083:53 [INFO] [stdout] | [INFO] [stdout] 1083 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1087:52 [INFO] [stdout] | [INFO] [stdout] 1087 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `teamCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1094:18 [INFO] [stdout] | [INFO] [stdout] 1094 | ... let mut teamCount = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `team_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1123:61 [INFO] [stdout] | [INFO] [stdout] 1123 | ... stats.insert(pos, vec!(discip[0][2].clone()+sufix.clone(),teamCount.to_string()+"%",discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1128:53 [INFO] [stdout] | [INFO] [stdout] 1128 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1134:52 [INFO] [stdout] | [INFO] [stdout] 1134 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1144:67 [INFO] [stdout] | [INFO] [stdout] 1144 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1155:54 [INFO] [stdout] | [INFO] [stdout] 1155 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1159:53 [INFO] [stdout] | [INFO] [stdout] 1159 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1163:52 [INFO] [stdout] | [INFO] [stdout] 1163 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "448c382aa4a66d452f37791e57e725b50d910dd75074bedac47592cca8ccfab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "448c382aa4a66d452f37791e57e725b50d910dd75074bedac47592cca8ccfab8", kill_on_drop: false }` [INFO] [stdout] 448c382aa4a66d452f37791e57e725b50d910dd75074bedac47592cca8ccfab8 [INFO] checking tmikic100/new_has_scraper against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmikic100%2Fnew_has_scraper" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmikic100/new_has_scraper on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tmikic100/new_has_scraper [INFO] finished tweaking git repo https://github.com/tmikic100/new_has_scraper [INFO] tweaked toml for git repo https://github.com/tmikic100/new_has_scraper written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tmikic100/new_has_scraper 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e41fef314ae0b1b1020d32c44e2b88ad820f5e67a2b99c0fc242c0b859751059 [INFO] running `Command { std: "docker" "start" "-a" "e41fef314ae0b1b1020d32c44e2b88ad820f5e67a2b99c0fc242c0b859751059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e41fef314ae0b1b1020d32c44e2b88ad820f5e67a2b99c0fc242c0b859751059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41fef314ae0b1b1020d32c44e2b88ad820f5e67a2b99c0fc242c0b859751059", kill_on_drop: false }` [INFO] [stdout] e41fef314ae0b1b1020d32c44e2b88ad820f5e67a2b99c0fc242c0b859751059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af78eceb12637a0a2589b4e3deeaf437585345c151aa7d3767402ca4e59aa0ce [INFO] running `Command { std: "docker" "start" "-a" "af78eceb12637a0a2589b4e3deeaf437585345c151aa7d3767402ca4e59aa0ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking term-table v1.3.2 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking string_cache v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking scraper v0.12.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking new_has_scraper v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiProgress` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use indicatif::{MultiProgress, ProgressBar}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | let h = (result/(60.00*60.00)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - let h = (result/(60.00*60.00)); [INFO] [stdout] 18 + let h = result/(60.00*60.00); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:679:18 [INFO] [stdout] | [INFO] [stdout] 679 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 679 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 679 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 730 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 730 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:750:19 [INFO] [stdout] | [INFO] [stdout] 750 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 750 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 750 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiProgress` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use indicatif::{MultiProgress, ProgressBar}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | let h = (result/(60.00*60.00)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - let h = (result/(60.00*60.00)); [INFO] [stdout] 18 + let h = result/(60.00*60.00); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:679:18 [INFO] [stdout] | [INFO] [stdout] 679 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 679 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 679 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 730 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 730 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:750:19 [INFO] [stdout] | [INFO] [stdout] 750 | ... None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 750 - None => (temp.push("NO_INFO".to_string())) [INFO] [stdout] 750 + None => temp.push("NO_INFO".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sresult` is never read [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | let mut sresult = "".to_string(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sresult` is never read [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | let mut sresult = "".to_string(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | let mut result:f64 = 0.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 `result` is never read [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | let mut result:f64 = 0.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 `result` is never read [INFO] [stdout] --> src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | let mut result:f64 = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | let mut search = get_age_data(age,year) + &get_discipline_alias(discip); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | let mut result:f64 = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | let mut search = get_age_data(age,year) + &get_discipline_alias(discip); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:295:6 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [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/main.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/main.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:328:6 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [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/main.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [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/main.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | let mut ans:String = ans.to_lowercase().split_whitespace().collect(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 269 | let mut name:String = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/main.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | ... Err(o) => println!("Failed! using cache! / data") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | Err(a) => println!("Failed! using cache! / age") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:520:7 [INFO] [stdout] | [INFO] [stdout] 520 | Err(e) => println!("Failed! using cache! / year") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:295:6 [INFO] [stdout] | [INFO] [stdout] 295 | let mut ans:String= "".to_string(); [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/main.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 308 | let mut response = "".to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/main.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/main.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:328:6 [INFO] [stdout] | [INFO] [stdout] 328 | let mut ans= "".to_string(); [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/main.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | let mut answer = "".to_string(); [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/main.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | let mut ans:String = ans.to_lowercase().split_whitespace().collect(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_info` [INFO] [stdout] --> src/main.rs:599:7 [INFO] [stdout] | [INFO] [stdout] 599 | let extra_info = true; //Služi da nam kad nije bilo informacija o vjetru rečemo korisniku da nije bilo informacija s NO_WIND [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/main.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | ... Err(o) => println!("Failed! using cache! / data") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | Err(a) => println!("Failed! using cache! / age") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:520:7 [INFO] [stdout] | [INFO] [stdout] 520 | Err(e) => println!("Failed! using cache! / year") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_mod` [INFO] [stdout] --> src/main.rs:788:10 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_info` [INFO] [stdout] --> src/main.rs:599:7 [INFO] [stdout] | [INFO] [stdout] 599 | let extra_info = true; //Služi da nam kad nije bilo informacija o vjetru rečemo korisniku da nije bilo informacija s NO_WIND [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | ... x = discip[0][4].parse::().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:788:6 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:997:10 [INFO] [stdout] | [INFO] [stdout] 997 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_mod` [INFO] [stdout] --> src/main.rs:788:10 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | ... x = discip[0][4].parse::().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:1175:10 [INFO] [stdout] | [INFO] [stdout] 1175 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:788:6 [INFO] [stdout] | [INFO] [stdout] 788 | let mut extra_mod = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:997:10 [INFO] [stdout] | [INFO] [stdout] 997 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `barYear` [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barYear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gender` [INFO] [stdout] --> src/main.rs:1220:6 [INFO] [stdout] | [INFO] [stdout] 1220 | let gender = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bday` [INFO] [stdout] --> src/main.rs:1221:6 [INFO] [stdout] | [INFO] [stdout] 1221 | let bday = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bday` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:1222:10 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/main.rs:1349:10 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/main.rs:1350:10 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finished` [INFO] [stdout] --> src/main.rs:1351:10 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finished` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/main.rs:1353:10 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:1378:11 [INFO] [stdout] | [INFO] [stdout] 1378 | let mut min = 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 `min` is never read [INFO] [stdout] --> src/main.rs:1175:10 [INFO] [stdout] | [INFO] [stdout] 1175 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1222:6 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [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/main.rs:1349:6 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [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/main.rs:1350:6 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [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/main.rs:1351:6 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [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/main.rs:1353:6 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_points_manual` is never used [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn calculate_points_manual(result: String, search: String)-> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_csv` is never used [INFO] [stdout] --> src/main.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn save_csv(data:Vec>>){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_carrer` is never used [INFO] [stdout] --> src/main.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn get_carrer(search: String) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_club_record` is never used [INFO] [stdout] --> src/main.rs:1217:4 [INFO] [stdout] | [INFO] [stdout] 1217 | fn get_club_record() -> Vec>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `barYear` [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barYear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gender` [INFO] [stdout] --> src/main.rs:1220:6 [INFO] [stdout] | [INFO] [stdout] 1220 | let gender = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bday` [INFO] [stdout] --> src/main.rs:1221:6 [INFO] [stdout] | [INFO] [stdout] 1221 | let bday = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bday` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:1222:10 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/main.rs:1349:10 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:264:2 [INFO] [stdout] | [INFO] [stdout] 264 | fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:279:2 [INFO] [stdout] | [INFO] [stdout] 279 | fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_input` should have a snake case name [INFO] [stdout] --> src/main.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn CLI_input(question:&str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cli_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question` should have a snake case name [INFO] [stdout] --> src/main.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn CLI_question(question:&str, mut answers:Vec, all: bool) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` should have a snake case name [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question_alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/main.rs:1350:10 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finished` [INFO] [stdout] --> src/main.rs:1351:10 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finished` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/main.rs:1353:10 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/main.rs:1378:11 [INFO] [stdout] | [INFO] [stdout] 1378 | let mut min = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetchWebsite` should have a snake case name [INFO] [stdout] --> src/main.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn fetchWebsite(url:&str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_website` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:497:4 [INFO] [stdout] | [INFO] [stdout] 497 | fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 497 | let _ = fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:509:95 [INFO] [stdout] | [INFO] [stdout] 509 | ... fs::write(&*("/has/cache/".to_owned() + &years[years.len()-1].clone() + "/" + &txt[0].clone().replace("html","htm").replace("htm","... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:855:6 [INFO] [stdout] | [INFO] [stdout] 855 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `relayCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1042:10 [INFO] [stdout] | [INFO] [stdout] 1042 | let mut relayCount: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `relay_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1044:6 [INFO] [stdout] | [INFO] [stdout] 1044 | let barYear = ProgressBar::new(get_ages(year.clone()).len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1068:67 [INFO] [stdout] | [INFO] [stdout] 1068 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1079:54 [INFO] [stdout] | [INFO] [stdout] 1079 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1083:53 [INFO] [stdout] | [INFO] [stdout] 1083 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1087:52 [INFO] [stdout] | [INFO] [stdout] 1087 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `teamCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1094:18 [INFO] [stdout] | [INFO] [stdout] 1094 | ... let mut teamCount = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `team_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1123:61 [INFO] [stdout] | [INFO] [stdout] 1123 | ... stats.insert(pos, vec!(discip[0][2].clone()+sufix.clone(),teamCount.to_string()+"%",discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1128:53 [INFO] [stdout] | [INFO] [stdout] 1128 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1134:52 [INFO] [stdout] | [INFO] [stdout] 1134 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1144:67 [INFO] [stdout] | [INFO] [stdout] 1144 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1155:54 [INFO] [stdout] | [INFO] [stdout] 1155 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1159:53 [INFO] [stdout] | [INFO] [stdout] 1159 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1163:52 [INFO] [stdout] | [INFO] [stdout] 1163 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1222:6 [INFO] [stdout] | [INFO] [stdout] 1222 | let mut res:Vec>>= Vec::new(); [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/main.rs:1349:6 [INFO] [stdout] | [INFO] [stdout] 1349 | let mut min = 0; [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/main.rs:1350:6 [INFO] [stdout] | [INFO] [stdout] 1350 | let mut age = "".to_string(); [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/main.rs:1351:6 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut finished = false; [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/main.rs:1353:6 [INFO] [stdout] | [INFO] [stdout] 1353 | let mut temp:Vec> = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_points_manual` is never used [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn calculate_points_manual(result: String, search: String)-> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_csv` is never used [INFO] [stdout] --> src/main.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn save_csv(data:Vec>>){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_carrer` is never used [INFO] [stdout] --> src/main.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn get_carrer(search: String) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_club_record` is never used [INFO] [stdout] --> src/main.rs:1217:4 [INFO] [stdout] | [INFO] [stdout] 1217 | fn get_club_record() -> Vec>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `resultShift` should have a snake case name [INFO] [stdout] --> src/main.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | let resultShift:f64 = magic[1].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `result_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conversionFactor` should have a snake case name [INFO] [stdout] --> src/main.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | let conversionFactor:f64 = magic[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `conversion_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointShift` should have a snake case name [INFO] [stdout] --> src/main.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | let pointShift:f64 = magic[3].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `point_shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:264:2 [INFO] [stdout] | [INFO] [stdout] 264 | fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = fs::create_dir_all("/has/export/".to_owned() + &data[0][0][0].clone()+&*"/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:279:2 [INFO] [stdout] | [INFO] [stdout] 279 | fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 279 | let _ = fs::create_dir_all("/has/export/statistics/"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_input` should have a snake case name [INFO] [stdout] --> src/main.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn CLI_input(question:&str) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cli_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question` should have a snake case name [INFO] [stdout] --> src/main.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn CLI_question(question:&str, mut answers:Vec, all: bool) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CLI_question_alias` should have a snake case name [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn CLI_question_alias(question:&str, answers:Vec, alias:Vec>) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cli_question_alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetchWebsite` should have a snake case name [INFO] [stdout] --> src/main.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn fetchWebsite(url:&str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_website` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:497:4 [INFO] [stdout] | [INFO] [stdout] 497 | fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 497 | let _ = fs::create_dir_all("/has/cache/".to_owned() + &years[years.len()-1].clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:509:95 [INFO] [stdout] | [INFO] [stdout] 509 | ... fs::write(&*("/has/cache/".to_owned() + &years[years.len()-1].clone() + "/" + &txt[0].clone().replace("html","htm").replace("htm","... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:855:6 [INFO] [stdout] | [INFO] [stdout] 855 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `relayCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1042:10 [INFO] [stdout] | [INFO] [stdout] 1042 | let mut relayCount: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `relay_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1044:6 [INFO] [stdout] | [INFO] [stdout] 1044 | let barYear = ProgressBar::new(get_ages(year.clone()).len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1068:67 [INFO] [stdout] | [INFO] [stdout] 1068 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1079:54 [INFO] [stdout] | [INFO] [stdout] 1079 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1083:53 [INFO] [stdout] | [INFO] [stdout] 1083 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1087:52 [INFO] [stdout] | [INFO] [stdout] 1087 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][3].clone(),discip[x][1].clone(),discip[x][7].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `teamCount` should have a snake case name [INFO] [stdout] --> src/main.rs:1094:18 [INFO] [stdout] | [INFO] [stdout] 1094 | ... let mut teamCount = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `team_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1123:61 [INFO] [stdout] | [INFO] [stdout] 1123 | ... stats.insert(pos, vec!(discip[0][2].clone()+sufix.clone(),teamCount.to_string()+"%",discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1128:53 [INFO] [stdout] | [INFO] [stdout] 1128 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1134:52 [INFO] [stdout] | [INFO] [stdout] 1134 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),relayCount.clone().to_string()+"%",discip[x][1].clone(),discip[x][4].clone(),dis... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1144:67 [INFO] [stdout] | [INFO] [stdout] 1144 | ... if stats[stat][0].clone() == discip[0][2].clone()+sufix.clone(){ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1155:54 [INFO] [stdout] | [INFO] [stdout] 1155 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1159:53 [INFO] [stdout] | [INFO] [stdout] 1159 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1163:52 [INFO] [stdout] | [INFO] [stdout] 1163 | ... stats.push(vec!(discip[0][2].clone()+sufix.clone(),discip[x][2].clone(),discip[x][1].clone(),discip[x][6].c... [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `barYear` should have a snake case name [INFO] [stdout] --> src/main.rs:1219:6 [INFO] [stdout] | [INFO] [stdout] 1219 | let barYear = ProgressBar::new(years.len() as u64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `bar_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "af78eceb12637a0a2589b4e3deeaf437585345c151aa7d3767402ca4e59aa0ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af78eceb12637a0a2589b4e3deeaf437585345c151aa7d3767402ca4e59aa0ce", kill_on_drop: false }` [INFO] [stdout] af78eceb12637a0a2589b4e3deeaf437585345c151aa7d3767402ca4e59aa0ce