[INFO] cloning repository https://github.com/NolValue/atomic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NolValue/atomic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolValue%2Fatomic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolValue%2Fatomic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9d4e0183a28f9c62da939b9d28c2ed0963fd216 [INFO] checking NolValue/atomic/c9d4e0183a28f9c62da939b9d28c2ed0963fd216 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%2FNolValue%2Fatomic" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NolValue/atomic 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/NolValue/atomic [INFO] finished tweaking git repo https://github.com/NolValue/atomic [INFO] tweaked toml for git repo https://github.com/NolValue/atomic written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NolValue/atomic 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f93fcd685a9bb491dd56127f1fe1a51c1a7d20dd69161777c40de3b40cd7ca3d [INFO] running `Command { std: "docker" "start" "-a" "f93fcd685a9bb491dd56127f1fe1a51c1a7d20dd69161777c40de3b40cd7ca3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f93fcd685a9bb491dd56127f1fe1a51c1a7d20dd69161777c40de3b40cd7ca3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f93fcd685a9bb491dd56127f1fe1a51c1a7d20dd69161777c40de3b40cd7ca3d", kill_on_drop: false }` [INFO] [stdout] f93fcd685a9bb491dd56127f1fe1a51c1a7d20dd69161777c40de3b40cd7ca3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 272f10141210e41eb2996db9902cdc8b4480ac6db93e0809c636f3e600e7a814 [INFO] running `Command { std: "docker" "start" "-a" "272f10141210e41eb2996db9902cdc8b4480ac6db93e0809c636f3e600e7a814", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.1.0 (https://github.com/SergioBenitez/proc-macro2-diagnostics.git?rev=13fbb43#13fbb43d) [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling cookie v0.15.0-dev (https://github.com/SergioBenitez/cookie-rs.git?rev=3795f2e#3795f2e6) [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tracing-core v0.1.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c) [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking polyval v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling hkdf v0.9.0 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling dashmap v4.0.0-rc6 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling aes-gcm v0.6.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling inlinable_string v0.1.11 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c) [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking atomic v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking ubyte v0.9.1 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking rust-argon2 v0.8.2 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269) [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pear_codegen v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556) [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269) [INFO] [stderr] Compiling ref-cast v1.0.2 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269) [INFO] [stderr] Compiling rocket_contrib_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c) [INFO] [stderr] Compiling pear v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556) [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking multer v1.2.2 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c) [INFO] [stderr] Checking rocket_contrib v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c) [INFO] [stderr] Checking atomic-serv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `login` [INFO] [stdout] --> src/auth/routes.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn login( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/auth/routes.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn logout(session: Session, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `refresh` [INFO] [stdout] --> src/auth/routes.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn refresh(session: SessionFull, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validate` [INFO] [stdout] --> src/auth/routes.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn validate(sess: Session, conn: AtomicDB) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_following` [INFO] [stdout] --> src/follow/routes.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::follow::{create_follow, delete_follow, get_following}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create` [INFO] [stdout] --> src/follow/routes.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create(id: String, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/follow/routes.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn delete(id: String, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::internal::Input` [INFO] [stdout] --> src/post/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::internal::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::data::ByteUnit` [INFO] [stdout] --> src/post/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::data::ByteUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::io::BufWriter` [INFO] [stdout] --> src/post/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::futures::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::TryFutureExt` [INFO] [stdout] --> src/post/model.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::outcome::Outcome::Success` [INFO] [stdout] --> src/post/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::outcome::Outcome::Success; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::Stream` [INFO] [stdout] --> src/post/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket::response::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::tokio` [INFO] [stdout] --> src/post/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rocket::tokio; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/post/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Bytes` [INFO] [stdout] --> src/post/model.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufReader, Bytes}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/post/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MediaType` and `Poll` [INFO] [stdout] --> src/post/model.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::media::model::{MediaType, Poll}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create` [INFO] [stdout] --> src/post/routes.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create(post: Post, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login` [INFO] [stdout] --> src/auth/routes.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn login( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/post/routes.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn update(mut post: Json, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/post/routes.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn delete(pid: String, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/auth/routes.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn logout(session: Session, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/routes.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `refresh` [INFO] [stdout] --> src/auth/routes.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn refresh(session: SessionFull, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `communities` [INFO] [stdout] --> src/routes.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "communities")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `communities` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validate` [INFO] [stdout] --> src/auth/routes.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn validate(sess: Session, conn: AtomicDB) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `collections` [INFO] [stdout] --> src/routes.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "collections")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `collections` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `messages` [INFO] [stdout] --> src/routes.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "messages")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `messages` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_following` [INFO] [stdout] --> src/follow/routes.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::follow::{create_follow, delete_follow, get_following}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create` [INFO] [stdout] --> src/follow/routes.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create(id: String, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/follow/routes.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn delete(id: String, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::internal::Input` [INFO] [stdout] --> src/post/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::internal::Input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::data::ByteUnit` [INFO] [stdout] --> src/post/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::data::ByteUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::io::BufWriter` [INFO] [stdout] --> src/post/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::futures::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::futures::TryFutureExt` [INFO] [stdout] --> src/post/model.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::outcome::Outcome::Success` [INFO] [stdout] --> src/post/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::outcome::Outcome::Success; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::Stream` [INFO] [stdout] --> src/post/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket::response::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::tokio` [INFO] [stdout] --> src/post/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rocket::tokio; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/post/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Bytes` [INFO] [stdout] --> src/post/model.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufReader, Bytes}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/post/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MediaType` and `Poll` [INFO] [stdout] --> src/post/model.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::media::model::{MediaType, Poll}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create` [INFO] [stdout] --> src/post/routes.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create(post: Post, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/user/routes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/post/routes.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn update(mut post: Json, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/user/routes.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn get(uid: String, conn: AtomicDB) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/post/routes.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn delete(pid: String, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create` [INFO] [stdout] --> src/user/routes.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn create(ul: Json, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/routes.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/user/routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn update(mut user: Json, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `communities` [INFO] [stdout] --> src/routes.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "communities")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `communities` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/user/routes.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn delete(sess: Session, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `collections` [INFO] [stdout] --> src/routes.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "collections")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `collections` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `messages` [INFO] [stdout] --> src/routes.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "messages")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `messages` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_fling` [INFO] [stdout] --> src/user/routes.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn get_fling(id: String, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_fler` [INFO] [stdout] --> src/user/routes.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn get_fler(id: String, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::media` [INFO] [stdout] --> src/media/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::schema::media; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/user/routes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/user/routes.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn get(uid: String, conn: AtomicDB) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create` [INFO] [stdout] --> src/user/routes.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn create(ul: Json, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/user/routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn update(mut user: Json, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/user/routes.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn delete(sess: Session, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_fling` [INFO] [stdout] --> src/user/routes.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn get_fling(id: String, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_fler` [INFO] [stdout] --> src/user/routes.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn get_fler(id: String, conn: AtomicDB) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::media` [INFO] [stdout] --> src/media/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::schema::media; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth/routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut cookies: &CookieJar<'_>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth/routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut cookies: &CookieJar<'_>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth/routes.rs:40:55 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn logout(session: Session, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth/routes.rs:55:60 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn refresh(session: SessionFull, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth/routes.rs:40:55 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn logout(session: Session, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auth/routes.rs:55:60 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn refresh(session: SessionFull, conn: AtomicDB, mut cookies: &CookieJar<'_>) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/post/routes.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create(post: Post, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/post/routes.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create(post: Post, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/post/routes.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn update(mut post: Json, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/post/routes.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn update(mut post: Json, conn: AtomicDB, auth: Session) -> JsonValue { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create_follow(mut fol: Follow, conn: &PgConnection) -> i32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn create_follow(mut fol: Follow, conn: &PgConnection) -> i32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn delete_f_by_uid(mut fol: String, conn: &PgConnection) -> i32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn delete_f_by_uid(mut fol: String, conn: &PgConnection) -> i32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_following(mut fol: Follow, conn: &PgConnection) -> bool{ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_following(mut fol: Follow, conn: &PgConnection) -> bool{ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn delete_follow(mut fol: Follow, conn: &PgConnection) -> i32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/follow/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn delete_follow(mut fol: Follow, conn: &PgConnection) -> i32 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_media` is never used [INFO] [stdout] --> src/media/model.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MediaType { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 6 | fn to_media(&self, post: String) -> Media; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `post`, `content_type`, and `content` are never read [INFO] [stdout] --> src/media/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Media{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | post: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | content_type: i16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | content: Value [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/auth/model.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [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_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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: `#[warn(non_local_definitions)]` on by default [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/auth/model.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [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_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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/auth/model.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [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_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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/auth/model.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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/follow/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/follow/model.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/follow/model.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/follow/model.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/post/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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] 32 | 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/post/model.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_post` [INFO] [stdout] 32 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/post/model.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_post` [INFO] [stdout] 32 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/post/model.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_post` [INFO] [stdout] 32 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/post/model.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_postalterable` [INFO] [stdout] 45 | #[table_name = "posts"] [INFO] [stdout] 46 | pub struct PostAlterable { [INFO] [stdout] | ------------- `PostAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/post/model.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_postalterable` [INFO] [stdout] 45 | #[table_name = "posts"] [INFO] [stdout] 46 | pub struct PostAlterable { [INFO] [stdout] | ------------- `PostAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [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: method `to_media` is never used [INFO] [stdout] --> src/media/model.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MediaType { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 6 | fn to_media(&self, post: String) -> Media; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `post`, `content_type`, and `content` are never read [INFO] [stdout] --> src/media/model.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Media{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | post: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | content_type: i16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | content: Value [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [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/auth/model.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [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_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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: `#[warn(non_local_definitions)]` on by default [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/auth/model.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [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_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] | | --- `uid` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [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/auth/model.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [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_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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/auth/model.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Insertable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_auth` [INFO] [stdout] 27 | pub struct Auth { [INFO] [stdout] | ---- `Auth` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] 5 | | refresh_token -> Varchar, [INFO] [stdout] | | ------------- `refresh_token` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_refresh_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/follow/model.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/follow/model.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/follow/model.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] 5 | | refresh_token -> Varchar, [INFO] [stdout] 6 | | access_token -> Varchar, [INFO] [stdout] | | ------------ `access_token` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_access_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/follow/model.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_follow` [INFO] [stdout] 5 | pub struct Follow { [INFO] [stdout] | ------ `Follow` 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/post/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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] 32 | 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | auth_expiry -> Timestamp, [INFO] [stdout] | | ----------- `auth_expiry` is not local [INFO] [stdout] 8 | | nickname -> Nullable, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_auth_expiry` [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/post/model.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_post` [INFO] [stdout] 32 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/post/model.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_post` [INFO] [stdout] 32 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/post/model.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_post` [INFO] [stdout] 32 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 8 | | nickname -> Nullable, [INFO] [stdout] | | -------- `nickname` is not local [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_nickname` [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/post/model.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_postalterable` [INFO] [stdout] 45 | #[table_name = "posts"] [INFO] [stdout] 46 | pub struct PostAlterable { [INFO] [stdout] | ------------- `PostAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/post/model.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_postalterable` [INFO] [stdout] 45 | #[table_name = "posts"] [INFO] [stdout] 46 | pub struct PostAlterable { [INFO] [stdout] | ------------- `PostAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] | | ------ `source` is not local [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_source` [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] 16 | | target -> Varchar, [INFO] [stdout] | | ------ `target` is not local [INFO] [stdout] 17 | | created_on -> Timestamp, [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_target` [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] 16 | | target -> Varchar, [INFO] [stdout] 17 | | created_on -> Timestamp, [INFO] [stdout] | | ---------- `created_on` is not local [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_on` [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] | | --- `uid` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] 5 | | refresh_token -> Varchar, [INFO] [stdout] | | ------------- `refresh_token` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_refresh_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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] | | ---- `post` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_post` [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] 5 | | refresh_token -> Varchar, [INFO] [stdout] 6 | | access_token -> Varchar, [INFO] [stdout] | | ------------ `access_token` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_access_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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] 25 | | content_type -> Nullable, [INFO] [stdout] | | ------------ `content_type` is not local [INFO] [stdout] 26 | | content -> Nullable, [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_content_type` [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] 25 | | content_type -> Nullable, [INFO] [stdout] 26 | | content -> Nullable, [INFO] [stdout] | | ------- `content` is not local [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_content` [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | auth_expiry -> Timestamp, [INFO] [stdout] | | ----------- `auth_expiry` is not local [INFO] [stdout] 8 | | nickname -> Nullable, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_auth_expiry` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> 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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | auths (id) { [INFO] [stdout] 3 | | id -> Varchar, [INFO] [stdout] 4 | | uid -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 8 | | nickname -> Nullable, [INFO] [stdout] | | -------- `nickname` is not local [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_nickname` [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 33 | | source_type -> 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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] | | ----------- `source_type` 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_source_type` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] 34 | | source_id -> Nullable, [INFO] [stdout] | | --------- `source_id` 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_source_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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] | | ------ `source` is not local [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_source` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] 34 | | source_id -> Nullable, [INFO] [stdout] 35 | | public -> Nullable, [INFO] [stdout] | | ------ `public` 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_public` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | reshares -> Nullable, [INFO] [stdout] | | -------- `reshares` 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_reshares` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 37 | | comments -> Nullable, [INFO] [stdout] | | -------- `comments` 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_comments` [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] 16 | | target -> Varchar, [INFO] [stdout] | | ------ `target` is not local [INFO] [stdout] 17 | | created_on -> Timestamp, [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_target` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 38 | | poster -> Varchar, [INFO] [stdout] | | ------ `poster` 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_poster` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | content -> Text, [INFO] [stdout] | | ------- `content` is not local [INFO] [stdout] 40 | | created_on -> Timestamp, [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_content` [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/schema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / table! { [INFO] [stdout] 13 | | follows (id) { [INFO] [stdout] 14 | | id -> Varchar, [INFO] [stdout] 15 | | source -> Varchar, [INFO] [stdout] 16 | | target -> Varchar, [INFO] [stdout] 17 | | created_on -> Timestamp, [INFO] [stdout] | | ---------- `created_on` is not local [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_on` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 40 | | created_on -> Timestamp, [INFO] [stdout] | | ---------- `created_on` 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_created_on` [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] | | ---- `post` is not local [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_post` [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] 25 | | content_type -> Nullable, [INFO] [stdout] | | ------------ `content_type` is not local [INFO] [stdout] 26 | | content -> Nullable, [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_content_type` [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/schema.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / table! { [INFO] [stdout] 22 | | media (id) { [INFO] [stdout] 23 | | id -> Varchar, [INFO] [stdout] 24 | | post -> Nullable, [INFO] [stdout] 25 | | content_type -> Nullable, [INFO] [stdout] 26 | | content -> Nullable, [INFO] [stdout] | | ------- `content` is not local [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_content` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> 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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] | | --- `url` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_url` [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] 48 | | nickname -> Nullable, [INFO] [stdout] | | -------- `nickname` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_nickname` [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] 48 | | nickname -> Nullable, [INFO] [stdout] 49 | | first_name -> Nullable, [INFO] [stdout] | | ---------- `first_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | last_name -> Nullable, [INFO] [stdout] | | --------- `last_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 33 | | source_type -> 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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] 52 | | password -> Varchar, [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 52 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/user/model.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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] 13 | 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: 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/user/model.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_user` [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- `User` 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/user/model.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_user` [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- `User` 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/user/model.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_user` [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- `User` 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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] | | ----------- `source_type` 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_source_type` [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/user/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_useralterable` [INFO] [stdout] 24 | #[table_name = "users"] [INFO] [stdout] 25 | pub struct UserAlterable { [INFO] [stdout] | ------------- `UserAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/user/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_useralterable` [INFO] [stdout] 24 | #[table_name = "users"] [INFO] [stdout] 25 | pub struct UserAlterable { [INFO] [stdout] | ------------- `UserAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapeamp` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | static ref escapeamp: Regex = Regex::new(r"&").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEAMP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapegt` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | static ref escapegt: Regex = Regex::new(r">").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `ESCAPEGT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapelt` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | static ref escapelt: Regex = Regex::new(r"<").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `ESCAPELT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapequote` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | static ref escapequote: Regex = Regex::new(r#"""#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEQUOTE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapesingle` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | static ref escapesingle: Regex = Regex::new(r"'").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapesingle` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | static ref escapesingle: Regex = Regex::new(r"/").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapebold` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | static ref escapebold: Regex = Regex::new(r"(\\\*)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEBOLD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapeitalics` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | static ref escapeitalics: Regex = Regex::new(r"(\\_)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEITALICS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapestrike` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | static ref escapestrike: Regex = Regex::new(r"(\\~)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESTRIKE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bold` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | static ref bold: Regex = Regex::new(r"(?s)(\*(?P.*?)\*)").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BOLD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `italics` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | static ref italics: Regex = Regex::new(r"(?s)(_(?P.*?)_)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `ITALICS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `strike` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | static ref strike: Regex = Regex::new(r"(?s)(~(?P.*?)~)").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRIKE` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] 34 | | source_id -> Nullable, [INFO] [stdout] | | --------- `source_id` 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_source_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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] 34 | | source_id -> Nullable, [INFO] [stdout] 35 | | public -> Nullable, [INFO] [stdout] | | ------ `public` 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_public` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | reshares -> Nullable, [INFO] [stdout] | | -------- `reshares` 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_reshares` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 37 | | comments -> Nullable, [INFO] [stdout] | | -------- `comments` 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_comments` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 38 | | poster -> Varchar, [INFO] [stdout] | | ------ `poster` 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_poster` [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: 111 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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | content -> Text, [INFO] [stdout] | | ------- `content` is not local [INFO] [stdout] 40 | | created_on -> Timestamp, [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_content` [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/schema.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / table! { [INFO] [stdout] 31 | | posts (id) { [INFO] [stdout] 32 | | id -> Varchar, [INFO] [stdout] 33 | | source_type -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 40 | | created_on -> Timestamp, [INFO] [stdout] | | ---------- `created_on` 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_created_on` [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] | | --- `url` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_url` [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] 48 | | nickname -> Nullable, [INFO] [stdout] | | -------- `nickname` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_nickname` [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] 48 | | nickname -> Nullable, [INFO] [stdout] 49 | | first_name -> Nullable, [INFO] [stdout] | | ---------- `first_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | last_name -> Nullable, [INFO] [stdout] | | --------- `last_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] 52 | | password -> Varchar, [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | users (id) { [INFO] [stdout] 46 | | id -> Varchar, [INFO] [stdout] 47 | | url -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 52 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/user/model.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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] 13 | 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: 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/user/model.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_user` [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- `User` 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/user/model.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_user` [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- `User` 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/user/model.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone)] [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_user` [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- `User` 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/user/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_useralterable` [INFO] [stdout] 24 | #[table_name = "users"] [INFO] [stdout] 25 | pub struct UserAlterable { [INFO] [stdout] | ------------- `UserAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/user/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(AsChangeset, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_useralterable` [INFO] [stdout] 24 | #[table_name = "users"] [INFO] [stdout] 25 | pub struct UserAlterable { [INFO] [stdout] | ------------- `UserAlterable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapeamp` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | static ref escapeamp: Regex = Regex::new(r"&").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEAMP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapegt` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | static ref escapegt: Regex = Regex::new(r">").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `ESCAPEGT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapelt` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | static ref escapelt: Regex = Regex::new(r"<").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `ESCAPELT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapequote` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | static ref escapequote: Regex = Regex::new(r#"""#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEQUOTE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapesingle` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | static ref escapesingle: Regex = Regex::new(r"'").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapesingle` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | static ref escapesingle: Regex = Regex::new(r"/").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapebold` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | static ref escapebold: Regex = Regex::new(r"(\\\*)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEBOLD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapeitalics` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | static ref escapeitalics: Regex = Regex::new(r"(\\_)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEITALICS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `escapestrike` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | static ref escapestrike: Regex = Regex::new(r"(\\~)+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESTRIKE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bold` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | static ref bold: Regex = Regex::new(r"(?s)(\*(?P.*?)\*)").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BOLD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `italics` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | static ref italics: Regex = Regex::new(r"(?s)(_(?P.*?)_)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `ITALICS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `strike` should have an upper case name [INFO] [stdout] --> src/utils/mod.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | static ref strike: Regex = Regex::new(r"(?s)(~(?P.*?)~)").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRIKE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 111 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c), rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c), ubyte v0.9.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "272f10141210e41eb2996db9902cdc8b4480ac6db93e0809c636f3e600e7a814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "272f10141210e41eb2996db9902cdc8b4480ac6db93e0809c636f3e600e7a814", kill_on_drop: false }` [INFO] [stdout] 272f10141210e41eb2996db9902cdc8b4480ac6db93e0809c636f3e600e7a814