[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2Fqualys_ap-i_comms" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shonen787/qualys_ap-i_comms on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfba8d9cda4b8a5911cc837d87b1e22f8d66b39c6a5b096615631b9594a30249 [INFO] running `Command { std: "docker" "start" "-a" "dfba8d9cda4b8a5911cc837d87b1e22f8d66b39c6a5b096615631b9594a30249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfba8d9cda4b8a5911cc837d87b1e22f8d66b39c6a5b096615631b9594a30249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfba8d9cda4b8a5911cc837d87b1e22f8d66b39c6a5b096615631b9594a30249", kill_on_drop: false }` [INFO] [stdout] dfba8d9cda4b8a5911cc837d87b1e22f8d66b39c6a5b096615631b9594a30249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbb087fd6ca924e1139975d01d8bdc4055146d7f40aa4c5be16e6b55914b957c [INFO] running `Command { std: "docker" "start" "-a" "bbb087fd6ca924e1139975d01d8bdc4055146d7f40aa4c5be16e6b55914b957c", 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 log v0.4.17 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking psl-types v2.0.10 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking papergrid v0.4.0 [INFO] [stderr] Checking encoding_rs v0.8.31 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking ezmenulib v0.2.10 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking xml-rs v0.8.4 [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 tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [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 serde_derive v1.0.137 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling tabled_derive v0.3.0 [INFO] [stderr] Checking tabled v0.7.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking time-macros v0.1.1 [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 serde v1.0.137 [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_json v1.0.81 [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/util/xml.rs:109:9 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/util/xml.rs:109:9 [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: 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: `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: `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] [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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / #[clap(long,help("Username to access Qualys. *Required"))] [INFO] [stdout] 17 | | user: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / #[clap(long,help("Password to access Qualys. *Required"))] [INFO] [stdout] 19 | | pass: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / #[clap(long,help("Search for scans with string in it's title"))] [INFO] [stdout] 21 | | client:Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | / ... #[clap(long,help("Search for scans based on the state\nValid values are:\n\t🕳️Running\n\t🕳️Pause\n\t🕳️Canceled\n\t🕳️Finished\n...️Erro [INFO] [stdout] 23 | | ... state:Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | / #[clap(long,help("Search for scans based on their process state true or false. "))] [INFO] [stdout] 25 | | processed:Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(long,help("Search for scans based on the type.\nValid values are:\n\t🕳️On-Demand\n\t🕳️Scheduled\n\t🕳️API"))] [INFO] [stdout] 27 | | scan_type:Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / #[clap(long,help("Username to access Qualys. *Required"))] [INFO] [stdout] 17 | | user: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | / #[clap(long,help("Search for scans based on the targets.\nEnter ranges using a hyphen, x.x.x.x - x.x.x.x"))] [INFO] [stdout] 29 | | target:Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | / #[clap(long,help("Search for scans after a date format (UTC/GMT), like “2007-07-01” or “2007-01-25T23:12:00Z”."))] [INFO] [stdout] 31 | | afterdate:Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | / #[clap(long,help("Search for scans before a date format (UTC/GMT), like “2007-07-01” or “2007-01-25T23:12:00Z”."))] [INFO] [stdout] 33 | | beforedate:Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / #[clap(short,long,help("Username to access Qualys. *Required"))] [INFO] [stdout] 39 | | user: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | / #[clap(short,long,help("Password to access Qualys. *Required"))] [INFO] [stdout] 41 | | pass: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / #[clap(short,long,help("Which action do you want to perform?\n\t🕳️List\n\t🕳️Add\n\t🕳️Update"))] [INFO] [stdout] 43 | | action: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / #[clap(short,long,help("Show only certain IP addresses/ranges. One or more IPs/ranges may be specified."))] [INFO] [stdout] 45 | | ips: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / #[clap(short,long,help("Show only IP addresses/ranges which have a certain tracking method. Valid values: IP, DNS, NETBIOS."))] [INFO] [stdout] 47 | | tracking_method: Option, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / #[clap(long,help("Password to access Qualys. *Required"))] [INFO] [stdout] 19 | | pass: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / #[clap(long,help("Search for scans with string in it's title"))] [INFO] [stdout] 21 | | client:Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | / ... #[clap(long,help("Search for scans based on the state\nValid values are:\n\t🕳️Running\n\t🕳️Pause\n\t🕳️Canceled\n\t🕳️Finished\n...️Erro [INFO] [stdout] 23 | | ... state:Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | / #[clap(long,help("Search for scans based on their process state true or false. "))] [INFO] [stdout] 25 | | processed:Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(long,help("Search for scans based on the type.\nValid values are:\n\t🕳️On-Demand\n\t🕳️Scheduled\n\t🕳️API"))] [INFO] [stdout] 27 | | scan_type:Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | / #[clap(long,help("Search for scans based on the targets.\nEnter ranges using a hyphen, x.x.x.x - x.x.x.x"))] [INFO] [stdout] 29 | | target:Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | / #[clap(long,help("Search for scans after a date format (UTC/GMT), like “2007-07-01” or “2007-01-25T23:12:00Z”."))] [INFO] [stdout] 31 | | afterdate:Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | / #[clap(long,help("Search for scans before a date format (UTC/GMT), like “2007-07-01” or “2007-01-25T23:12:00Z”."))] [INFO] [stdout] 33 | | beforedate:Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / #[clap(short,long,help("Username to access Qualys. *Required"))] [INFO] [stdout] 39 | | user: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | / #[clap(short,long,help("Password to access Qualys. *Required"))] [INFO] [stdout] 41 | | pass: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / #[clap(short,long,help("Which action do you want to perform?\n\t🕳️List\n\t🕳️Add\n\t🕳️Update"))] [INFO] [stdout] 43 | | action: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / #[clap(short,long,help("Show only certain IP addresses/ranges. One or more IPs/ranges may be specified."))] [INFO] [stdout] 45 | | ips: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / #[clap(short,long,help("Show only IP addresses/ranges which have a certain tracking method. Valid values: IP, DNS, NETBIOS."))] [INFO] [stdout] 47 | | tracking_method: Option, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qualys_api_comms` (bin "qualys_api_comms" test) due to 14 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `qualys_api_comms` (bin "qualys_api_comms") due to 14 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bbb087fd6ca924e1139975d01d8bdc4055146d7f40aa4c5be16e6b55914b957c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb087fd6ca924e1139975d01d8bdc4055146d7f40aa4c5be16e6b55914b957c", kill_on_drop: false }` [INFO] [stdout] bbb087fd6ca924e1139975d01d8bdc4055146d7f40aa4c5be16e6b55914b957c