[INFO] cloning repository https://github.com/Abu-Sagidolla/ez_restapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abu-Sagidolla/ez_restapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbu-Sagidolla%2Fez_restapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbu-Sagidolla%2Fez_restapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c40a2c209566dbf97baee1a4d0ccc9b872c8aa7c [INFO] checking Abu-Sagidolla/ez_restapi against master#d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee for pr-127481-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbu-Sagidolla%2Fez_restapi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Abu-Sagidolla/ez_restapi on toolchain d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Abu-Sagidolla/ez_restapi [INFO] finished tweaking git repo https://github.com/Abu-Sagidolla/ez_restapi [INFO] tweaked toml for git repo https://github.com/Abu-Sagidolla/ez_restapi written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Abu-Sagidolla/ez_restapi 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" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-cli v0.7.4 [INFO] [stderr] Downloaded cargo-platform v0.1.7 [INFO] [stderr] Downloaded clap_complete v4.5.1 [INFO] [stderr] Downloaded uuid-macro-internal v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91f90e0e54ea5211fddb4e2765460e7447c3076ca5198d2b0a81f7e2b113cbd7 [INFO] running `Command { std: "docker" "start" "-a" "91f90e0e54ea5211fddb4e2765460e7447c3076ca5198d2b0a81f7e2b113cbd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91f90e0e54ea5211fddb4e2765460e7447c3076ca5198d2b0a81f7e2b113cbd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f90e0e54ea5211fddb4e2765460e7447c3076ca5198d2b0a81f7e2b113cbd7", kill_on_drop: false }` [INFO] [stdout] 91f90e0e54ea5211fddb4e2765460e7447c3076ca5198d2b0a81f7e2b113cbd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e5b5193677df708adccaefad91cc9b5b93cb5ceb8ac4875b54b41878100c83e [INFO] running `Command { std: "docker" "start" "-a" "9e5b5193677df708adccaefad91cc9b5b93cb5ceb8ac4875b54b41878100c83e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking num-bigint-dig v0.8.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Compiling uuid-macro-internal v1.7.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking clap_complete v4.5.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking camino v1.1.6 [INFO] [stderr] Checking cargo-platform v0.1.7 [INFO] [stderr] Checking rustix v0.38.31 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking promptly v0.3.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking sqlx-cli v0.7.4 [INFO] [stderr] Checking v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sqlx::Row` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::Row; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Service` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Cve` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::models::Cve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Report` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::Report; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, and `TimeZone` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{DateTime, NaiveDateTime, Utc,Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/crud.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query` [INFO] [stdout] --> src/crud.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::query; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/crud.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/crud.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::TimeZone` [INFO] [stdout] --> src/crud.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::TimeZone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate` and `Utc` [INFO] [stdout] --> src/models.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, Utc}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value as JsonValue` and `to_value` [INFO] [stdout] --> src/models.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{Value as JsonValue, to_value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> src/models.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Encode, TypeInfo,types}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Type` [INFO] [stdout] --> src/models.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::Type; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/models.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Local` [INFO] [stdout] --> src/models.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Port_Service` should have an upper camel case name [INFO] [stdout] --> src/models.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Port_Service { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PortService` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Responds_with_cookies` should have an upper camel case name [INFO] [stdout] --> src/models.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Responds_with_cookies { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RespondsWithCookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TSL_RESPONSE` should have an upper camel case name [INFO] [stdout] --> src/models.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct TSL_RESPONSE { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TslResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | let timed = Utc::now().naive_utc();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Row` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::Row; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Service` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Cve` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::models::Cve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Report` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::Report; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, and `TimeZone` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{DateTime, NaiveDateTime, Utc,Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/crud.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query` [INFO] [stdout] --> src/crud.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::query; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/crud.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/crud.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::TimeZone` [INFO] [stdout] --> src/crud.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::TimeZone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate` and `Utc` [INFO] [stdout] --> src/models.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, Utc}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value as JsonValue` and `to_value` [INFO] [stdout] --> src/models.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{Value as JsonValue, to_value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> src/models.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Encode, TypeInfo,types}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Type` [INFO] [stdout] --> src/models.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::Type; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/models.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Local` [INFO] [stdout] --> src/models.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Port_Service` should have an upper camel case name [INFO] [stdout] --> src/models.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Port_Service { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PortService` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Responds_with_cookies` should have an upper camel case name [INFO] [stdout] --> src/models.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Responds_with_cookies { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RespondsWithCookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TSL_RESPONSE` should have an upper camel case name [INFO] [stdout] --> src/models.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct TSL_RESPONSE { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TslResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | let timed = Utc::now().naive_utc();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Connection` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeInfo` [INFO] [stdout] --> src/models.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Encode, TypeInfo,types}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Connection` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeInfo` [INFO] [stdout] --> src/models.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Encode, TypeInfo,types}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_book` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let new_book = models::Report { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_book` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/crud.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn create(report:&Report,pool: &sqlx::PgPool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/crud.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn update(report:&Report,pool: &sqlx::PgPool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Port_Service` is never constructed [INFO] [stdout] --> src/models.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Port_Service { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostInjection` should have a snake case name [INFO] [stdout] --> src/models.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub hostInjection: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `host_injection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SQL_results` should have a snake case name [INFO] [stdout] --> src/models.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub SQL_results: Vec [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sql_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hostInjection` should have a snake case name [INFO] [stdout] --> src/models.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub hostInjection: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `host_injection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SQL_results` should have a snake case name [INFO] [stdout] --> src/models.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub SQL_results: Vec [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sql_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastModified` should have a snake case name [INFO] [stdout] --> src/models.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | lastModified: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastModified` should have a snake case name [INFO] [stdout] --> src/models.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | lastModified: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub baseSeverity: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub baseSeverity: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub cvssData: CvssDataV3, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub cvssData: CvssDataV3, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub cvssData: CvssDataV2, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub baseSeverity: String, //r#type: String, // "type" is a reserved keyword, so use a different name [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub cvssData: CvssDataV2, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub baseSeverity: String, //r#type: String, // "type" is a reserved keyword, so use a different name [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssMetricV31` should have a snake case name [INFO] [stdout] --> src/models.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | pub cvssMetricV31: Option>, // CVSS version 3 metrics [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v31` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssMetricV2` should have a snake case name [INFO] [stdout] --> src/models.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub cvssMetricV2: Option>, // CVSS version 2 metrics (optional) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssMetricV31` should have a snake case name [INFO] [stdout] --> src/models.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | pub cvssMetricV31: Option>, // CVSS version 3 metrics [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v31` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssMetricV2` should have a snake case name [INFO] [stdout] --> src/models.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub cvssMetricV2: Option>, // CVSS version 2 metrics (optional) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_book` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let new_book = models::Report { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_book` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/crud.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn create(report:&Report,pool: &sqlx::PgPool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/crud.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn update(report:&Report,pool: &sqlx::PgPool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Port_Service` is never constructed [INFO] [stdout] --> src/models.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Port_Service { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostInjection` should have a snake case name [INFO] [stdout] --> src/models.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub hostInjection: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `host_injection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SQL_results` should have a snake case name [INFO] [stdout] --> src/models.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub SQL_results: Vec [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sql_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hostInjection` should have a snake case name [INFO] [stdout] --> src/models.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub hostInjection: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `host_injection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SQL_results` should have a snake case name [INFO] [stdout] --> src/models.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub SQL_results: Vec [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sql_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastModified` should have a snake case name [INFO] [stdout] --> src/models.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | lastModified: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastModified` should have a snake case name [INFO] [stdout] --> src/models.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | lastModified: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub baseSeverity: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub baseSeverity: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseScore` should have a snake case name [INFO] [stdout] --> src/models.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub baseScore: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `base_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorString` should have a snake case name [INFO] [stdout] --> src/models.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub vectorString: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vector_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub cvssData: CvssDataV3, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub cvssData: CvssDataV3, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub cvssData: CvssDataV2, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub baseSeverity: String, //r#type: String, // "type" is a reserved keyword, so use a different name [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssData` should have a snake case name [INFO] [stdout] --> src/models.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub cvssData: CvssDataV2, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cvss_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exploitabilityScore` should have a snake case name [INFO] [stdout] --> src/models.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub exploitabilityScore: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `exploitability_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `impactScore` should have a snake case name [INFO] [stdout] --> src/models.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | pub impactScore: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `impact_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseSeverity` should have a snake case name [INFO] [stdout] --> src/models.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub baseSeverity: String, //r#type: String, // "type" is a reserved keyword, so use a different name [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `base_severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssMetricV31` should have a snake case name [INFO] [stdout] --> src/models.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | pub cvssMetricV31: Option>, // CVSS version 3 metrics [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v31` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cvssMetricV2` should have a snake case name [INFO] [stdout] --> src/models.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub cvssMetricV2: Option>, // CVSS version 2 metrics (optional) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssMetricV31` should have a snake case name [INFO] [stdout] --> src/models.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | pub cvssMetricV31: Option>, // CVSS version 3 metrics [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v31` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cvssMetricV2` should have a snake case name [INFO] [stdout] --> src/models.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub cvssMetricV2: Option>, // CVSS version 2 metrics (optional) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cvss_metric_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.95s [INFO] running `Command { std: "docker" "inspect" "9e5b5193677df708adccaefad91cc9b5b93cb5ceb8ac4875b54b41878100c83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5b5193677df708adccaefad91cc9b5b93cb5ceb8ac4875b54b41878100c83e", kill_on_drop: false }` [INFO] [stdout] 9e5b5193677df708adccaefad91cc9b5b93cb5ceb8ac4875b54b41878100c83e