[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/aff74e86206873a5cad49f132369a4b002e3445f against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNecoHorne%2Frust_webservice" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NecoHorne/rust_webservice on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b9ae7b40a1e61e048d61443c786df56215a1e846165c4db12378c2a6fb9fa6 [INFO] running `Command { std: "docker" "start" "-a" "d2b9ae7b40a1e61e048d61443c786df56215a1e846165c4db12378c2a6fb9fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b9ae7b40a1e61e048d61443c786df56215a1e846165c4db12378c2a6fb9fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b9ae7b40a1e61e048d61443c786df56215a1e846165c4db12378c2a6fb9fa6", kill_on_drop: false }` [INFO] [stdout] d2b9ae7b40a1e61e048d61443c786df56215a1e846165c4db12378c2a6fb9fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84041150cb65248fc28636a37f48536fb9e8cdb53f25d0bb5d421646be20c6a [INFO] running `Command { std: "docker" "start" "-a" "a84041150cb65248fc28636a37f48536fb9e8cdb53f25d0bb5d421646be20c6a", 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 version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.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] Checking pin-project-lite v0.2.9 [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] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [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 async-trait v0.1.53 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling aead v0.4.3 [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 serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [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] Compiling atomic v0.5.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling prettyplease v0.1.11 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking globwalk v0.8.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 filetime v0.2.16 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [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 openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.7.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking axum-core v0.2.4 [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 pin-project v1.0.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking email_address v0.2.1 [INFO] [stderr] Checking normpath v0.3.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking quoted_printable v0.4.5 [INFO] [stderr] Checking bcrypt v0.13.0 [INFO] [stderr] Checking dotenv_codegen v0.15.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Checking prost-types v0.10.1 [INFO] [stderr] Checking lettre v0.10.0-rc.7 [INFO] [stderr] Checking diesel v1.4.8 [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-native-tls v0.3.0 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling rust_webservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.19 [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 redis v0.21.5 [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 hyper-tls v0.5.0 [INFO] [stderr] Checking axum v0.5.6 [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)]` 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)]` 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)]` 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: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)]` on by default [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: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: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: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: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/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/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/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/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/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/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/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/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: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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 7 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 6 | | user_id -> Unsigned, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 16 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 15 | | published -> Bool, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 41 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 40 | | user_rating -> Decimal, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 50 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] ... | [INFO] [stdout] 7 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 49 | | user_id -> Unsigned, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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)]` 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/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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/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] 6 | | user_id -> Unsigned, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 16 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 95 warnings emitted [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] 15 | | published -> Bool, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 41 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 40 | | user_rating -> Decimal, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 50 | | } [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] 49 | | user_id -> Unsigned, [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_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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)]` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 95 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.72s [INFO] running `Command { std: "docker" "inspect" "a84041150cb65248fc28636a37f48536fb9e8cdb53f25d0bb5d421646be20c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84041150cb65248fc28636a37f48536fb9e8cdb53f25d0bb5d421646be20c6a", kill_on_drop: false }` [INFO] [stdout] a84041150cb65248fc28636a37f48536fb9e8cdb53f25d0bb5d421646be20c6a