[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] building shonen787/qualys_ap-i_comms against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2Fqualys_ap-i_comms" "/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/shonen787/qualys_ap-i_comms on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-3-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded papergrid v0.4.0 [INFO] [stderr] Downloaded ezmenulib v0.2.10 [INFO] [stderr] Downloaded tabled_derive v0.3.0 [INFO] [stderr] Downloaded tabled v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e85699f36d5aa10ed7d6bf373db127ebc2da54d58df0718ef0de92d05e096484 [INFO] running `Command { std: "docker" "start" "-a" "e85699f36d5aa10ed7d6bf373db127ebc2da54d58df0718ef0de92d05e096484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e85699f36d5aa10ed7d6bf373db127ebc2da54d58df0718ef0de92d05e096484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e85699f36d5aa10ed7d6bf373db127ebc2da54d58df0718ef0de92d05e096484", kill_on_drop: false }` [INFO] [stdout] e85699f36d5aa10ed7d6bf373db127ebc2da54d58df0718ef0de92d05e096484 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3c0092d1ff68d324e90e5cf76bfcbe06369bbc176ff3178351ab372a380851b [INFO] running `Command { std: "docker" "start" "-a" "b3c0092d1ff68d324e90e5cf76bfcbe06369bbc176ff3178351ab372a380851b", 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 version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling psl-types v2.0.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling papergrid v0.4.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling ezmenulib v0.2.10 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling publicsuffix v2.1.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.5 [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] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tabled v0.7.0 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cookie_store v0.15.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling qualys_api_comms v0.1.0 (/opt/rustwide/workdir) [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: `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 - for cap in re.captures(&s){ [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 - for cap in re.captures(&s){ [INFO] [stdout] 137 + if let Some(cap) = re.captures(&s){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.12s [INFO] running `Command { std: "docker" "inspect" "b3c0092d1ff68d324e90e5cf76bfcbe06369bbc176ff3178351ab372a380851b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c0092d1ff68d324e90e5cf76bfcbe06369bbc176ff3178351ab372a380851b", kill_on_drop: false }` [INFO] [stdout] b3c0092d1ff68d324e90e5cf76bfcbe06369bbc176ff3178351ab372a380851b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4d74a4d828e5069eeb9e54647b07b72ce382e0ae99c0e07f0f6ea7351fb0708 [INFO] running `Command { std: "docker" "start" "-a" "b4d74a4d828e5069eeb9e54647b07b72ce382e0ae99c0e07f0f6ea7351fb0708", kill_on_drop: false }` [INFO] [stderr] Compiling qualys_api_comms v0.1.0 (/opt/rustwide/workdir) [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: `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 - for cap in re.captures(&s){ [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 - for cap in re.captures(&s){ [INFO] [stdout] 137 + if let Some(cap) = re.captures(&s){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "b4d74a4d828e5069eeb9e54647b07b72ce382e0ae99c0e07f0f6ea7351fb0708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d74a4d828e5069eeb9e54647b07b72ce382e0ae99c0e07f0f6ea7351fb0708", kill_on_drop: false }` [INFO] [stdout] b4d74a4d828e5069eeb9e54647b07b72ce382e0ae99c0e07f0f6ea7351fb0708