[INFO] cloning repository https://github.com/r4gus/choir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r4gus/choir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr4gus%2Fchoir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr4gus%2Fchoir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a93c226b0194c02c6ae23f85365ee27356b1dbcd [INFO] checking r4gus/choir against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr4gus%2Fchoir" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r4gus/choir on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r4gus/choir [INFO] finished tweaking git repo https://github.com/r4gus/choir [INFO] tweaked toml for git repo https://github.com/r4gus/choir written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/r4gus/choir already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d094464cfabf0db3a0954661bb44e335bb4486be97a69e22c8780a0ccf07fa61 [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" "d094464cfabf0db3a0954661bb44e335bb4486be97a69e22c8780a0ccf07fa61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d094464cfabf0db3a0954661bb44e335bb4486be97a69e22c8780a0ccf07fa61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d094464cfabf0db3a0954661bb44e335bb4486be97a69e22c8780a0ccf07fa61", kill_on_drop: false }` [INFO] [stdout] d094464cfabf0db3a0954661bb44e335bb4486be97a69e22c8780a0ccf07fa61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45778b60dee5f1ec2783179c111abdb801e22df7035c63e8047b0205dcc7ad05 [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" "45778b60dee5f1ec2783179c111abdb801e22df7035c63e8047b0205dcc7ad05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Checking rocket_contrib v0.4.6 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking choir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::models::User` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/auth.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use argon2::{self, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::status::NotFound` [INFO] [stdout] --> src/auth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::response::status::NotFound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user_by_mail` [INFO] [stdout] --> src/application.rs:7:83 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::database::{get_users, get_user, update_user, delete_user, create_user, get_user_by_mail, get_groups, create_group, delete_grou... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cookie`, `Cookies` [INFO] [stdout] --> src/application.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::http::{Cookies, Cookie, RawStr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromFormValue` [INFO] [stdout] --> src/models.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::request::{self, FromRequest, FromFormValue}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::RawStr` [INFO] [stdout] --> src/models.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::http::RawStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::ParseResult` [INFO] [stdout] --> src/models.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::ParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::uri::Query` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::http::uri::Query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/database.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::User` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/auth.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use argon2::{self, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::status::NotFound` [INFO] [stdout] --> src/auth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::response::status::NotFound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user_by_mail` [INFO] [stdout] --> src/application.rs:7:83 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::database::{get_users, get_user, update_user, delete_user, create_user, get_user_by_mail, get_groups, create_group, delete_grou... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cookie`, `Cookies` [INFO] [stdout] --> src/application.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::http::{Cookies, Cookie, RawStr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromFormValue` [INFO] [stdout] --> src/models.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::request::{self, FromRequest, FromFormValue}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::RawStr` [INFO] [stdout] --> src/models.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::http::RawStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::ParseResult` [INFO] [stdout] --> src/models.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::ParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::uri::Query` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::http::uri::Query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/database.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/auth.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 79 | NotFoud => Flash::warning(Redirect::to(uri!(login)), "Invalid username or password"), // Invalid e-mail [INFO] [stdout] | ------- matches any value [INFO] [stdout] 80 | _ => Flash::error(Redirect::to(uri!(login)), "Internal server error"), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/auth.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut str: &str = ""; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NotFoud` [INFO] [stdout] --> src/auth.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | NotFoud => Flash::warning(Redirect::to(uri!(login)), "Invalid username or password"), // Invalid e-mail [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NotFoud` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/application.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn member_redirect(id: i32) -> Flash { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn member_update_advanced(user: AdminUser, id: i32, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:340:22 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn member_create(user: AdminUser, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new_group(user: AdminUser, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:431:18 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn del_group(user: AdminUser, conn: DbConn, id: i32) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:444:26 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn insert_into_group(user: AdminUser, conn: DbConn, id: i32, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn remove_from_group(user: AdminUser, conn: DbConn, id: i32, uid: i32) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | pub fn new_appointment(user: AdminUser, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/application.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | Err(error) => Err(Flash::warning(Redirect::to(uri!(view_appointments)), "Der angefragte Termin scheint nicht zu existieren.")), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:510:27 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn appointment_update(user: AdminUser, conn: DbConn, id: i32, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:527:27 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn appointment_delete(user: AdminUser, conn: DbConn, id: i32) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/application.rs:547:63 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn leave_appointment(user: &User, conn: DbConn, aid: i32, gid: i32, uid: i32) -> Flash { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:589:29 [INFO] [stdout] | [INFO] [stdout] 589 | pub fn get_appointment_info(user: &User, conn: DbConn, aid: i32) -> Result, status::NotFound> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/application.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | Err(error) => Err(form_value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/application.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(error) => Err(form_value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/database.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(v.iter().map(|(b, u): &(Belong, User)| u.clone()).collect::>()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/database.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(v.iter().map(|(b, u): &(Participate, User)| u.clone()).collect::>()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut str: &str = ""; [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: unreachable pattern [INFO] [stdout] --> src/auth.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 79 | NotFoud => Flash::warning(Redirect::to(uri!(login)), "Invalid username or password"), // Invalid e-mail [INFO] [stdout] | ------- matches any value [INFO] [stdout] 80 | _ => Flash::error(Redirect::to(uri!(login)), "Internal server error"), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/auth.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut str: &str = ""; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NotFoud` [INFO] [stdout] --> src/auth.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | NotFoud => Flash::warning(Redirect::to(uri!(login)), "Invalid username or password"), // Invalid e-mail [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NotFoud` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/application.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn member_redirect(id: i32) -> Flash { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn member_update_advanced(user: AdminUser, id: i32, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:340:22 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn member_create(user: AdminUser, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new_group(user: AdminUser, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:431:18 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn del_group(user: AdminUser, conn: DbConn, id: i32) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:444:26 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn insert_into_group(user: AdminUser, conn: DbConn, id: i32, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn remove_from_group(user: AdminUser, conn: DbConn, id: i32, uid: i32) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | pub fn new_appointment(user: AdminUser, conn: DbConn, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/application.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | Err(error) => Err(Flash::warning(Redirect::to(uri!(view_appointments)), "Der angefragte Termin scheint nicht zu existieren.")), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:510:27 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn appointment_update(user: AdminUser, conn: DbConn, id: i32, form: Form) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:527:27 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn appointment_delete(user: AdminUser, conn: DbConn, id: i32) -> Flash { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/application.rs:547:63 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn leave_appointment(user: &User, conn: DbConn, aid: i32, gid: i32, uid: i32) -> Flash { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/application.rs:589:29 [INFO] [stdout] | [INFO] [stdout] 589 | pub fn get_appointment_info(user: &User, conn: DbConn, aid: i32) -> Result, status::NotFound> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/application.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | Err(error) => Err(form_value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/application.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(error) => Err(form_value), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/database.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(v.iter().map(|(b, u): &(Belong, User)| u.clone()).collect::>()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/database.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(v.iter().map(|(b, u): &(Participate, User)| u.clone()).collect::>()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/test.rs:972:10 [INFO] [stdout] | [INFO] [stdout] 972 | let (conn, client) = make_connection_and_client(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/test.rs:979:10 [INFO] [stdout] | [INFO] [stdout] 979 | let (conn, client) = make_connection_and_client(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut str: &str = ""; [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/test.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut response = client.post("/login") [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/test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut response = client.get(format!("/member/{}", user_to_view)).dispatch(); [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/test.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut response = client.post(format!("/member/{}/update", user_to_update)) [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/test.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut response = client.post(format!("/member/{}/advanced", user_to_update)) [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/test.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut response = client.post(format!("/member/{}/password", user_to_update)) [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/test.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut response = client.post(format!("/member/{}/delete", id)) [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/test.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut response = client.post("/member/create") [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/test.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut response = client.get("/groups").dispatch(); [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/test.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let mut response = client.post("/group/create") [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/test.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut response = client.post(format!("/group/{}/delete", id)) [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/test.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let mut response = client.get("/login").dispatch(); [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/test.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let mut g = get_group_by_title("Bass", &*conn).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | embedded_migrations::run(&*conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | create_user(&admin, &*conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NotFoud` should have a snake case name [INFO] [stdout] --> src/auth.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | NotFoud => Flash::warning(Redirect::to(uri!(login)), "Invalid username or password"), // Invalid e-mail [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `not_foud` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | embedded_migrations::run(&*conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | create_user(&admin, &*conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NotFoud` should have a snake case name [INFO] [stdout] --> src/auth.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | NotFoud => Flash::warning(Redirect::to(uri!(login)), "Invalid username or password"), // Invalid e-mail [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `not_foud` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | super::embedded_migrations::run(conn); // generated by the embed_migrations! macro [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | delete_all_users(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | delete_all_groups(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | delete_all_appointments(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | delete_all_participants(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | create_user(&u1, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | create_user(&u2, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | create_user(&u3, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | create_user(&u4, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | create_group(&g1, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | create_group(&g2, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | create_group(&g3, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | create_appointment(&a, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | create_appointment(&a2, conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | create_appointment(&a, &*conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.56s [INFO] running `Command { std: "docker" "inspect" "45778b60dee5f1ec2783179c111abdb801e22df7035c63e8047b0205dcc7ad05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45778b60dee5f1ec2783179c111abdb801e22df7035c63e8047b0205dcc7ad05", kill_on_drop: false }` [INFO] [stdout] 45778b60dee5f1ec2783179c111abdb801e22df7035c63e8047b0205dcc7ad05