[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 master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrewtyPebbles%2FShared-Hoster" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrewtyPebbles/Shared-Hoster on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlua-async v0.5.0 [INFO] [stderr] Downloaded rlua v0.19.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dbb95660287ad03e4c0d77070e84a444888a69d15dbbd7db5ec32a561e77851 [INFO] running `Command { std: "docker" "start" "-a" "1dbb95660287ad03e4c0d77070e84a444888a69d15dbbd7db5ec32a561e77851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dbb95660287ad03e4c0d77070e84a444888a69d15dbbd7db5ec32a561e77851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbb95660287ad03e4c0d77070e84a444888a69d15dbbd7db5ec32a561e77851", kill_on_drop: false }` [INFO] [stdout] 1dbb95660287ad03e4c0d77070e84a444888a69d15dbbd7db5ec32a561e77851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94d4000347a1abcf1a9c140474288d820fd8eae1074a75fa18733a424510e392 [INFO] running `Command { std: "docker" "start" "-a" "94d4000347a1abcf1a9c140474288d820fd8eae1074a75fa18733a424510e392", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.39 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling rlua-lua54-sys v0.1.6 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling rlua v0.19.7 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking base64 v0.21.4 [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 serde_urlencoded v0.7.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)]` 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: `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)]` 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)]` 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: 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)]` 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 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: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 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 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: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: 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: `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] = note: `#[warn(unused_variables)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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: `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: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: 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: 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: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: 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: 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] [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] [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: `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: `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: `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: `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: `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: `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: 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)]` 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: 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)]` on by default [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, [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)]` 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, // 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: 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, [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)]` 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, // 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), [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Or(Vec) [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: 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: 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, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | true_procedure:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | false_procedure:Vec, [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 `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 `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), [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Map(HashMap) [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: 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), [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Or(Vec) [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 `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, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | state: HashMap [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: 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, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | true_procedure:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | false_procedure:Vec, [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: 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: 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), [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Map(HashMap) [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: 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: 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, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | state: HashMap [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: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.09s [INFO] running `Command { std: "docker" "inspect" "94d4000347a1abcf1a9c140474288d820fd8eae1074a75fa18733a424510e392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d4000347a1abcf1a9c140474288d820fd8eae1074a75fa18733a424510e392", kill_on_drop: false }` [INFO] [stdout] 94d4000347a1abcf1a9c140474288d820fd8eae1074a75fa18733a424510e392