[INFO] cloning repository https://github.com/acmumn/identity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acmumn/identity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facmumn%2Fidentity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facmumn%2Fidentity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d067e59a617846149635a3263fc7bf66eacab7a [INFO] checking acmumn/identity against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facmumn%2Fidentity" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acmumn/identity on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/acmumn/identity [INFO] finished tweaking git repo https://github.com/acmumn/identity [INFO] tweaked toml for git repo https://github.com/acmumn/identity written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/acmumn/identity already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tera v0.11.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c60f835ce0067cf2bb69bb8057f2ccf46e7a24e947164eeae486c61c609f2443 [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" "c60f835ce0067cf2bb69bb8057f2ccf46e7a24e947164eeae486c61c609f2443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c60f835ce0067cf2bb69bb8057f2ccf46e7a24e947164eeae486c61c609f2443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c60f835ce0067cf2bb69bb8057f2ccf46e7a24e947164eeae486c61c609f2443", kill_on_drop: false }` [INFO] [stdout] c60f835ce0067cf2bb69bb8057f2ccf46e7a24e947164eeae486c61c609f2443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 142f51ea8ee4127c2f02a1882f5c8a4281ef18ddc552056a684eca19969a07e7 [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" "142f51ea8ee4127c2f02a1882f5c8a4281ef18ddc552056a684eca19969a07e7", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking futures v0.1.24 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.18 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking utf-8 v0.7.4 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.3 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.0 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking base64 v0.9.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking r2d2 v0.8.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Checking digest v0.7.5 [INFO] [stderr] Checking slug v0.1.3 [INFO] [stderr] Checking tokio-executor v0.1.4 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking sha-1 v0.7.0 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking tokio-timer v0.2.6 [INFO] [stderr] Checking tokio-current-thread v0.1.1 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking tokio-io v0.1.8 [INFO] [stderr] Checking http v0.1.11 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking parking_lot_core v0.3.0 [INFO] [stderr] Checking tokio-threadpool v0.1.6 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking tungstenite v0.6.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.5 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.1 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking tokio v0.1.8 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking syslog v4.0.1 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking serde_json v1.0.27 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Checking hyper v0.12.9 [INFO] [stderr] Compiling serde_derive v1.0.76 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking tera v0.11.14 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking warp v0.1.3 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking diesel v1.3.2 [INFO] [stderr] Checking acmumn-identity-common v0.1.0 (/opt/rustwide/workdir/rust-common) [INFO] [stderr] Checking acmumn-identity-client v0.1.0 (/opt/rustwide/workdir/rust-client) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> rust-client/src/errors.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> rust-client/src/errors.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking acmumn-identity-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> server/src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> server/src/macros.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! context { [INFO] [stdout] 3 | | ($($name:ident : $value:expr),* $(,)*) => {{ [INFO] [stdout] 4 | | let mut ctx = ::tera::Context::new(); [INFO] [stdout] 5 | | $(ctx.add(stringify!($name), &$value);)* [INFO] [stdout] 6 | | ctx [INFO] [stdout] 7 | | }}; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `member_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `uuid` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `created` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `studentId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `x500` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `card` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `email` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> server/src/db/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `identity_jwt_escrow`, `members_members` [INFO] [stdout] --> server/src/db/mod.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use db::schema::{identity_jwt_escrow, members_members}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> server/src/db/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use {Error, ErrorKind, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> server/src/errors.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Either`, `err` [INFO] [stdout] --> server/src/web/endpoints.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | future::{err, ok, Either}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> server/src/web/endpoints.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `log_err` [INFO] [stdout] --> server/src/web/endpoints.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | use {log_err, Error, ErrorKind, DB}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> server/src/web/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> server/src/web/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> server/src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> server/src/macros.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! context { [INFO] [stdout] 3 | | ($($name:ident : $value:expr),* $(,)*) => {{ [INFO] [stdout] 4 | | let mut ctx = ::tera::Context::new(); [INFO] [stdout] 5 | | $(ctx.add(stringify!($name), &$value);)* [INFO] [stdout] 6 | | ctx [INFO] [stdout] 7 | | }}; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `member_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `uuid` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `created` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `studentId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `x500` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `card` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `email` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/macros/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, QueryId, Default)] [INFO] [stdout] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #50504 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> server/src/db/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `identity_jwt_escrow`, `members_members` [INFO] [stdout] --> server/src/db/mod.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use db::schema::{identity_jwt_escrow, members_members}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> server/src/db/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use {Error, ErrorKind, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> server/src/errors.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Either`, `err` [INFO] [stdout] --> server/src/web/endpoints.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | future::{err, ok, Either}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> server/src/web/endpoints.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `log_err` [INFO] [stdout] --> server/src/web/endpoints.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | use {log_err, Error, ErrorKind, DB}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> server/src/web/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> server/src/web/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/web/mod.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut s = e [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 expression [INFO] [stdout] --> server/src/web/endpoints.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 47 | ok(Response::new("TODO".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> server/src/web/endpoints.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 52 | ok(Response::new("TODO".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render3` [INFO] [stdout] --> server/src/web/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let render3 = render.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db2` [INFO] [stdout] --> server/src/web/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let db2 = db.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_db2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db3` [INFO] [stdout] --> server/src/web/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let db3 = db.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_db3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db4` [INFO] [stdout] --> server/src/web/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let db4 = db.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_db4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mailer_server_url` [INFO] [stdout] --> server/src/web/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | mailer_server_url: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mailer_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> server/src/web/endpoints.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | params: IndexParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> server/src/web/endpoints.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | db: DB, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> server/src/web/endpoints.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> server/src/web/endpoints.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> server/src/web/endpoints.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> server/src/web/endpoints.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `async_query` [INFO] [stdout] --> server/src/db/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn async_query(&self, func: F) -> impl Future [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redirect` [INFO] [stdout] --> server/src/web/endpoints.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | redirect: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x500` [INFO] [stdout] --> server/src/web/endpoints.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | x500: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_login` [INFO] [stdout] --> server/src/web/endpoints.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_validate` [INFO] [stdout] --> server/src/web/endpoints.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/web/mod.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut s = e [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 expression [INFO] [stdout] --> server/src/web/endpoints.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 47 | ok(Response::new("TODO".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> server/src/web/endpoints.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 52 | ok(Response::new("TODO".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render3` [INFO] [stdout] --> server/src/web/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let render3 = render.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db2` [INFO] [stdout] --> server/src/web/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let db2 = db.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_db2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db3` [INFO] [stdout] --> server/src/web/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let db3 = db.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_db3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db4` [INFO] [stdout] --> server/src/web/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let db4 = db.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_db4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mailer_server_url` [INFO] [stdout] --> server/src/web/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | mailer_server_url: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mailer_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> server/src/web/endpoints.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | params: IndexParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> server/src/web/endpoints.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | db: DB, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> server/src/web/endpoints.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> server/src/web/endpoints.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> server/src/web/endpoints.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> server/src/web/endpoints.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `async_query` [INFO] [stdout] --> server/src/db/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn async_query(&self, func: F) -> impl Future [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redirect` [INFO] [stdout] --> server/src/web/endpoints.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | redirect: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x500` [INFO] [stdout] --> server/src/web/endpoints.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | x500: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_login` [INFO] [stdout] --> server/src/web/endpoints.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_validate` [INFO] [stdout] --> server/src/web/endpoints.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> server/src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> server/src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "142f51ea8ee4127c2f02a1882f5c8a4281ef18ddc552056a684eca19969a07e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142f51ea8ee4127c2f02a1882f5c8a4281ef18ddc552056a684eca19969a07e7", kill_on_drop: false }` [INFO] [stdout] 142f51ea8ee4127c2f02a1882f5c8a4281ef18ddc552056a684eca19969a07e7