[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] testing acmumn/identity against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facmumn%2Fidentity" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acmumn/identity on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-4/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.27 [INFO] [stderr] Downloaded http v0.1.11 [INFO] [stderr] Downloaded tera v0.11.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2a5e4f09fec491384bc5f4f86255142f1f7ef4dadb028520833cfcdfa145b89 [INFO] running `Command { std: "docker" "start" "-a" "a2a5e4f09fec491384bc5f4f86255142f1f7ef4dadb028520833cfcdfa145b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2a5e4f09fec491384bc5f4f86255142f1f7ef4dadb028520833cfcdfa145b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a5e4f09fec491384bc5f4f86255142f1f7ef4dadb028520833cfcdfa145b89", kill_on_drop: false }` [INFO] [stdout] a2a5e4f09fec491384bc5f4f86255142f1f7ef4dadb028520833cfcdfa145b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3225bbff582b42e4ddf5bef84fb2b0b49e013c0b51acf45fed255e08aee93ed [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" "f3225bbff582b42e4ddf5bef84fb2b0b49e013c0b51acf45fed255e08aee93ed", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling digest v0.7.5 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling http v0.1.11 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling tungstenite v0.6.0 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling syslog v4.0.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio v0.1.8 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.76 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling hyper v0.12.9 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.27 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling structopt v0.2.10 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling diesel v1.3.2 [INFO] [stderr] Compiling tera v0.11.14 [INFO] [stderr] Compiling warp v0.1.3 [INFO] [stderr] Compiling acmumn-identity-common v0.1.0 (/opt/rustwide/workdir/rust-common) [INFO] [stderr] Compiling 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `member_id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `uuid` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `created` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `studentId` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `x500` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `card` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `email` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: 43 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.64s [INFO] running `Command { std: "docker" "inspect" "f3225bbff582b42e4ddf5bef84fb2b0b49e013c0b51acf45fed255e08aee93ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3225bbff582b42e4ddf5bef84fb2b0b49e013c0b51acf45fed255e08aee93ed", kill_on_drop: false }` [INFO] [stdout] f3225bbff582b42e4ddf5bef84fb2b0b49e013c0b51acf45fed255e08aee93ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 654ec556da9b854e070327f5a101cf92da8589440a2eefe9a3fec3e3ce8829e9 [INFO] running `Command { std: "docker" "start" "-a" "654ec556da9b854e070327f5a101cf92da8589440a2eefe9a3fec3e3ce8829e9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling acmumn-identity-common v0.1.0 (/opt/rustwide/workdir/rust-common) [INFO] [stderr] Compiling 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `member_id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `uuid` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `created` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `studentId` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `x500` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `card` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling acmumn-identity-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: cannot find type `email` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: 43 warnings emitted [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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/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] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `member_id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `uuid` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `created` in this scope [INFO] [stdout] --> server/src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | identity_jwt_escrow (id) { [INFO] [stdout] 3 | | id -> Unsigned, [INFO] [stdout] 4 | | member_id -> Unsigned, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `studentId` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `x500` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `card` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `email` in this scope [INFO] [stdout] --> server/src/db/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | members_members (id) { [INFO] [stdout] 12 | | id -> Unsigned, [INFO] [stdout] 13 | | name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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 #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.89s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "654ec556da9b854e070327f5a101cf92da8589440a2eefe9a3fec3e3ce8829e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654ec556da9b854e070327f5a101cf92da8589440a2eefe9a3fec3e3ce8829e9", kill_on_drop: false }` [INFO] [stdout] 654ec556da9b854e070327f5a101cf92da8589440a2eefe9a3fec3e3ce8829e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c04b2b370fcf414ba7bfd4f34564fe24718c83c2188dfecd948ca17390fd1ca8 [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" "c04b2b370fcf414ba7bfd4f34564fe24718c83c2188dfecd948ca17390fd1ca8", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> rust-client/src/errors.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `acmumn-identity-client` (lib) generated 1 warning [INFO] [stderr] warning: `acmumn-identity-client` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> server/src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> server/src/macros.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | / macro_rules! context { [INFO] [stderr] 3 | | ($($name:ident : $value:expr),* $(,)*) => {{ [INFO] [stderr] 4 | | let mut ctx = ::tera::Context::new(); [INFO] [stderr] 5 | | $(ctx.add(stringify!($name), &$value);)* [INFO] [stderr] 6 | | ctx [INFO] [stderr] 7 | | }}; [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | identity_jwt_escrow (id) { [INFO] [stderr] 3 | | id -> Unsigned, [INFO] [stderr] 4 | | member_id -> Unsigned, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | identity_jwt_escrow (id) { [INFO] [stderr] 3 | | id -> Unsigned, [INFO] [stderr] 4 | | member_id -> Unsigned, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | identity_jwt_escrow (id) { [INFO] [stderr] 3 | | id -> Unsigned, [INFO] [stderr] 4 | | member_id -> Unsigned, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `member_id` in this scope [INFO] [stderr] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | identity_jwt_escrow (id) { [INFO] [stderr] 3 | | id -> Unsigned, [INFO] [stderr] 4 | | member_id -> Unsigned, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `uuid` in this scope [INFO] [stderr] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | identity_jwt_escrow (id) { [INFO] [stderr] 3 | | id -> Unsigned, [INFO] [stderr] 4 | | member_id -> Unsigned, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `created` in this scope [INFO] [stderr] --> server/src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | identity_jwt_escrow (id) { [INFO] [stderr] 3 | | id -> Unsigned, [INFO] [stderr] 4 | | member_id -> Unsigned, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> server/src/db/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | members_members (id) { [INFO] [stderr] 12 | | id -> Unsigned, [INFO] [stderr] 13 | | name -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> server/src/db/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | members_members (id) { [INFO] [stderr] 12 | | id -> Unsigned, [INFO] [stderr] 13 | | name -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `name` in this scope [INFO] [stderr] --> server/src/db/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | members_members (id) { [INFO] [stderr] 12 | | id -> Unsigned, [INFO] [stderr] 13 | | name -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `studentId` in this scope [INFO] [stderr] --> server/src/db/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | members_members (id) { [INFO] [stderr] 12 | | id -> Unsigned, [INFO] [stderr] 13 | | name -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `x500` in this scope [INFO] [stderr] --> server/src/db/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | members_members (id) { [INFO] [stderr] 12 | | id -> Unsigned, [INFO] [stderr] 13 | | name -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `card` in this scope [INFO] [stderr] --> server/src/db/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | members_members (id) { [INFO] [stderr] 12 | | id -> Unsigned, [INFO] [stderr] 13 | | name -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `email` in this scope [INFO] [stderr] --> server/src/db/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | members_members (id) { [INFO] [stderr] 12 | | id -> Unsigned, [INFO] [stderr] 13 | | name -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> server/src/db/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | self, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `identity_jwt_escrow`, `members_members` [INFO] [stderr] --> server/src/db/mod.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | use db::schema::{identity_jwt_escrow, members_members}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ErrorKind` [INFO] [stderr] --> server/src/db/mod.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use {Error, ErrorKind, Result}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> server/src/errors.rs:102:32 [INFO] [stderr] | [INFO] [stderr] 102 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Either`, `err` [INFO] [stderr] --> server/src/web/endpoints.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | future::{err, ok, Either}, [INFO] [stderr] | ^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `url::Url` [INFO] [stderr] --> server/src/web/endpoints.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use url::Url; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ErrorKind`, `log_err` [INFO] [stderr] --> server/src/web/endpoints.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 11 | use {log_err, Error, ErrorKind, DB}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::BTreeMap` [INFO] [stderr] --> server/src/web/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> server/src/web/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> server/src/web/mod.rs:62:21 [INFO] [stderr] | [INFO] [stderr] 62 | let mut s = e [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> server/src/web/endpoints.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 46 | unimplemented!(); [INFO] [stderr] | ----------------- any code following this expression is unreachable [INFO] [stderr] 47 | ok(Response::new("TODO".to_string())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> server/src/web/endpoints.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 51 | unimplemented!(); [INFO] [stderr] | ----------------- any code following this expression is unreachable [INFO] [stderr] 52 | ok(Response::new("TODO".to_string())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `render3` [INFO] [stderr] --> server/src/web/mod.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | let render3 = render.clone(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render3` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db2` [INFO] [stderr] --> server/src/web/mod.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let db2 = db.clone(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_db2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db3` [INFO] [stderr] --> server/src/web/mod.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | let db3 = db.clone(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_db3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db4` [INFO] [stderr] --> server/src/web/mod.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | let db4 = db.clone(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_db4` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mailer_server_url` [INFO] [stderr] --> server/src/web/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | mailer_server_url: Url, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mailer_server_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> server/src/web/endpoints.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | params: IndexParams, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> server/src/web/endpoints.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | db: DB, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uuid` [INFO] [stderr] --> server/src/web/endpoints.rs:45:18 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> server/src/web/endpoints.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> server/src/web/endpoints.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> server/src/web/endpoints.rs:50:37 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `async_query` [INFO] [stderr] --> server/src/db/mod.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | fn async_query(&self, func: F) -> impl Future [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `redirect` [INFO] [stderr] --> server/src/web/endpoints.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | redirect: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `x500` [INFO] [stderr] --> server/src/web/endpoints.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | x500: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_login` [INFO] [stderr] --> server/src/web/endpoints.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn get_login(uuid: String, db: DB) -> impl Future, Error = Error> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `post_validate` [INFO] [stderr] --> server/src/web/endpoints.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn post_validate(token: String, db: DB) -> impl Future, Error = Error> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `acmumn-identity-server` (lib) generated 43 warnings [INFO] [stderr] warning: `acmumn-identity-server` (lib test) generated 43 warnings (43 duplicates) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> server/src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `acmumn-identity-server` (bin "acmumn-identity-server" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/acmumn_identity_client-d136158d0fd77eb1) [INFO] [stdout] running 1 test [INFO] [stdout] test responses::tests::deserialize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/acmumn_identity_common-3093a4219e32b3e6) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/acmumn_identity_server-807a6305c61663cc) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/acmumn_identity_server-8bc27b478dab9b35) [INFO] [stdout] [INFO] [stderr] Doc-tests acmumn-identity-client [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests acmumn-identity-common [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests acmumn-identity-server [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c04b2b370fcf414ba7bfd4f34564fe24718c83c2188dfecd948ca17390fd1ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04b2b370fcf414ba7bfd4f34564fe24718c83c2188dfecd948ca17390fd1ca8", kill_on_drop: false }` [INFO] [stdout] c04b2b370fcf414ba7bfd4f34564fe24718c83c2188dfecd948ca17390fd1ca8