[INFO] cloning repository https://github.com/shonen787/Qualys_Parser [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_Parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2FQualys_Parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2FQualys_Parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bb40a1176ce52cdf766706f6499a7b7e23c6c93 [INFO] checking shonen787/Qualys_Parser against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshonen787%2FQualys_Parser" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shonen787/Qualys_Parser 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_Parser [INFO] finished tweaking git repo https://github.com/shonen787/Qualys_Parser [INFO] tweaked toml for git repo https://github.com/shonen787/Qualys_Parser written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shonen787/Qualys_Parser 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 odbc-safe v0.5.0 [INFO] [stderr] Downloaded get-size v0.1.1 [INFO] [stderr] Downloaded odbc v0.17.0 [INFO] [stderr] Downloaded quickxml_to_serde v0.5.0 [INFO] [stderr] Downloaded get-size-derive v0.1.1 [INFO] [stderr] Downloaded odbc-sys v0.8.2 [INFO] [stderr] Downloaded sprintf v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bc020d363fadad9a791b077652fea2d4bd51bb11eb2ceddf534623494fb3b40b [INFO] running `Command { std: "docker" "start" "-a" "bc020d363fadad9a791b077652fea2d4bd51bb11eb2ceddf534623494fb3b40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc020d363fadad9a791b077652fea2d4bd51bb11eb2ceddf534623494fb3b40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc020d363fadad9a791b077652fea2d4bd51bb11eb2ceddf534623494fb3b40b", kill_on_drop: false }` [INFO] [stdout] bc020d363fadad9a791b077652fea2d4bd51bb11eb2ceddf534623494fb3b40b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 04a4e612fcd6b28d534bf8246d22c84b3107ec16c7d7eaabe1e12b3537300abd [INFO] running `Command { std: "docker" "start" "-a" "04a4e612fcd6b28d534bf8246d22c84b3107ec16c7d7eaabe1e12b3537300abd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling odbc-sys v0.8.2 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking sprintf v0.1.2 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking quick-xml v0.17.2 [INFO] [stderr] Checking minidom v0.12.0 [INFO] [stderr] Checking odbc-safe v0.5.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking odbc v0.17.0 [INFO] [stderr] Compiling get-size-derive v0.1.1 [INFO] [stderr] Checking get-size v0.1.1 [INFO] [stderr] Checking quickxml_to_serde v0.5.0 [INFO] [stderr] Checking qualys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EventWriter` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use xml::{EventReader, EventWriter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:318:16 [INFO] [stdout] | [INFO] [stdout] 318 | if (&item.VulnerabilityName[n].to_string() != "Open TCP Services List" || [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 321 | &item.VulnerabilityName[n].to_string() !="DNS Host Name") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 318 ~ if &item.VulnerabilityName[n].to_string() != "Open TCP Services List" || [INFO] [stdout] 319 | &item.VulnerabilityName[n].to_string() !="Open UDP Services List"|| [INFO] [stdout] 320 | &item.VulnerabilityName[n].to_string() !="Traceroute" || [INFO] [stdout] 321 ~ &item.VulnerabilityName[n].to_string() !="DNS Host Name" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventWriter` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use xml::{EventReader, EventWriter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:318:16 [INFO] [stdout] | [INFO] [stdout] 318 | if (&item.VulnerabilityName[n].to_string() != "Open TCP Services List" || [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 321 | &item.VulnerabilityName[n].to_string() !="DNS Host Name") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 318 ~ if &item.VulnerabilityName[n].to_string() != "Open TCP Services List" || [INFO] [stdout] 319 | &item.VulnerabilityName[n].to_string() !="Open UDP Services List"|| [INFO] [stdout] 320 | &item.VulnerabilityName[n].to_string() !="Traceroute" || [INFO] [stdout] 321 ~ &item.VulnerabilityName[n].to_string() !="DNS Host Name" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead,BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | let mut buffer = String::from("DRIVER={MICROSOFT ACCESS DRIVER (*.mdb, *.accdb)}; [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 `query` is never read [INFO] [stdout] --> src/main.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let mut query = String::from(""); [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 `query` is never read [INFO] [stdout] --> src/main.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | let mut query = String::from(""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead,BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VulnerabilityName` should have a snake case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | VulnerabilityName: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vulnerability_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IpAddress` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | IpAddress: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HostName` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | HostName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `host_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Category` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Category: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SecurityLevel` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SecurityLevel: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `security_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Explanation` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Explanation: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `explanation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Solution` should have a snake case name [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Solution: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IndustryReference` should have a snake case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | IndustryReference: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `industry_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Result` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Result: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ports` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Ports: Ports, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IpAddress` should have a snake case name [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | IpAddress: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Type: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 34 | r#type: Vec, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Port` should have a snake case name [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Port: Vec, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Description` should have a snake case name [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Description: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | let mut buffer = String::from("DRIVER={MICROSOFT ACCESS DRIVER (*.mdb, *.accdb)}; [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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | stmt.exec_direct(&query.to_string()); [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] 336 | let _ = stmt.exec_direct(&query.to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | stmt.exec_direct(&query.to_string()); [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] 365 | let _ = stmt.exec_direct(&query.to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:441:4 [INFO] [stdout] | [INFO] [stdout] 441 | connect(vulnvec); [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] 441 | let _ = connect(vulnvec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `query` is never read [INFO] [stdout] --> src/main.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let mut query = String::from(""); [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 `query` is never read [INFO] [stdout] --> src/main.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | let mut query = String::from(""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VulnerabilityName` should have a snake case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | VulnerabilityName: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vulnerability_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IpAddress` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | IpAddress: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HostName` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | HostName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `host_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Category` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Category: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SecurityLevel` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SecurityLevel: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `security_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Explanation` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Explanation: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `explanation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Solution` should have a snake case name [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Solution: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IndustryReference` should have a snake case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | IndustryReference: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `industry_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Result` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Result: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ports` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Ports: Ports, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IpAddress` should have a snake case name [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | IpAddress: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ip_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Type: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 34 | r#type: Vec, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Port` should have a snake case name [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Port: Vec, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Description` should have a snake case name [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Description: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | stmt.exec_direct(&query.to_string()); [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] 336 | let _ = stmt.exec_direct(&query.to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | stmt.exec_direct(&query.to_string()); [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] 365 | let _ = stmt.exec_direct(&query.to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:441:4 [INFO] [stdout] | [INFO] [stdout] 441 | connect(vulnvec); [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] 441 | let _ = connect(vulnvec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.17.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "04a4e612fcd6b28d534bf8246d22c84b3107ec16c7d7eaabe1e12b3537300abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a4e612fcd6b28d534bf8246d22c84b3107ec16c7d7eaabe1e12b3537300abd", kill_on_drop: false }` [INFO] [stdout] 04a4e612fcd6b28d534bf8246d22c84b3107ec16c7d7eaabe1e12b3537300abd