[INFO] cloning repository https://github.com/FrewtyPebbles/Shared-Hoster
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrewtyPebbles/Shared-Hoster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrewtyPebbles%2FShared-Hoster", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrewtyPebbles%2FShared-Hoster'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ad71cb351cc3ca334c3f73a8223f1076f6bae13a
[INFO] checking FrewtyPebbles/Shared-Hoster/ad71cb351cc3ca334c3f73a8223f1076f6bae13a against 3d50c25bc66853bf0ad205529d0f305a1d841b5e for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrewtyPebbles%2FShared-Hoster" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/FrewtyPebbles/Shared-Hoster
[INFO] finished tweaking git repo https://github.com/FrewtyPebbles/Shared-Hoster
[INFO] tweaked toml for git repo https://github.com/FrewtyPebbles/Shared-Hoster written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/FrewtyPebbles/Shared-Hoster on toolchain 3d50c25bc66853bf0ad205529d0f305a1d841b5e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/FrewtyPebbles/Shared-Hoster 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" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-targets v0.48.2
[INFO] [stderr]   Downloaded rlua-async v0.5.0
[INFO] [stderr]   Downloaded form_urlencoded v1.2.0
[INFO] [stderr]   Downloaded sha256 v1.4.0
[INFO] [stderr]   Downloaded hermit-abi v0.3.3
[INFO] [stderr]   Downloaded itoa v1.0.9
[INFO] [stderr]   Downloaded futures-macro v0.3.28
[INFO] [stderr]   Downloaded tokio-macros v2.1.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.87
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.87
[INFO] [stderr]   Downloaded errno v0.3.5
[INFO] [stderr]   Downloaded ryu v1.0.15
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.4
[INFO] [stderr]   Downloaded futures-io v0.3.28
[INFO] [stderr]   Downloaded futures-task v0.3.28
[INFO] [stderr]   Downloaded futures-sink v0.3.28
[INFO] [stderr]   Downloaded percent-encoding v2.3.0
[INFO] [stderr]   Downloaded lock_api v0.4.10
[INFO] [stderr]   Downloaded futures-core v0.3.28
[INFO] [stderr]   Downloaded pin-project-lite v0.2.13
[INFO] [stderr]   Downloaded async-trait v0.1.73
[INFO] [stderr]   Downloaded parking_lot_core v0.9.8
[INFO] [stderr]   Downloaded fastrand v2.0.1
[INFO] [stderr]   Downloaded smallvec v1.11.0
[INFO] [stderr]   Downloaded typenum v1.17.0
[INFO] [stderr]   Downloaded pkg-config v0.3.27
[INFO] [stderr]   Downloaded futures-channel v0.3.28
[INFO] [stderr]   Downloaded futures-executor v0.3.28
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.87
[INFO] [stderr]   Downloaded security-framework-sys v2.9.1
[INFO] [stderr]   Downloaded ipnet v2.8.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.68
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.87
[INFO] [stderr]   Downloaded once_cell v1.18.0
[INFO] [stderr]   Downloaded tempfile v3.8.0
[INFO] [stderr]   Downloaded unicode-bidi v0.3.13
[INFO] [stderr]   Downloaded bitflags v2.4.1
[INFO] [stderr]   Downloaded schannel v0.1.22
[INFO] [stderr]   Downloaded socket2 v0.5.3
[INFO] [stderr]   Downloaded bytes v1.5.0
[INFO] [stderr]   Downloaded serde_derive v1.0.188
[INFO] [stderr]   Downloaded serde v1.0.188
[INFO] [stderr]   Downloaded futures v0.3.28
[INFO] [stderr]   Downloaded openssl-sys v0.9.93
[INFO] [stderr]   Downloaded js-sys v0.3.64
[INFO] [stderr]   Downloaded url v2.4.1
[INFO] [stderr]   Downloaded tracing v0.1.39
[INFO] [stderr]   Downloaded mio v0.8.8
[INFO] [stderr]   Downloaded security-framework v2.9.2
[INFO] [stderr]   Downloaded base64 v0.21.4
[INFO] [stderr]   Downloaded tokio-util v0.7.9
[INFO] [stderr]   Downloaded rlua v0.19.7
[INFO] [stderr]   Downloaded serde_json v1.0.107
[INFO] [stderr]   Downloaded reqwest v0.11.22
[INFO] [stderr]   Downloaded futures-util v0.3.28
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.87
[INFO] [stderr]   Downloaded h2 v0.3.21
[INFO] [stderr]   Downloaded hyper v0.14.27
[INFO] [stderr]   Downloaded syn v2.0.38
[INFO] [stderr]   Downloaded gimli v0.28.0
[INFO] [stderr]   Downloaded idna v0.4.0
[INFO] [stderr]   Downloaded openssl v0.10.57
[INFO] [stderr]   Downloaded object v0.32.1
[INFO] [stderr]   Downloaded bstr v0.2.17
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.48.2
[INFO] [stderr]   Downloaded rlua-lua54-sys v0.1.6
[INFO] [stderr]   Downloaded rustix v0.38.19
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.48.2
[INFO] [stderr]   Downloaded libc v0.2.149
[INFO] [stderr]   Downloaded web-sys v0.3.64
[INFO] [stderr]   Downloaded tokio v1.32.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.48.2
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.48.2
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.48.2
[INFO] [stderr]   Downloaded windows_i686_gnu v0.48.2
[INFO] [stderr]   Downloaded windows_i686_msvc v0.48.2
[INFO] [stderr]   Downloaded encoding_rs v0.8.33
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec
[INFO] running `Command { std: "docker" "start" "6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling proc-macro2 v1.0.68
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking tracing v0.1.39
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling rlua v0.19.7
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking cpufeatures v0.2.9
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking base64 v0.21.4
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking ipnet v2.8.0
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]     Checking socket2 v0.5.3
[INFO] [stderr]    Compiling rlua-lua54-sys v0.1.6
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking rlua-async v0.5.0
[INFO] [stderr]     Checking tokio-util v0.7.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking sha256 v1.4.0
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.22
[INFO] [stderr]     Checking SharedHoster v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/server/api/lua/tables.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, sync::{Arc, Mutex}};
[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: `reqwest::header::HeaderMap`
[INFO] [stdout]  --> src/server/api/lua/tables.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use reqwest::header::HeaderMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Table`, `ToLuaMulti`, and `ToLua`
[INFO] [stdout]  --> src/server/api/lua/tables.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rlua::{UserData, UserDataMethods, ToLua, ToLuaMulti, Table};
[INFO] [stdout]   |                                       ^^^^^  ^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/lua/tables.rs:93:46
[INFO] [stdout]    |
[INFO] [stdout] 93 |         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout]    |                                                    ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout] 93 +         methods.add_method("get_header", |_, this, key:(String)| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/lua/tables.rs:93:52
[INFO] [stdout]    |
[INFO] [stdout] 93 |         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout]    |                                                          ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout] 93 +         methods.add_method("get_header", |_, this, (key):String| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/lua/tables.rs:98:47
[INFO] [stdout]    |
[INFO] [stdout] 98 |         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout]    |                                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout] 98 +         methods.add_method_mut("set_url", |_, this, url:(String)| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/lua/tables.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 98 |         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout]    |                                                           ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout] 98 +         methods.add_method_mut("set_url", |_, this, (url):String| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:108:50
[INFO] [stdout]     |
[INFO] [stdout] 108 |         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout]     |                                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout] 108 +         methods.add_method_mut("set_method", |_, this, method:(String)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:108:59
[INFO] [stdout]     |
[INFO] [stdout] 108 |         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout]     |                                                                 ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout] 108 +         methods.add_method_mut("set_method", |_, this, (method):String| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:118:48
[INFO] [stdout]     |
[INFO] [stdout] 118 |         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout]     |                                                      ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout] 118 +         methods.add_method_mut("set_body", |_, this, body:(String)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:118:55
[INFO] [stdout]     |
[INFO] [stdout] 118 |         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout]     |                                                             ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout] 118 +         methods.add_method_mut("set_body", |_, this, (body):String| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:188:46
[INFO] [stdout]     |
[INFO] [stdout] 188 |         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout]     |                                                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout] 188 +         methods.add_method("to_table", |ctx, this, value:(String)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:188:54
[INFO] [stdout]     |
[INFO] [stdout] 188 |         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout]     |                                                            ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout] 188 +         methods.add_method("to_table", |ctx, this, (value):String| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:47
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                                     ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 192 -         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout] 192 +         methods.add_method("to_string", |ctx, this, value:(rlua::Value)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:55
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                                             ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 192 -         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout] 192 +         methods.add_method("to_string", |ctx, this, (value):rlua::Value| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Runtime`
[INFO] [stdout]  --> src/server/api/api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::runtime::Runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rlua_async::ChunkExt`
[INFO] [stdout]  --> src/server/api/procedure.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rlua_async::ChunkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/procedure.rs:77:60
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout]    |                                                                     ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout] 77 +             let set_response = lua_context.create_function(move |_, response:(String)|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/procedure.rs:77:71
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout]    |                                                                                ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout] 77 +             let set_response = lua_context.create_function(move |_, (response):String|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/procedure.rs:87:64
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout]    |                                                                         ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout] 87 +             let append_response = lua_context.create_function( move |_, response:(String)|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/procedure.rs:87:75
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout]    |                                                                                    ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout] 87 +             let append_response = lua_context.create_function( move |_, (response):String|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/server/response.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]  --> src/server/api/lua/tables.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, sync::{Arc, Mutex}};
[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: `reqwest::header::HeaderMap`
[INFO] [stdout]  --> src/server/api/lua/tables.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use reqwest::header::HeaderMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Table`, `ToLuaMulti`, and `ToLua`
[INFO] [stdout]  --> src/server/api/lua/tables.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rlua::{UserData, UserDataMethods, ToLua, ToLuaMulti, Table};
[INFO] [stdout]   |                                       ^^^^^  ^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/lua/tables.rs:93:46
[INFO] [stdout]    |
[INFO] [stdout] 93 |         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout]    |                                                    ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout] 93 +         methods.add_method("get_header", |_, this, key:(String)| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/lua/tables.rs:93:52
[INFO] [stdout]    |
[INFO] [stdout] 93 |         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout]    |                                                          ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         methods.add_method("get_header", |_, this, (key):(String)| {
[INFO] [stdout] 93 +         methods.add_method("get_header", |_, this, (key):String| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/lua/tables.rs:98:47
[INFO] [stdout]    |
[INFO] [stdout] 98 |         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout]    |                                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout] 98 +         methods.add_method_mut("set_url", |_, this, url:(String)| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/lua/tables.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 98 |         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout]    |                                                           ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         methods.add_method_mut("set_url", |_, this, (url):(String)| {
[INFO] [stdout] 98 +         methods.add_method_mut("set_url", |_, this, (url):String| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:108:50
[INFO] [stdout]     |
[INFO] [stdout] 108 |         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout]     |                                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout] 108 +         methods.add_method_mut("set_method", |_, this, method:(String)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:108:59
[INFO] [stdout]     |
[INFO] [stdout] 108 |         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout]     |                                                                 ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         methods.add_method_mut("set_method", |_, this, (method):(String)| {
[INFO] [stdout] 108 +         methods.add_method_mut("set_method", |_, this, (method):String| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:118:48
[INFO] [stdout]     |
[INFO] [stdout] 118 |         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout]     |                                                      ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout] 118 +         methods.add_method_mut("set_body", |_, this, body:(String)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:118:55
[INFO] [stdout]     |
[INFO] [stdout] 118 |         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout]     |                                                             ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -         methods.add_method_mut("set_body", |_, this, (body):(String)| {
[INFO] [stdout] 118 +         methods.add_method_mut("set_body", |_, this, (body):String| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:188:46
[INFO] [stdout]     |
[INFO] [stdout] 188 |         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout]     |                                                    ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout] 188 +         methods.add_method("to_table", |ctx, this, value:(String)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:188:54
[INFO] [stdout]     |
[INFO] [stdout] 188 |         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout]     |                                                            ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout] 188 +         methods.add_method("to_table", |ctx, this, (value):String| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:47
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                                     ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 192 -         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout] 192 +         methods.add_method("to_string", |ctx, this, value:(rlua::Value)| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:55
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                                             ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 192 -         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout] 192 +         methods.add_method("to_string", |ctx, this, (value):rlua::Value| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Runtime`
[INFO] [stdout]  --> src/server/api/api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::runtime::Runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rlua_async::ChunkExt`
[INFO] [stdout]  --> src/server/api/procedure.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rlua_async::ChunkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/procedure.rs:77:60
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout]    |                                                                     ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout] 77 +             let set_response = lua_context.create_function(move |_, response:(String)|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/procedure.rs:77:71
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout]    |                                                                                ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -             let set_response = lua_context.create_function(move |_, (response):(String)|{
[INFO] [stdout] 77 +             let set_response = lua_context.create_function(move |_, (response):String|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/server/api/procedure.rs:87:64
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout]    |                                                                         ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout] 87 +             let append_response = lua_context.create_function( move |_, response:(String)|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/server/api/procedure.rs:87:75
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout]    |                                                                                    ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -             let append_response = lua_context.create_function( move |_, (response):(String)|{
[INFO] [stdout] 87 +             let append_response = lua_context.create_function( move |_, (response):String|{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/server/response.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this`
[INFO] [stdout]   --> src/server/api/lua/tables.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 |         methods.add_method("json", |_, this, ()| {
[INFO] [stdout]    |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_this`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:36
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this`
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:41
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_this`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this`
[INFO] [stdout]    --> src/server/api/lua/tables.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout]     |                                              ^^^^ help: if this is intentional, prefix it with an underscore: `_this`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `proc`
[INFO] [stdout]   --> src/server/api/api.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Procedure::Dynamic(proc) => {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_proc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endpoint`
[INFO] [stdout]   --> src/server/api/api.rs:42:38
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn add_dynamic_procedure(&self, endpoint: String, procedure: serde_json::Value) {
[INFO] [stdout]    |                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `procedure`
[INFO] [stdout]   --> src/server/api/api.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn add_dynamic_procedure(&self, endpoint: String, procedure: serde_json::Value) {
[INFO] [stdout]    |                                                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_procedure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/server/server.rs:23:56
[INFO] [stdout]    |
[INFO] [stdout] 23 |         while server_identity_list.lock().await.iter().any(|(t, p, ter)| *p == port) {
[INFO] [stdout]    |                                                              ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ter`
[INFO] [stdout]   --> src/server/server.rs:23:62
[INFO] [stdout]    |
[INFO] [stdout] 23 |         while server_identity_list.lock().await.iter().any(|(t, p, ter)| *p == port) {
[INFO] [stdout]    |                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/server/server.rs:91:15
[INFO] [stdout]    |
[INFO] [stdout] 91 |     for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terminate`
[INFO] [stdout]   --> src/server/server.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 |     for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/server/server.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terminate`
[INFO] [stdout]   --> src/server/server.rs:71:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/request.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let mut header_iter = s.split_once(": ");
[INFO] [stdout]    |                 ----^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_key`
[INFO] [stdout]   --> src/server/request.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let header_key = "";
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_val`
[INFO] [stdout]   --> src/server/request.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let header_val = "";
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/manager/manager.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |         for (index, (token, port, terminate)) in self.server_identity_list.lock().await.iter().enumerate() {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/manager/manager.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 |         for (index, (token, port, terminate)) in self.server_identity_list.lock().await.iter().enumerate() {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/manager/manager.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |         for (index, (token, port, terminate)) in self.server_identity_list.lock().await.iter().enumerate() {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `url`, `headers`, `body`, and `status` are never read
[INFO] [stdout]   --> src/server/api/lua/tables.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct LuaRequest {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 14 |     pub method:String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 15 |     pub url:String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 16 |     pub headers:HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 17 |     pub body:String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |     pub status: u16
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]   --> src/server/api/api.rs:14:2
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct API {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 13 |     procedures:HashMap<String, Procedure>, // key: api route, value: procedure to run.
[INFO] [stdout] 14 |     token: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `API` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_dynamic_procedure` is never used
[INFO] [stdout]   --> src/server/api/api.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl API {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn add_dynamic_procedure(&self, endpoint: String, procedure: serde_json::Value) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Execute` and `Condition` are never constructed
[INFO] [stdout]   --> src/server/api/procedure.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ProcedureNode {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 13 |     Execute(Action),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     Condition(Condition)// condition, if true, else
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProcedureNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Equal`, `GreaterThan`, `LessThan`, `NotEqual`, `And`, and `Or` are never constructed
[INFO] [stdout]   --> src/server/api/procedure.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ConditionType {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 19 |     Equal(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     GreaterThan(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 21 |     LessThan(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     NotEqual(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     And(Vec<Condition>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 24 |     Or(Vec<Condition>)
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConditionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `statement_type`, `args`, `true_procedure`, and `false_procedure` are never read
[INFO] [stdout]   --> src/server/api/procedure.rs:29:2
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Condition {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 29 |     statement_type:ConditionType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     args:Vec<ConditionType>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 31 |     true_procedure:Vec<ProcedureNode>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     false_procedure:Vec<ProcedureNode>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Int`, `String`, `Float`, `Bool`, `List`, and `Map` are never constructed
[INFO] [stdout]   --> src/server/api/procedure.rs:37:2
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum ProcedureVarType {
[INFO] [stdout]    |          ---------------- variants in this enum
[INFO] [stdout] 37 |     Int(i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 38 |     String(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 39 |     Float(f64),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 40 |     Bool(bool),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 41 |     List(Vec<ProcedureVarType>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 42 |     Map(HashMap<ProcedureVarType, ProcedureVarType>)
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProcedureVarType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `actions` and `state` are never read
[INFO] [stdout]   --> src/server/api/procedure.rs:47:2
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct DynamicProcedure {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 47 |     actions: Vec<ProcedureNode>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 48 |     state: HashMap<String, ProcedureVarType>
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DynamicProcedure` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Dynamic` is never constructed
[INFO] [stdout]    --> src/server/api/procedure.rs:109:2
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub enum Procedure {
[INFO] [stdout]     |          --------- variant in this enum
[INFO] [stdout] 109 |     Dynamic(DynamicProcedure),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Procedure` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `stop` is never used
[INFO] [stdout]   --> src/server/server.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Server {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub async fn stop(&mut self) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_server_by_token` and `remove_server_by_port` are never used
[INFO] [stdout]   --> src/manager/manager.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Manager {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub async fn remove_server_by_token(&mut self, server_token:String) -> Result<(), &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn remove_server_by_port(&mut self, server_port:u32) -> Result<(), &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/utility/threadpool.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 55 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this`
[INFO] [stdout]   --> src/server/api/lua/tables.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 |         methods.add_method("json", |_, this, ()| {
[INFO] [stdout]    |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_this`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:36
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this`
[INFO] [stdout]    --> src/server/api/lua/tables.rs:192:41
[INFO] [stdout]     |
[INFO] [stdout] 192 |         methods.add_method("to_string", |ctx, this, (value):(rlua::Value)| {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_this`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this`
[INFO] [stdout]    --> src/server/api/lua/tables.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         methods.add_method("to_table", |ctx, this, (value):(String)| {
[INFO] [stdout]     |                                              ^^^^ help: if this is intentional, prefix it with an underscore: `_this`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `proc`
[INFO] [stdout]   --> src/server/api/api.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Procedure::Dynamic(proc) => {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_proc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endpoint`
[INFO] [stdout]   --> src/server/api/api.rs:42:38
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn add_dynamic_procedure(&self, endpoint: String, procedure: serde_json::Value) {
[INFO] [stdout]    |                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `procedure`
[INFO] [stdout]   --> src/server/api/api.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn add_dynamic_procedure(&self, endpoint: String, procedure: serde_json::Value) {
[INFO] [stdout]    |                                                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_procedure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/server/server.rs:23:56
[INFO] [stdout]    |
[INFO] [stdout] 23 |         while server_identity_list.lock().await.iter().any(|(t, p, ter)| *p == port) {
[INFO] [stdout]    |                                                              ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ter`
[INFO] [stdout]   --> src/server/server.rs:23:62
[INFO] [stdout]    |
[INFO] [stdout] 23 |         while server_identity_list.lock().await.iter().any(|(t, p, ter)| *p == port) {
[INFO] [stdout]    |                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/server/server.rs:91:15
[INFO] [stdout]    |
[INFO] [stdout] 91 |     for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terminate`
[INFO] [stdout]   --> src/server/server.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 |     for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/server/server.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terminate`
[INFO] [stdout]   --> src/server/server.rs:71:29
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for (index, (token, port, terminate)) in current_list.iter().enumerate() {
[INFO] [stdout]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/request.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let mut header_iter = s.split_once(": ");
[INFO] [stdout]    |                 ----^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_key`
[INFO] [stdout]   --> src/server/request.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let header_key = "";
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_val`
[INFO] [stdout]   --> src/server/request.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let header_val = "";
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/manager/manager.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |         for (index, (token, port, terminate)) in self.server_identity_list.lock().await.iter().enumerate() {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/manager/manager.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 |         for (index, (token, port, terminate)) in self.server_identity_list.lock().await.iter().enumerate() {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/manager/manager.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |         for (index, (token, port, terminate)) in self.server_identity_list.lock().await.iter().enumerate() {
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `url`, `headers`, `body`, and `status` are never read
[INFO] [stdout]   --> src/server/api/lua/tables.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct LuaRequest {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 14 |     pub method:String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 15 |     pub url:String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 16 |     pub headers:HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 17 |     pub body:String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |     pub status: u16
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]   --> src/server/api/api.rs:14:2
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct API {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 13 |     procedures:HashMap<String, Procedure>, // key: api route, value: procedure to run.
[INFO] [stdout] 14 |     token: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `API` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_dynamic_procedure` is never used
[INFO] [stdout]   --> src/server/api/api.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl API {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn add_dynamic_procedure(&self, endpoint: String, procedure: serde_json::Value) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Execute` and `Condition` are never constructed
[INFO] [stdout]   --> src/server/api/procedure.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ProcedureNode {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 13 |     Execute(Action),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     Condition(Condition)// condition, if true, else
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProcedureNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Equal`, `GreaterThan`, `LessThan`, `NotEqual`, `And`, and `Or` are never constructed
[INFO] [stdout]   --> src/server/api/procedure.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ConditionType {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 19 |     Equal(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     GreaterThan(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 21 |     LessThan(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     NotEqual(ProcedureVarType, ProcedureVarType),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     And(Vec<Condition>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 24 |     Or(Vec<Condition>)
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConditionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `statement_type`, `args`, `true_procedure`, and `false_procedure` are never read
[INFO] [stdout]   --> src/server/api/procedure.rs:29:2
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Condition {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 29 |     statement_type:ConditionType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     args:Vec<ConditionType>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 31 |     true_procedure:Vec<ProcedureNode>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     false_procedure:Vec<ProcedureNode>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Condition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Int`, `String`, `Float`, `Bool`, `List`, and `Map` are never constructed
[INFO] [stdout]   --> src/server/api/procedure.rs:37:2
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum ProcedureVarType {
[INFO] [stdout]    |          ---------------- variants in this enum
[INFO] [stdout] 37 |     Int(i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 38 |     String(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 39 |     Float(f64),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 40 |     Bool(bool),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 41 |     List(Vec<ProcedureVarType>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 42 |     Map(HashMap<ProcedureVarType, ProcedureVarType>)
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProcedureVarType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `actions` and `state` are never read
[INFO] [stdout]   --> src/server/api/procedure.rs:47:2
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct DynamicProcedure {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 47 |     actions: Vec<ProcedureNode>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 48 |     state: HashMap<String, ProcedureVarType>
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DynamicProcedure` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Dynamic` is never constructed
[INFO] [stdout]    --> src/server/api/procedure.rs:109:2
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub enum Procedure {
[INFO] [stdout]     |          --------- variant in this enum
[INFO] [stdout] 109 |     Dynamic(DynamicProcedure),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Procedure` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `stop` is never used
[INFO] [stdout]   --> src/server/server.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Server {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub async fn stop(&mut self) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_server_by_token` and `remove_server_by_port` are never used
[INFO] [stdout]   --> src/manager/manager.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Manager {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub async fn remove_server_by_token(&mut self, server_token:String) -> Result<(), &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn remove_server_by_port(&mut self, server_port:u32) -> Result<(), &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/utility/threadpool.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 55 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.34s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rlua v0.19.7
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec", kill_on_drop: false }`
[INFO] [stdout] 6a722bdd6afb0393ba1832b874073741b3da0aab2355cf57e4a8f2dfcdd25bec
