[INFO] cloning repository https://github.com/mogawo/AgriSensei-Web-application
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mogawo/AgriSensei-Web-application" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmogawo%2FAgriSensei-Web-application", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmogawo%2FAgriSensei-Web-application'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9bffb1b5628a075c0a96b6770684d903ab493596
[INFO] checking mogawo/AgriSensei-Web-application against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmogawo%2FAgriSensei-Web-application" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mogawo/AgriSensei-Web-application
[INFO] finished tweaking git repo https://github.com/mogawo/AgriSensei-Web-application
[INFO] tweaked toml for git repo https://github.com/mogawo/AgriSensei-Web-application written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mogawo/AgriSensei-Web-application on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mogawo/AgriSensei-Web-application 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ahash v0.8.6
[INFO] [stderr]   Downloaded ryu v1.0.16
[INFO] [stderr]   Downloaded serde_json v1.0.113
[INFO] [stderr]   Downloaded pkg-config v0.3.27
[INFO] [stderr]   Downloaded bitflags v2.4.1
[INFO] [stderr]   Downloaded http v1.0.0
[INFO] [stderr]   Downloaded zerocopy v0.7.26
[INFO] [stderr]   Downloaded rusqlite v0.30.0
[INFO] [stderr]   Downloaded chrono v0.4.34
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.26
[INFO] [stderr]   Downloaded regex-automata v0.4.5
[INFO] [stderr]   Downloaded libc v0.2.152
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1e09f96e716aae3a04450f2dc6e52b9daab59ceaf818dc84ccb92ad7174038c
[INFO] running `Command { std: "docker" "start" "-a" "b1e09f96e716aae3a04450f2dc6e52b9daab59ceaf818dc84ccb92ad7174038c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1e09f96e716aae3a04450f2dc6e52b9daab59ceaf818dc84ccb92ad7174038c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1e09f96e716aae3a04450f2dc6e52b9daab59ceaf818dc84ccb92ad7174038c", kill_on_drop: false }`
[INFO] [stdout] b1e09f96e716aae3a04450f2dc6e52b9daab59ceaf818dc84ccb92ad7174038c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec0cb3b96c069bf5400288f87f454b48c74ae6e3a66864a9e2c5b4247ee65d23
[INFO] running `Command { std: "docker" "start" "-a" "ec0cb3b96c069bf5400288f87f454b48c74ae6e3a66864a9e2c5b4247ee65d23", kill_on_drop: false }`
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking zerocopy v0.7.26
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking fdeflate v0.3.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking chrono v0.4.34
[INFO] [stderr]     Checking rayon v1.8.0
[INFO] [stderr]     Checking exr v1.71.0
[INFO] [stderr]     Checking num-rational v0.4.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking tiff v0.9.0
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking image v0.24.7
[INFO] [stderr]     Checking rusqlite v0.30.0
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `message::Message`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use message::Message;
[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: `crate::components::*`
[INFO] [stdout]  --> src/rest/post.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::components::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::response`
[INFO] [stdout]  --> src/rest/post.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]  --> src/rest/post.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result as JSONResult`
[INFO] [stdout]  --> src/rest/post.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use serde_json::{Result as JSONResult, Value};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Error as HTTPError`
[INFO] [stdout]  --> src/rest/post.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use http::Error as HTTPError;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::server_error::ServerError::*`
[INFO] [stdout]  --> src/rest/post.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use crate::server_error::ServerError::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/database.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/database.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::OpenOptions`
[INFO] [stdout]  --> src/database.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::OpenOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::ErrorKind::NotFound`
[INFO] [stdout]  --> src/database.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use std::io::ErrorKind::NotFound;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `named_params`
[INFO] [stdout]   --> src/database.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use rusqlite::{named_params, params, Connection};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::components`
[INFO] [stdout]   --> src/database.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | use crate::components;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]  --> src/components.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::panic;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/components.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rusqlite::{ToSql, params, Row};
[INFO] [stdout]   |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `message::Message`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use message::Message;
[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: `crate::components::*`
[INFO] [stdout]  --> src/rest/post.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::components::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::response`
[INFO] [stdout]  --> src/rest/post.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]  --> src/rest/post.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result as JSONResult`
[INFO] [stdout]  --> src/rest/post.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use serde_json::{Result as JSONResult, Value};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Error as HTTPError`
[INFO] [stdout]  --> src/rest/post.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use http::Error as HTTPError;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::server_error::ServerError::*`
[INFO] [stdout]  --> src/rest/post.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use crate::server_error::ServerError::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/database.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/database.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::OpenOptions`
[INFO] [stdout]  --> src/database.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::OpenOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::ErrorKind::NotFound`
[INFO] [stdout]  --> src/database.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use std::io::ErrorKind::NotFound;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `named_params`
[INFO] [stdout]   --> src/database.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use rusqlite::{named_params, params, Connection};
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::components`
[INFO] [stdout]   --> src/database.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | use crate::components;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]  --> src/components.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::panic;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/components.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rusqlite::{ToSql, params, Row};
[INFO] [stdout]   |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/rest/post.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 let user_id = maybe_num.parse::<u64>();
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/rest/post.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let name = 
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/database.rs:151:21
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 Err(err) => panic!("[New User] Bad SQL Insert in Database.rs")
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/database.rs:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |             Err(e)  => panic!("[New Sensor] Bad SQL Insert")
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/rest/post.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 let user_id = maybe_num.parse::<u64>();
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/rest/post.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let name = 
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/database.rs:151:21
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 Err(err) => panic!("[New User] Bad SQL Insert in Database.rs")
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meth`
[INFO] [stdout]   --> src/handler.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |         meth => GetMessage::error_response(MessageError("=> ResponseError: Unhandled method request"))
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_meth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/database.rs:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |             Err(e)  => panic!("[New Sensor] Bad SQL Insert")
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sensor_filter`
[INFO] [stdout]   --> src/components.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn pull_user(user_id: u64, sensor_filter: Option<&[u64]>) -> Option<Self>{
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name_numerate`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let name_numerate:&mut  Vec<(u64, &str)> = &mut Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_numerate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meth`
[INFO] [stdout]   --> src/handler.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |         meth => GetMessage::error_response(MessageError("=> ResponseError: Unhandled method request"))
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_meth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sensor_filter`
[INFO] [stdout]   --> src/components.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn pull_user(user_id: u64, sensor_filter: Option<&[u64]>) -> Option<Self>{
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HOST_ADDRESS` is never used
[INFO] [stdout]   --> src/main.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const HOST_ADDRESS: &str = "127.0.0.1:7878";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEST_NAMES` is never used
[INFO] [stdout]   --> src/main.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const TEST_NAMES: [&str; 20] = ["Yareli", "Sophie", "Winston", "Norman", 
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `database_testing` is never used
[INFO] [stdout]   --> src/main.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn database_testing(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn run(){
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/thread_pool.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ThreadPool
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/thread_pool.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type Job = Box<dyn FnOnce() + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/thread_pool.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ThreadPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(size: usize) -> ThreadPool 
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn execute<F>(&self, f: F) 
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Worker` is never constructed
[INFO] [stdout]   --> src/thread_pool.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Worker
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/thread_pool.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Worker
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 48 | {
[INFO] [stdout] 49 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Job>>>) -> Worker{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GetMessage` is never constructed
[INFO] [stdout]  --> src/rest/get.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct GetMessage{}
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostMessage` is never constructed
[INFO] [stdout]   --> src/rest/post.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct PostMessage{}
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Patterns` is never constructed
[INFO] [stdout]   --> src/rest/post.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Patterns{}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `USER_OPTIONS` is never used
[INFO] [stdout]   --> src/rest/post.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Patterns{
[INFO] [stdout]    | ------------- associated constant in this implementation
[INFO] [stdout] 23 |     const USER_OPTIONS: &'static str = r"\/user\/(?<userOptions>new|\d+)";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_user` is never used
[INFO] [stdout]   --> src/rest/post.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl PostMessage{
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 63 |     fn new_user(json_data: Value) -> ResultResponse<'static, Vec<u8>>{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/database.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type Result<T> = std::result::Result<T, DBError>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DBError` is never used
[INFO] [stdout]   --> src/database.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum DBError{
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `USER_NAME`, `SENSOR_TYPE`, `DATE_TIME`, `SAMPLE_FREQUENCY`, `SAMPLE_DURATION`, and `SAMPLE_AMOUNT` are never used
[INFO] [stdout]   --> src/database.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl TableColumnNames{
[INFO] [stdout]    | --------------------- associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub const USER_NAME: &'static str = r"userName";
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub const SENSOR_TYPE: &'static str = r"sensorType";
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub const DATE_TIME: &'static str = r"dateTime";
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 65 |     pub const SAMPLE_FREQUENCY: &'static str = r"sampleFrequency";
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     pub const SAMPLE_DURATION: &'static str = r"sampleDuration";
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 67 |     pub const SAMPLE_AMOUNT: &'static str = r"sampleAmount";
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `new_user`, `new_sensor`, and `add_packet` are never used
[INFO] [stdout]    --> src/database.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl<'d> Database{
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn new(){
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn new_user(name: &str) -> Option<u64>{
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn new_sensor(sensor_type: SensorType, user_id: u64) -> Option<u64>{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn add_packet(packets: DataPacket){
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ASSEMBLE_VEC_CAPACITY` is never used
[INFO] [stdout]   --> src/handler.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ASSEMBLE_VEC_CAPACITY: usize = 1 << 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_connection` is never used
[INFO] [stdout]   --> src/handler.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn handle_connection(mut stream: TcpStream) -> Result<(), ServerError<'static>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Assemble` is never used
[INFO] [stdout]   --> src/handler.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub trait Assemble{
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_response` is never used
[INFO] [stdout]   --> src/handler.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn handle_response(req: http::Request<String>) -> Result<http::Response<Vec<u8>>, ServerError<'static>>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `username`, and `sensors` are never read
[INFO] [stdout]   --> src/components.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct UserProfile{
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub user_id: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub sensors: Option<Vec<Sensor>>
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `sensor_type`, and `packets` are never read
[INFO] [stdout]   --> src/components.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Sensor{ 
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 49 |     pub sensor_id  : u64,
[INFO] [stdout] 50 |     pub user_id    : u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 51 |     pub sensor_type: SensorType,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 52 |     pub packets    : Vec<DataPacket>
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date_time`, `frequency`, `duration`, `amount`, and `sensor_id` are never read
[INFO] [stdout]   --> src/components.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct DataPacket{
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 92 |     pub date_time : DateTime<Local>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 93 |     pub frequency: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 94 |     pub duration : u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 95 |     pub amount   : u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 96 |     pub sensor_id : u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name_numerate`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let name_numerate:&mut  Vec<(u64, &str)> = &mut Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_numerate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HOST_ADDRESS` is never used
[INFO] [stdout]   --> src/main.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const HOST_ADDRESS: &str = "127.0.0.1:7878";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEST_NAMES` is never used
[INFO] [stdout]   --> src/main.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const TEST_NAMES: [&str; 20] = ["Yareli", "Sophie", "Winston", "Norman", 
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `database_testing` is never used
[INFO] [stdout]   --> src/main.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn database_testing(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn run(){
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/thread_pool.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ThreadPool
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/thread_pool.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type Job = Box<dyn FnOnce() + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/thread_pool.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ThreadPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(size: usize) -> ThreadPool 
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn execute<F>(&self, f: F) 
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Worker` is never constructed
[INFO] [stdout]   --> src/thread_pool.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Worker
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/thread_pool.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Worker
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 48 | {
[INFO] [stdout] 49 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Job>>>) -> Worker{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GetMessage` is never constructed
[INFO] [stdout]  --> src/rest/get.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct GetMessage{}
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostMessage` is never constructed
[INFO] [stdout]   --> src/rest/post.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct PostMessage{}
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Patterns` is never constructed
[INFO] [stdout]   --> src/rest/post.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Patterns{}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `USER_OPTIONS` is never used
[INFO] [stdout]   --> src/rest/post.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Patterns{
[INFO] [stdout]    | ------------- associated constant in this implementation
[INFO] [stdout] 23 |     const USER_OPTIONS: &'static str = r"\/user\/(?<userOptions>new|\d+)";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_user` is never used
[INFO] [stdout]   --> src/rest/post.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl PostMessage{
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 63 |     fn new_user(json_data: Value) -> ResultResponse<'static, Vec<u8>>{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |         pool.execute(|| {handle_connection(stream);});
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 72 |         pool.execute(|| {let _ = handle_connection(stream);});
[INFO] [stdout]    |                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/database.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type Result<T> = std::result::Result<T, DBError>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DBError` is never used
[INFO] [stdout]   --> src/database.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum DBError{
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `USER_NAME`, `SENSOR_TYPE`, `DATE_TIME`, `SAMPLE_FREQUENCY`, `SAMPLE_DURATION`, and `SAMPLE_AMOUNT` are never used
[INFO] [stdout]   --> src/database.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl TableColumnNames{
[INFO] [stdout]    | --------------------- associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub const USER_NAME: &'static str = r"userName";
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub const SENSOR_TYPE: &'static str = r"sensorType";
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub const DATE_TIME: &'static str = r"dateTime";
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 65 |     pub const SAMPLE_FREQUENCY: &'static str = r"sampleFrequency";
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     pub const SAMPLE_DURATION: &'static str = r"sampleDuration";
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 67 |     pub const SAMPLE_AMOUNT: &'static str = r"sampleAmount";
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `new_user`, `new_sensor`, and `add_packet` are never used
[INFO] [stdout]    --> src/database.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl<'d> Database{
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn new(){
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn new_user(name: &str) -> Option<u64>{
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn new_sensor(sensor_type: SensorType, user_id: u64) -> Option<u64>{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn add_packet(packets: DataPacket){
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ASSEMBLE_VEC_CAPACITY` is never used
[INFO] [stdout]   --> src/handler.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ASSEMBLE_VEC_CAPACITY: usize = 1 << 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_connection` is never used
[INFO] [stdout]   --> src/handler.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn handle_connection(mut stream: TcpStream) -> Result<(), ServerError<'static>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Assemble` is never used
[INFO] [stdout]   --> src/handler.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub trait Assemble{
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_response` is never used
[INFO] [stdout]   --> src/handler.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn handle_response(req: http::Request<String>) -> Result<http::Response<Vec<u8>>, ServerError<'static>>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `username`, and `sensors` are never read
[INFO] [stdout]   --> src/components.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct UserProfile{
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub user_id: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub sensors: Option<Vec<Sensor>>
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `sensor_type`, and `packets` are never read
[INFO] [stdout]   --> src/components.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Sensor{ 
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 49 |     pub sensor_id  : u64,
[INFO] [stdout] 50 |     pub user_id    : u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 51 |     pub sensor_type: SensorType,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 52 |     pub packets    : Vec<DataPacket>
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date_time`, `frequency`, `duration`, `amount`, and `sensor_id` are never read
[INFO] [stdout]   --> src/components.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct DataPacket{
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 92 |     pub date_time : DateTime<Local>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 93 |     pub frequency: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 94 |     pub duration : u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 95 |     pub amount   : u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 96 |     pub sensor_id : u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/thread_pool.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         self.sender.as_ref().unwrap().send(job); //TODO Handle std::sync::mpsc::SendError
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let _ = self.sender.as_ref().unwrap().send(job); //TODO Handle std::sync::mpsc::SendError
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/message.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn response(file_path: &str) -> ResultResponse<Vec<u8>>;
[INFO] [stdout]    |                            ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn response(file_path: &str) -> ResultResponse<'_, Vec<u8>>;
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rest/get.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn response(file_path: &str) -> ResultResponse<Vec<u8>>
[INFO] [stdout]    |                            ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn response(file_path: &str) -> ResultResponse<'_, Vec<u8>>
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rest/post.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn response(file_path: &str) -> ResultResponse<Vec<u8>> {
[INFO] [stdout]    |                            ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn response(file_path: &str) -> ResultResponse<'_, Vec<u8>> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |         pool.execute(|| {handle_connection(stream);});
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 72 |         pool.execute(|| {let _ = handle_connection(stream);});
[INFO] [stdout]    |                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/thread_pool.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         self.sender.as_ref().unwrap().send(job); //TODO Handle std::sync::mpsc::SendError
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let _ = self.sender.as_ref().unwrap().send(job); //TODO Handle std::sync::mpsc::SendError
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/message.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn response(file_path: &str) -> ResultResponse<Vec<u8>>;
[INFO] [stdout]    |                            ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn response(file_path: &str) -> ResultResponse<'_, Vec<u8>>;
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rest/get.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn response(file_path: &str) -> ResultResponse<Vec<u8>>
[INFO] [stdout]    |                            ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn response(file_path: &str) -> ResultResponse<'_, Vec<u8>>
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rest/post.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn response(file_path: &str) -> ResultResponse<Vec<u8>> {
[INFO] [stdout]    |                            ^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn response(file_path: &str) -> ResultResponse<'_, Vec<u8>> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.48s
[INFO] running `Command { std: "docker" "inspect" "ec0cb3b96c069bf5400288f87f454b48c74ae6e3a66864a9e2c5b4247ee65d23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec0cb3b96c069bf5400288f87f454b48c74ae6e3a66864a9e2c5b4247ee65d23", kill_on_drop: false }`
[INFO] [stdout] ec0cb3b96c069bf5400288f87f454b48c74ae6e3a66864a9e2c5b4247ee65d23
