[INFO] cloning repository https://github.com/Abhishek97M/spider [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abhishek97M/spider" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek97M%2Fspider", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek97M%2Fspider'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8596e0aecd16e37cbc69e5bfaf84b595bc18c293 [INFO] building Abhishek97M/spider against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek97M%2Fspider" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Abhishek97M/spider [INFO] finished tweaking git repo https://github.com/Abhishek97M/spider [INFO] tweaked toml for git repo https://github.com/Abhishek97M/spider written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Abhishek97M/spider on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Abhishek97M/spider 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17628a433446a6582c731c410109898086c531c3ee569ea353392f616626262f [INFO] running `Command { std: "docker" "start" "-a" "17628a433446a6582c731c410109898086c531c3ee569ea353392f616626262f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17628a433446a6582c731c410109898086c531c3ee569ea353392f616626262f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17628a433446a6582c731c410109898086c531c3ee569ea353392f616626262f", kill_on_drop: false }` [INFO] [stdout] 17628a433446a6582c731c410109898086c531c3ee569ea353392f616626262f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa12a1dd5361f54d476e04b422a461c5a7b2a852b22f8dee4e44d9c5c1fba2fc [INFO] running `Command { std: "docker" "start" "-a" "fa12a1dd5361f54d476e04b422a461c5a7b2a852b22f8dee4e44d9c5c1fba2fc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rusqlite v0.26.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling tokio-process v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.18.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling spider v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/routes/inventory_routes.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryParams` [INFO] [stdout] --> src/routes/inventory_routes.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::inventory::{InstallRequest, QueryParams}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::ws::{WebSocket, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | let (mut tx, mut rx) = ws.split(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut tx, mut rx) = ws.split(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/inventory.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .map_err(|e| warp::reject::custom(DbError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `install_K8_dependencies` should have a snake case name [INFO] [stdout] --> src/routes/inventory_routes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let install_K8_dependencies = warp::path!("kubernetes" / "install-dependencies") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `install_k8_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeType` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub NodeType: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::Filter` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::Filter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/routes/inventory_routes.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryParams` [INFO] [stdout] --> src/routes/inventory_routes.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::inventory::{InstallRequest, QueryParams}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::ws::{WebSocket, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | let connect = utils::db::init_connection().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut tx, mut rx) = ws.split(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | let (mut tx, mut rx) = ws.split(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/inventory.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .map_err(|e| warp::reject::custom(DbError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryParams` is never constructed [INFO] [stdout] --> src/models/inventory.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct QueryParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeType` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub NodeType: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `install_K8_dependencies` should have a snake case name [INFO] [stdout] --> src/routes/inventory_routes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let install_K8_dependencies = warp::path!("kubernetes" / "install-dependencies") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `install_k8_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "fa12a1dd5361f54d476e04b422a461c5a7b2a852b22f8dee4e44d9c5c1fba2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa12a1dd5361f54d476e04b422a461c5a7b2a852b22f8dee4e44d9c5c1fba2fc", kill_on_drop: false }` [INFO] [stdout] fa12a1dd5361f54d476e04b422a461c5a7b2a852b22f8dee4e44d9c5c1fba2fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1c538604de6c95b5d8ab8f306993e22777d782eeb753813b61d0255effbc0fa [INFO] running `Command { std: "docker" "start" "-a" "b1c538604de6c95b5d8ab8f306993e22777d782eeb753813b61d0255effbc0fa", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/routes/inventory_routes.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryParams` [INFO] [stdout] --> src/routes/inventory_routes.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::inventory::{InstallRequest, QueryParams}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::ws::{WebSocket, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spider v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | let (mut tx, mut rx) = ws.split(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut tx, mut rx) = ws.split(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/inventory.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .map_err(|e| warp::reject::custom(DbError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `install_K8_dependencies` should have a snake case name [INFO] [stdout] --> src/routes/inventory_routes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let install_K8_dependencies = warp::path!("kubernetes" / "install-dependencies") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `install_k8_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeType` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub NodeType: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/routes/inventory_routes.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryParams` [INFO] [stdout] --> src/routes/inventory_routes.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::inventory::{InstallRequest, QueryParams}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::ws::{WebSocket, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::Filter` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::Filter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/routes/inventory_routes.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryParams` [INFO] [stdout] --> src/routes/inventory_routes.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::inventory::{InstallRequest, QueryParams}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::ws::{WebSocket, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/routes/inventory_routes.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::protocol::Message` [INFO] [stdout] --> src/routes/inventory_routes.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use tokio_tungstenite::tungstenite::protocol::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | let connect = utils::db::init_connection().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut tx, mut rx) = ws.split(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | let (mut tx, mut rx) = ws.split(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/inventory.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .map_err(|e| warp::reject::custom(DbError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [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/routes/inventory_routes.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | let (mut tx, mut rx) = ws.split(); [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: variable does not need to be mutable [INFO] [stdout] --> src/routes/inventory_routes.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut tx, mut rx) = ws.split(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/inventory.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .map_err(|e| warp::reject::custom(DbError))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeType` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub NodeType: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `install_K8_dependencies` should have a snake case name [INFO] [stdout] --> src/routes/inventory_routes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let install_K8_dependencies = warp::path!("kubernetes" / "install-dependencies") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `install_k8_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeType` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub NodeType: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IP` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub IP: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Nodes` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub Nodes: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NodeName` should have a snake case name [INFO] [stdout] --> src/models/inventory.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub NodeName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `install_K8_dependencies` should have a snake case name [INFO] [stdout] --> src/routes/inventory_routes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let install_K8_dependencies = warp::path!("kubernetes" / "install-dependencies") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `install_k8_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryParams` is never constructed [INFO] [stdout] --> src/models/inventory.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct QueryParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "b1c538604de6c95b5d8ab8f306993e22777d782eeb753813b61d0255effbc0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c538604de6c95b5d8ab8f306993e22777d782eeb753813b61d0255effbc0fa", kill_on_drop: false }` [INFO] [stdout] b1c538604de6c95b5d8ab8f306993e22777d782eeb753813b61d0255effbc0fa