[INFO] cloning repository https://github.com/shonen787/qualys_ap-i_comms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shonen787/qualys_ap-i_comms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2Fqualys_ap-i_comms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2Fqualys_ap-i_comms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e006afa7282c3112173363ec61ab89a86359fecc [INFO] checking shonen787/qualys_ap-i_comms against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2Fqualys_ap-i_comms" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shonen787/qualys_ap-i_comms 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/shonen787/qualys_ap-i_comms [INFO] finished tweaking git repo https://github.com/shonen787/qualys_ap-i_comms [INFO] tweaked toml for git repo https://github.com/shonen787/qualys_ap-i_comms written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shonen787/qualys_ap-i_comms 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 parking_lot v0.12.0 [INFO] [stderr] Downloaded tabled_derive v0.3.0 [INFO] [stderr] Downloaded xml-rs v0.8.4 [INFO] [stderr] Downloaded serde v0.9.15 [INFO] [stderr] Downloaded papergrid v0.4.0 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded standback v0.2.17 [INFO] [stderr] Downloaded time-macros-impl v0.1.2 [INFO] [stderr] Downloaded time v0.2.27 [INFO] [stderr] Downloaded cookie_store v0.15.1 [INFO] [stderr] Downloaded os_str_bytes v6.0.1 [INFO] [stderr] Downloaded ezmenulib v0.2.10 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded psl-types v2.0.10 [INFO] [stderr] Downloaded publicsuffix v2.1.1 [INFO] [stderr] Downloaded base-x v0.2.10 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded tabled v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9fa52dedbd2b50bc5c769a81100e43536aed2221541fea1d219e3cd941119436 [INFO] running `Command { std: "docker" "start" "-a" "9fa52dedbd2b50bc5c769a81100e43536aed2221541fea1d219e3cd941119436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fa52dedbd2b50bc5c769a81100e43536aed2221541fea1d219e3cd941119436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa52dedbd2b50bc5c769a81100e43536aed2221541fea1d219e3cd941119436", kill_on_drop: false }` [INFO] [stdout] 9fa52dedbd2b50bc5c769a81100e43536aed2221541fea1d219e3cd941119436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 68b895fe5dd299182cbef0ba7f3352ef52ff4b2fbb0bfa0c4d9ef9ecc5e70804 [INFO] running `Command { std: "docker" "start" "-a" "68b895fe5dd299182cbef0ba7f3352ef52ff4b2fbb0bfa0c4d9ef9ecc5e70804", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking psl-types v2.0.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking papergrid v0.4.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking ezmenulib v0.2.10 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tabled_derive v0.3.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tabled v0.7.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.15.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking qualys_api_comms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/qualys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 44 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 74 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/qualys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 44 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 74 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/qualys.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn list_actions(s: &String, action: String,clientelle: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/qualys.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn list_actions(s: &String, action: String,clientelle: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/util/xml.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/xml.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [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: `client` [INFO] [stdout] --> src/util/xml.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/xml.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [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: `user` [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `user: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/main.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `pass: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/main.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `action: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ips` [INFO] [stdout] --> src/main.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^ help: try ignoring the field: `ips: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracking_method` [INFO] [stdout] --> src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `tracking_method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hash` is never used [INFO] [stdout] --> src/qualys.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_hash(s: &mut String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/xml.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/qualys.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | for cap in re.captures(&s){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 137 | while let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `user: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/main.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `pass: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/main.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `action: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ips` [INFO] [stdout] --> src/main.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^ help: try ignoring the field: `ips: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracking_method` [INFO] [stdout] --> src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `tracking_method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hash` is never used [INFO] [stdout] --> src/qualys.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_hash(s: &mut String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/xml.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/qualys.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | for cap in re.captures(&s){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 137 | while let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.57s [INFO] running `Command { std: "docker" "inspect" "68b895fe5dd299182cbef0ba7f3352ef52ff4b2fbb0bfa0c4d9ef9ecc5e70804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b895fe5dd299182cbef0ba7f3352ef52ff4b2fbb0bfa0c4d9ef9ecc5e70804", kill_on_drop: false }` [INFO] [stdout] 68b895fe5dd299182cbef0ba7f3352ef52ff4b2fbb0bfa0c4d9ef9ecc5e70804 [INFO] checking shonen787/qualys_ap-i_comms against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2Fqualys_ap-i_comms" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shonen787/qualys_ap-i_comms on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shonen787/qualys_ap-i_comms [INFO] finished tweaking git repo https://github.com/shonen787/qualys_ap-i_comms [INFO] tweaked toml for git repo https://github.com/shonen787/qualys_ap-i_comms written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shonen787/qualys_ap-i_comms 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3c6773bfbc2ca675b7ec1bb1dfd4b5c75bfd08228955ff10003ab7464737360 [INFO] running `Command { std: "docker" "start" "-a" "d3c6773bfbc2ca675b7ec1bb1dfd4b5c75bfd08228955ff10003ab7464737360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3c6773bfbc2ca675b7ec1bb1dfd4b5c75bfd08228955ff10003ab7464737360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c6773bfbc2ca675b7ec1bb1dfd4b5c75bfd08228955ff10003ab7464737360", kill_on_drop: false }` [INFO] [stdout] d3c6773bfbc2ca675b7ec1bb1dfd4b5c75bfd08228955ff10003ab7464737360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 273b895c98b462708510d2a1f78386080b0e8681dc7aa64bfd7852e5abd28a1f [INFO] running `Command { std: "docker" "start" "-a" "273b895c98b462708510d2a1f78386080b0e8681dc7aa64bfd7852e5abd28a1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking psl-types v2.0.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking papergrid v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking ezmenulib v0.2.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling tabled_derive v0.3.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tabled v0.7.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.15.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking qualys_api_comms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/qualys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/qualys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 44 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 74 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 44 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Url` is imported redundantly [INFO] [stdout] --> src/qualys.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | -------- the item `Url` is already imported here [INFO] [stdout] ... [INFO] [stdout] 74 | use reqwest::{cookie::Jar, Url}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/qualys.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn list_actions(s: &String, action: String,clientelle: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/qualys.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn list_actions(s: &String, action: String,clientelle: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/util/xml.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/xml.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [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: `client` [INFO] [stdout] --> src/util/xml.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/xml.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: String =String::new(); [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: `user` [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `user: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/main.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `pass: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/main.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `action: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ips` [INFO] [stdout] --> src/main.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^ help: try ignoring the field: `ips: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracking_method` [INFO] [stdout] --> src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `tracking_method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `user: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/main.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `pass: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/main.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `action: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ips` [INFO] [stdout] --> src/main.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^ help: try ignoring the field: `ips: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracking_method` [INFO] [stdout] --> src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | Commands::Assets{user,pass,action,ips,tracking_method} =>{}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `tracking_method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hash` is never used [INFO] [stdout] --> src/qualys.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_hash(s: &mut String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/xml.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/qualys.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | for cap in re.captures(&s){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 137 | while let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hash` is never used [INFO] [stdout] --> src/qualys.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_hash(s: &mut String){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_input` is never used [INFO] [stdout] --> src/util/xml.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | fn user_input(s: &mut String) -> String{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/qualys.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | for cap in re.captures(&s){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 137 | while let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(cap) = re.captures(&s){ [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.36s [INFO] running `Command { std: "docker" "inspect" "273b895c98b462708510d2a1f78386080b0e8681dc7aa64bfd7852e5abd28a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273b895c98b462708510d2a1f78386080b0e8681dc7aa64bfd7852e5abd28a1f", kill_on_drop: false }` [INFO] [stdout] 273b895c98b462708510d2a1f78386080b0e8681dc7aa64bfd7852e5abd28a1f