[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllde%2Frocket_experiment" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/llde/rocket_experiment on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcda32b12ae355ed4dbf3146b3e1a887395ad72cfd4e81755fb0e03405facf40 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fcda32b12ae355ed4dbf3146b3e1a887395ad72cfd4e81755fb0e03405facf40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcda32b12ae355ed4dbf3146b3e1a887395ad72cfd4e81755fb0e03405facf40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcda32b12ae355ed4dbf3146b3e1a887395ad72cfd4e81755fb0e03405facf40", kill_on_drop: false }` [INFO] [stdout] fcda32b12ae355ed4dbf3146b3e1a887395ad72cfd4e81755fb0e03405facf40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6742131f406c4af8a1864298d981014e2d98f25cc0ede50942c7c408dbd0c723 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6742131f406c4af8a1864298d981014e2d98f25cc0ede50942c7c408dbd0c723", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [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 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: `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 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: `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 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: `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: `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 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 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: 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: `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: `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: `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: 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: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/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: 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: `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: 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: 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "6742131f406c4af8a1864298d981014e2d98f25cc0ede50942c7c408dbd0c723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6742131f406c4af8a1864298d981014e2d98f25cc0ede50942c7c408dbd0c723", kill_on_drop: false }` [INFO] [stdout] 6742131f406c4af8a1864298d981014e2d98f25cc0ede50942c7c408dbd0c723