[INFO] cloning repository https://github.com/NecoHorne/rust_webservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NecoHorne/rust_webservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNecoHorne%2Frust_webservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNecoHorne%2Frust_webservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aff74e86206873a5cad49f132369a4b002e3445f [INFO] checking NecoHorne/rust_webservice against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNecoHorne%2Frust_webservice" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NecoHorne/rust_webservice [INFO] finished tweaking git repo https://github.com/NecoHorne/rust_webservice [INFO] tweaked toml for git repo https://github.com/NecoHorne/rust_webservice written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NecoHorne/rust_webservice on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NecoHorne/rust_webservice already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02e93adbdc853a79c31f984c1ea3cae06fc645658ccc0e0f055861da4f26338d [INFO] running `Command { std: "docker" "start" "-a" "02e93adbdc853a79c31f984c1ea3cae06fc645658ccc0e0f055861da4f26338d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e93adbdc853a79c31f984c1ea3cae06fc645658ccc0e0f055861da4f26338d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e93adbdc853a79c31f984c1ea3cae06fc645658ccc0e0f055861da4f26338d", kill_on_drop: false }` [INFO] [stdout] 02e93adbdc853a79c31f984c1ea3cae06fc645658ccc0e0f055861da4f26338d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a300bf4561651fcbe01762eee6185e78e7cd75510b1afc2b090f14321b232348 [INFO] running `Command { std: "docker" "start" "-a" "a300bf4561651fcbe01762eee6185e78e7cd75510b1afc2b090f14321b232348", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.7.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking email-encoding v0.1.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking email_address v0.2.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking quoted_printable v0.4.5 [INFO] [stderr] Checking normpath v0.3.2 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking bcrypt v0.13.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling prettyplease v0.1.11 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.7 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking dotenv_codegen v0.15.0 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Checking axum-core v0.2.4 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Checking lettre v0.10.0-rc.7 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling rust_webservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ubyte v0.10.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking cron v0.10.1 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking tower-http v0.3.3 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Checking axum v0.5.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking tonic v0.7.2 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0-rc.2 [INFO] [stdout] warning: attribute is typically applied to `main` function [INFO] [stdout] --> src/webserver/server.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[rocket::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this function is not `main` [INFO] [stdout] --> src/webserver/server.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn start_web_server() -> Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute is typically applied to `main` function [INFO] [stdout] --> src/webserver/server.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[rocket::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this function is not `main` [INFO] [stdout] --> src/webserver/server.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn start_web_server() -> Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::verification_token` [INFO] [stdout] --> src/database/models/verification_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::verification_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::password_reset_token` [INFO] [stdout] --> src/database/models/password_reset_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::password_reset_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index() -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn test() -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn index_two() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hello_two(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn test_two() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::verification_token` [INFO] [stdout] --> src/database/models/verification_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::verification_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::password_reset_token` [INFO] [stdout] --> src/database/models/password_reset_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::password_reset_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index() -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn test() -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn index_two() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hello_two(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn test_two() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/database/models/user.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/database/models/user.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VerificationToken` is never constructed [INFO] [stdout] --> src/database/models/verification_token.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VerificationToken{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordResetToken` is never constructed [INFO] [stdout] --> src/database/models/password_reset_token.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PasswordResetToken{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/database/database_utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_post(conn: &MysqlConnection, title: &str, body: &str) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InvalidatedToken{ [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new(token: String, user_id: String, expiry_date: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_json(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn token(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn user_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn expiry_date(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_token(&mut self, token: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_user_id(&mut self, user_id: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_expiry_date(&mut self, expiry_date: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_key` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn redis_key(invalid_token :&InvalidatedToken) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn save_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token_exists` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn token_exists(key: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn delete_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn extract_claim(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_email_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_uid_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn is_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_refresh_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new_refresh_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn extract_claim_refresh(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_refresh_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_email_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_uid_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn is_refresh_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_time_in_millis` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn current_time_in_millis() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_week_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn one_week_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ninety_days_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn ninety_days_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomClaim` is never constructed [INFO] [stdout] --> src/security/jwt_utils.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct CustomClaim { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl CustomClaim { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 195 | pub fn new(jti: String, sub: String, iat: u64, exp: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_email` is never used [INFO] [stdout] --> src/mail/mail_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn send_email(email: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_post` [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] 6 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] 15 | | published -> Bool, [INFO] [stdout] | | --------- `published` is not local [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_published` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] | | ------------ `date_created` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] | | ------------ `date_updated` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_updated` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] 24 | | uid -> Char, [INFO] [stdout] | | --- `uid` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_uid` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 25 | | display_name -> Nullable, [INFO] [stdout] | | ------------ `display_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_display_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 26 | | first_name -> Nullable, [INFO] [stdout] | | ---------- `first_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_first_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | last_name -> Nullable, [INFO] [stdout] | | --------- `last_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 28 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 29 | | email_verified -> Bool, [INFO] [stdout] | | -------------- `email_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 30 | | telephone -> Nullable, [INFO] [stdout] | | --------- `telephone` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | last_login -> Nullable, [INFO] [stdout] | | ---------- `last_login` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_login` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 32 | | fcm -> Nullable, [INFO] [stdout] | | --- `fcm` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fcm` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 33 | | is_banned -> Bool, [INFO] [stdout] | | --------- `is_banned` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_banned` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 34 | | ip_address -> Nullable, [INFO] [stdout] | | ---------- `ip_address` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip_address` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 35 | | meta_data -> Nullable, [INFO] [stdout] | | --------- `meta_data` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_meta_data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | birthday -> Nullable, [INFO] [stdout] | | -------- `birthday` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_birthday` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 37 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 38 | | role -> Integer, [INFO] [stdout] | | ---- `role` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_role` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | telephone_verified -> Bool, [INFO] [stdout] | | ------------------ `telephone_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 40 | | user_rating -> Decimal, [INFO] [stdout] | | ----------- `user_rating` is not local [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_rating` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] 49 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/verification_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/verification_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_verificationtoken` [INFO] [stdout] 5 | pub struct VerificationToken{ [INFO] [stdout] | ----------------- `VerificationToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/password_reset_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/password_reset_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_passwordresettoken` [INFO] [stdout] 5 | pub struct PasswordResetToken{ [INFO] [stdout] | ------------------ `PasswordResetToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hello_two(name: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:600:42 [INFO] [stdout] | [INFO] [stdout] 600 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 601 | | let inner = inner.0; [INFO] [stdout] 602 | | let method = AuthenticateUserSvc(inner); [INFO] [stdout] 603 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 610 | | Ok(res) [INFO] [stdout] 611 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:640:42 [INFO] [stdout] | [INFO] [stdout] 640 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 641 | | let inner = inner.0; [INFO] [stdout] 642 | | let method = AuthenticateServiceSvc(inner); [INFO] [stdout] 643 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 650 | | Ok(res) [INFO] [stdout] 651 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:650:25 [INFO] [stdout] | [INFO] [stdout] 650 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:678:42 [INFO] [stdout] | [INFO] [stdout] 678 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 679 | | let inner = inner.0; [INFO] [stdout] 680 | | let method = CheckTokenSvc(inner); [INFO] [stdout] 681 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 688 | | Ok(res) [INFO] [stdout] 689 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:688:25 [INFO] [stdout] | [INFO] [stdout] 688 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:716:42 [INFO] [stdout] | [INFO] [stdout] 716 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 717 | | let inner = inner.0; [INFO] [stdout] 718 | | let method = TokenLoginSvc(inner); [INFO] [stdout] 719 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 726 | | Ok(res) [INFO] [stdout] 727 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:726:25 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:756:42 [INFO] [stdout] | [INFO] [stdout] 756 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 757 | | let inner = inner.0; [INFO] [stdout] 758 | | let method = RefreshTokenSvc(inner); [INFO] [stdout] 759 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 766 | | Ok(res) [INFO] [stdout] 767 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:796:42 [INFO] [stdout] | [INFO] [stdout] 796 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 797 | | let inner = inner.0; [INFO] [stdout] 798 | | let method = GetUserByTokenSvc(inner); [INFO] [stdout] 799 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 806 | | Ok(res) [INFO] [stdout] 807 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:806:25 [INFO] [stdout] | [INFO] [stdout] 806 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:836:42 [INFO] [stdout] | [INFO] [stdout] 836 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 837 | | let inner = inner.0; [INFO] [stdout] 838 | | let method = ResetPasswordSvc(inner); [INFO] [stdout] 839 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 846 | | Ok(res) [INFO] [stdout] 847 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:846:25 [INFO] [stdout] | [INFO] [stdout] 846 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:878:42 [INFO] [stdout] | [INFO] [stdout] 878 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 879 | | let inner = inner.0; [INFO] [stdout] 880 | | let method = InvalidateRefreshTokenSvc(inner); [INFO] [stdout] 881 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 888 | | Ok(res) [INFO] [stdout] 889 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:888:25 [INFO] [stdout] | [INFO] [stdout] 888 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:918:42 [INFO] [stdout] | [INFO] [stdout] 918 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 919 | | let inner = inner.0; [INFO] [stdout] 920 | | let method = VerifyUserEmailSvc(inner); [INFO] [stdout] 921 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 928 | | Ok(res) [INFO] [stdout] 929 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:928:25 [INFO] [stdout] | [INFO] [stdout] 928 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:958:42 [INFO] [stdout] | [INFO] [stdout] 958 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 959 | | let inner = inner.0; [INFO] [stdout] 960 | | let method = ResendVerifyEmailSvc(inner); [INFO] [stdout] 961 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 968 | | Ok(res) [INFO] [stdout] 969 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:968:25 [INFO] [stdout] | [INFO] [stdout] 968 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:998:42 [INFO] [stdout] | [INFO] [stdout] 998 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 999 | | let inner = inner.0; [INFO] [stdout] 1000 | | let method = HashPasswordSvc(inner); [INFO] [stdout] 1001 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1008 | | Ok(res) [INFO] [stdout] 1009 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1013:41 [INFO] [stdout] | [INFO] [stdout] 1013 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1014 | | Ok( [INFO] [stdout] 1015 | | http::Response::builder() [INFO] [stdout] 1016 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1014:25 [INFO] [stdout] | [INFO] [stdout] 1014 | / Ok( [INFO] [stdout] 1015 | | http::Response::builder() [INFO] [stdout] 1016 | | .status(200) [INFO] [stdout] 1017 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 1020 | | .unwrap(), [INFO] [stdout] 1021 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1439:42 [INFO] [stdout] | [INFO] [stdout] 1439 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1440 | | let inner = inner.0; [INFO] [stdout] 1441 | | let method = GetUserDetailsSvc(inner); [INFO] [stdout] 1442 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1449 | | Ok(res) [INFO] [stdout] 1450 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1449:25 [INFO] [stdout] | [INFO] [stdout] 1449 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1479:42 [INFO] [stdout] | [INFO] [stdout] 1479 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1480 | | let inner = inner.0; [INFO] [stdout] 1481 | | let method = GetSellerDetailsSvc(inner); [INFO] [stdout] 1482 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1489 | | Ok(res) [INFO] [stdout] 1490 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1489:25 [INFO] [stdout] | [INFO] [stdout] 1489 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1519:42 [INFO] [stdout] | [INFO] [stdout] 1519 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1520 | | let inner = inner.0; [INFO] [stdout] 1521 | | let method = RegisterNewUserSvc(inner); [INFO] [stdout] 1522 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1529 | | Ok(res) [INFO] [stdout] 1530 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1529:25 [INFO] [stdout] | [INFO] [stdout] 1529 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1559:42 [INFO] [stdout] | [INFO] [stdout] 1559 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1560 | | let inner = inner.0; [INFO] [stdout] 1561 | | let method = UpdateUserFCMSvc(inner); [INFO] [stdout] 1562 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1569 | | Ok(res) [INFO] [stdout] 1570 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1569:25 [INFO] [stdout] | [INFO] [stdout] 1569 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1599:42 [INFO] [stdout] | [INFO] [stdout] 1599 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1600 | | let inner = inner.0; [INFO] [stdout] 1601 | | let method = UpdateUserDetailsSvc(inner); [INFO] [stdout] 1602 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1609 | | Ok(res) [INFO] [stdout] 1610 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1609:25 [INFO] [stdout] | [INFO] [stdout] 1609 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1614:41 [INFO] [stdout] | [INFO] [stdout] 1614 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1615 | | Ok( [INFO] [stdout] 1616 | | http::Response::builder() [INFO] [stdout] 1617 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 1623 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1615:25 [INFO] [stdout] | [INFO] [stdout] 1615 | / Ok( [INFO] [stdout] 1616 | | http::Response::builder() [INFO] [stdout] 1617 | | .status(200) [INFO] [stdout] 1618 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 1621 | | .unwrap(), [INFO] [stdout] 1622 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_webservice` (bin "rust_webservice" test) due to 38 previous errors; 100 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/database/models/user.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/database/models/user.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VerificationToken` is never constructed [INFO] [stdout] --> src/database/models/verification_token.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VerificationToken{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordResetToken` is never constructed [INFO] [stdout] --> src/database/models/password_reset_token.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PasswordResetToken{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/database/database_utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_post(conn: &MysqlConnection, title: &str, body: &str) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InvalidatedToken{ [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new(token: String, user_id: String, expiry_date: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_json(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn token(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn user_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn expiry_date(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_token(&mut self, token: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_user_id(&mut self, user_id: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_expiry_date(&mut self, expiry_date: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_key` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn redis_key(invalid_token :&InvalidatedToken) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn save_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token_exists` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn token_exists(key: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn delete_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn extract_claim(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_email_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_uid_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn is_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_refresh_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new_refresh_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn extract_claim_refresh(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_refresh_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_email_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_uid_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn is_refresh_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_time_in_millis` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn current_time_in_millis() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_week_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn one_week_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ninety_days_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn ninety_days_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomClaim` is never constructed [INFO] [stdout] --> src/security/jwt_utils.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct CustomClaim { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl CustomClaim { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 195 | pub fn new(jti: String, sub: String, iat: u64, exp: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_email` is never used [INFO] [stdout] --> src/mail/mail_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn send_email(email: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_post` [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] 6 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] 15 | | published -> Bool, [INFO] [stdout] | | --------- `published` is not local [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_published` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] | | ------------ `date_created` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] | | ------------ `date_updated` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_updated` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] 24 | | uid -> Char, [INFO] [stdout] | | --- `uid` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_uid` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 25 | | display_name -> Nullable, [INFO] [stdout] | | ------------ `display_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_display_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 26 | | first_name -> Nullable, [INFO] [stdout] | | ---------- `first_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_first_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | last_name -> Nullable, [INFO] [stdout] | | --------- `last_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 28 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 29 | | email_verified -> Bool, [INFO] [stdout] | | -------------- `email_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 30 | | telephone -> Nullable, [INFO] [stdout] | | --------- `telephone` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | last_login -> Nullable, [INFO] [stdout] | | ---------- `last_login` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_login` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 32 | | fcm -> Nullable, [INFO] [stdout] | | --- `fcm` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fcm` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 33 | | is_banned -> Bool, [INFO] [stdout] | | --------- `is_banned` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_banned` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 34 | | ip_address -> Nullable, [INFO] [stdout] | | ---------- `ip_address` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip_address` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 35 | | meta_data -> Nullable, [INFO] [stdout] | | --------- `meta_data` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_meta_data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | birthday -> Nullable, [INFO] [stdout] | | -------- `birthday` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_birthday` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 37 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 38 | | role -> Integer, [INFO] [stdout] | | ---- `role` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_role` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | telephone_verified -> Bool, [INFO] [stdout] | | ------------------ `telephone_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 40 | | user_rating -> Decimal, [INFO] [stdout] | | ----------- `user_rating` is not local [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_rating` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] 49 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/verification_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/verification_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_verificationtoken` [INFO] [stdout] 5 | pub struct VerificationToken{ [INFO] [stdout] | ----------------- `VerificationToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/password_reset_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/password_reset_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_passwordresettoken` [INFO] [stdout] 5 | pub struct PasswordResetToken{ [INFO] [stdout] | ------------------ `PasswordResetToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hello_two(name: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:600:42 [INFO] [stdout] | [INFO] [stdout] 600 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 601 | | let inner = inner.0; [INFO] [stdout] 602 | | let method = AuthenticateUserSvc(inner); [INFO] [stdout] 603 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 610 | | Ok(res) [INFO] [stdout] 611 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:640:42 [INFO] [stdout] | [INFO] [stdout] 640 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 641 | | let inner = inner.0; [INFO] [stdout] 642 | | let method = AuthenticateServiceSvc(inner); [INFO] [stdout] 643 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 650 | | Ok(res) [INFO] [stdout] 651 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:650:25 [INFO] [stdout] | [INFO] [stdout] 650 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:678:42 [INFO] [stdout] | [INFO] [stdout] 678 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 679 | | let inner = inner.0; [INFO] [stdout] 680 | | let method = CheckTokenSvc(inner); [INFO] [stdout] 681 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 688 | | Ok(res) [INFO] [stdout] 689 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:688:25 [INFO] [stdout] | [INFO] [stdout] 688 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:716:42 [INFO] [stdout] | [INFO] [stdout] 716 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 717 | | let inner = inner.0; [INFO] [stdout] 718 | | let method = TokenLoginSvc(inner); [INFO] [stdout] 719 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 726 | | Ok(res) [INFO] [stdout] 727 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:726:25 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:756:42 [INFO] [stdout] | [INFO] [stdout] 756 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 757 | | let inner = inner.0; [INFO] [stdout] 758 | | let method = RefreshTokenSvc(inner); [INFO] [stdout] 759 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 766 | | Ok(res) [INFO] [stdout] 767 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:796:42 [INFO] [stdout] | [INFO] [stdout] 796 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 797 | | let inner = inner.0; [INFO] [stdout] 798 | | let method = GetUserByTokenSvc(inner); [INFO] [stdout] 799 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 806 | | Ok(res) [INFO] [stdout] 807 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:806:25 [INFO] [stdout] | [INFO] [stdout] 806 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:836:42 [INFO] [stdout] | [INFO] [stdout] 836 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 837 | | let inner = inner.0; [INFO] [stdout] 838 | | let method = ResetPasswordSvc(inner); [INFO] [stdout] 839 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 846 | | Ok(res) [INFO] [stdout] 847 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:846:25 [INFO] [stdout] | [INFO] [stdout] 846 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:878:42 [INFO] [stdout] | [INFO] [stdout] 878 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 879 | | let inner = inner.0; [INFO] [stdout] 880 | | let method = InvalidateRefreshTokenSvc(inner); [INFO] [stdout] 881 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 888 | | Ok(res) [INFO] [stdout] 889 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:888:25 [INFO] [stdout] | [INFO] [stdout] 888 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:918:42 [INFO] [stdout] | [INFO] [stdout] 918 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 919 | | let inner = inner.0; [INFO] [stdout] 920 | | let method = VerifyUserEmailSvc(inner); [INFO] [stdout] 921 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 928 | | Ok(res) [INFO] [stdout] 929 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:928:25 [INFO] [stdout] | [INFO] [stdout] 928 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:958:42 [INFO] [stdout] | [INFO] [stdout] 958 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 959 | | let inner = inner.0; [INFO] [stdout] 960 | | let method = ResendVerifyEmailSvc(inner); [INFO] [stdout] 961 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 968 | | Ok(res) [INFO] [stdout] 969 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:968:25 [INFO] [stdout] | [INFO] [stdout] 968 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:998:42 [INFO] [stdout] | [INFO] [stdout] 998 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 999 | | let inner = inner.0; [INFO] [stdout] 1000 | | let method = HashPasswordSvc(inner); [INFO] [stdout] 1001 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1008 | | Ok(res) [INFO] [stdout] 1009 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1013:41 [INFO] [stdout] | [INFO] [stdout] 1013 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1014 | | Ok( [INFO] [stdout] 1015 | | http::Response::builder() [INFO] [stdout] 1016 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 1022 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1014:25 [INFO] [stdout] | [INFO] [stdout] 1014 | / Ok( [INFO] [stdout] 1015 | | http::Response::builder() [INFO] [stdout] 1016 | | .status(200) [INFO] [stdout] 1017 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 1020 | | .unwrap(), [INFO] [stdout] 1021 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1439:42 [INFO] [stdout] | [INFO] [stdout] 1439 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1440 | | let inner = inner.0; [INFO] [stdout] 1441 | | let method = GetUserDetailsSvc(inner); [INFO] [stdout] 1442 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1449 | | Ok(res) [INFO] [stdout] 1450 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1449:25 [INFO] [stdout] | [INFO] [stdout] 1449 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1479:42 [INFO] [stdout] | [INFO] [stdout] 1479 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1480 | | let inner = inner.0; [INFO] [stdout] 1481 | | let method = GetSellerDetailsSvc(inner); [INFO] [stdout] 1482 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1489 | | Ok(res) [INFO] [stdout] 1490 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1489:25 [INFO] [stdout] | [INFO] [stdout] 1489 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1519:42 [INFO] [stdout] | [INFO] [stdout] 1519 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1520 | | let inner = inner.0; [INFO] [stdout] 1521 | | let method = RegisterNewUserSvc(inner); [INFO] [stdout] 1522 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1529 | | Ok(res) [INFO] [stdout] 1530 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1529:25 [INFO] [stdout] | [INFO] [stdout] 1529 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1559:42 [INFO] [stdout] | [INFO] [stdout] 1559 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1560 | | let inner = inner.0; [INFO] [stdout] 1561 | | let method = UpdateUserFCMSvc(inner); [INFO] [stdout] 1562 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1569 | | Ok(res) [INFO] [stdout] 1570 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1569:25 [INFO] [stdout] | [INFO] [stdout] 1569 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1599:42 [INFO] [stdout] | [INFO] [stdout] 1599 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1600 | | let inner = inner.0; [INFO] [stdout] 1601 | | let method = UpdateUserDetailsSvc(inner); [INFO] [stdout] 1602 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1609 | | Ok(res) [INFO] [stdout] 1610 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1609:25 [INFO] [stdout] | [INFO] [stdout] 1609 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1614:41 [INFO] [stdout] | [INFO] [stdout] 1614 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1615 | | Ok( [INFO] [stdout] 1616 | | http::Response::builder() [INFO] [stdout] 1617 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 1623 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust_webservice-41f12be2fe718a60/out/auth.rs:1615:25 [INFO] [stdout] | [INFO] [stdout] 1615 | / Ok( [INFO] [stdout] 1616 | | http::Response::builder() [INFO] [stdout] 1617 | | .status(200) [INFO] [stdout] 1618 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 1621 | | .unwrap(), [INFO] [stdout] 1622 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_webservice` (bin "rust_webservice") due to 38 previous errors; 100 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a300bf4561651fcbe01762eee6185e78e7cd75510b1afc2b090f14321b232348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a300bf4561651fcbe01762eee6185e78e7cd75510b1afc2b090f14321b232348", kill_on_drop: false }` [INFO] [stdout] a300bf4561651fcbe01762eee6185e78e7cd75510b1afc2b090f14321b232348