[INFO] cloning repository https://github.com/llde/rocket_experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/llde/rocket_experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllde%2Frocket_experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllde%2Frocket_experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd468d35d23fda70ac7cef1687abd30afcbcfd43 [INFO] checking llde/rocket_experiment against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllde%2Frocket_experiment" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/llde/rocket_experiment on toolchain 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/llde/rocket_experiment [INFO] finished tweaking git repo https://github.com/llde/rocket_experiment [INFO] tweaked toml for git repo https://github.com/llde/rocket_experiment written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/llde/rocket_experiment already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--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] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b5636f5408b1b4a25b323d3f1b36130c956ddaeaeff832c224075d8f075a48b6 [INFO] running `Command { std: "docker" "start" "-a" "b5636f5408b1b4a25b323d3f1b36130c956ddaeaeff832c224075d8f075a48b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5636f5408b1b4a25b323d3f1b36130c956ddaeaeff832c224075d8f075a48b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5636f5408b1b4a25b323d3f1b36130c956ddaeaeff832c224075d8f075a48b6", kill_on_drop: false }` [INFO] [stdout] b5636f5408b1b4a25b323d3f1b36130c956ddaeaeff832c224075d8f075a48b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 87d0f0a8064a2cde839f9ff023bbe683e947f44d44c4fa236db405fa0c3012b9 [INFO] running `Command { std: "docker" "start" "-a" "87d0f0a8064a2cde839f9ff023bbe683e947f44d44c4fa236db405fa0c3012b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.6 [INFO] [stderr] Checking rocket_contrib v0.4.6 [INFO] [stderr] Checking hello-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RawStr` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::http::{RawStr,Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Css` [INFO] [stdout] --> src/main.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::response::content::{Html, Css}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Redirect`, `Responder` [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::response::{Responder, NamedFile,Redirect}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `Outcome` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use rocket::{Outcome,Data}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::Outcome::Failure` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::Outcome::Failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / macro_rules! error_page_template { [INFO] [stdout] 25 | | ($code:expr, $name:expr, $description:expr) => ( [INFO] [stdout] 26 | | concat!(r#" [INFO] [stdout] 27 | | [INFO] [stdout] ... | [INFO] [stdout] 44 | | ) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawStr` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::http::{RawStr,Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Css` [INFO] [stdout] --> src/main.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::response::content::{Html, Css}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Redirect`, `Responder` [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::response::{Responder, NamedFile,Redirect}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `Outcome` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use rocket::{Outcome,Data}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::Outcome::Failure` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::Outcome::Failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / macro_rules! error_page_template { [INFO] [stdout] 25 | | ($code:expr, $name:expr, $description:expr) => ( [INFO] [stdout] 26 | | concat!(r#" [INFO] [stdout] 27 | | [INFO] [stdout] ... | [INFO] [stdout] 44 | | ) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/auth.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | (*self.sessions.lock().unwrap()).remove_item(&session) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/main.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | fn register_result(session : Session, form : PostForm, holder : State) -> NamedFile{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/main.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | fn stylev2(version : u32) -> NamedFile{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | fn teap(req : &Request) -> Html<&'static str>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/auth.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn renew_session(&mut self, token : String){unimplemented!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/auth.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn autenthicate_user(user : String, hpassw : String){unimplemented!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hpassw` [INFO] [stdout] --> src/auth.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn autenthicate_user(user : String, hpassw : String){unimplemented!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hpassw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut dat = data.into_inner(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut sessions_holder = SessionsHolder::new(false); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut sessions = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `collector` [INFO] [stdout] --> src/auth.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | collector : Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `collect_garbage_sessions` [INFO] [stdout] --> src/auth.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | collect_garbage_sessions : AtomicBool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_email` [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn set_email(&mut self, email : String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/auth.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | (*self.sessions.lock().unwrap()).remove_item(&session) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/main.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | fn register_result(session : Session, form : PostForm, holder : State) -> NamedFile{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/main.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | fn stylev2(version : u32) -> NamedFile{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | fn teap(req : &Request) -> Html<&'static str>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/auth.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn renew_session(&mut self, token : String){unimplemented!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/auth.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn autenthicate_user(user : String, hpassw : String){unimplemented!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hpassw` [INFO] [stdout] --> src/auth.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn autenthicate_user(user : String, hpassw : String){unimplemented!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hpassw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut dat = data.into_inner(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut sessions_holder = SessionsHolder::new(false); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut sessions = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `collector` [INFO] [stdout] --> src/auth.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | collector : Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `collect_garbage_sessions` [INFO] [stdout] --> src/auth.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | collect_garbage_sessions : AtomicBool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_email` [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn set_email(&mut self, email : String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "87d0f0a8064a2cde839f9ff023bbe683e947f44d44c4fa236db405fa0c3012b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d0f0a8064a2cde839f9ff023bbe683e947f44d44c4fa236db405fa0c3012b9", kill_on_drop: false }` [INFO] [stdout] 87d0f0a8064a2cde839f9ff023bbe683e947f44d44c4fa236db405fa0c3012b9