[INFO] cloning repository https://github.com/vagicc/www.xueyigou.cn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vagicc/www.xueyigou.cn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagicc%2Fwww.xueyigou.cn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagicc%2Fwww.xueyigou.cn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7e85d5edfcd9333261c3a3263abdee60b3e93f6 [INFO] testing vagicc/www.xueyigou.cn against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagicc%2Fwww.xueyigou.cn" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vagicc/www.xueyigou.cn on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vagicc/www.xueyigou.cn [INFO] finished tweaking git repo https://github.com/vagicc/www.xueyigou.cn [INFO] tweaked toml for git repo https://github.com/vagicc/www.xueyigou.cn written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vagicc/www.xueyigou.cn 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48a73ce0997fbfda241d975cce6807cf0c53a417fd919e5fa0571f02fad8b984 [INFO] running `Command { std: "docker" "start" "-a" "48a73ce0997fbfda241d975cce6807cf0c53a417fd919e5fa0571f02fad8b984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48a73ce0997fbfda241d975cce6807cf0c53a417fd919e5fa0571f02fad8b984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a73ce0997fbfda241d975cce6807cf0c53a417fd919e5fa0571f02fad8b984", kill_on_drop: false }` [INFO] [stdout] 48a73ce0997fbfda241d975cce6807cf0c53a417fd919e5fa0571f02fad8b984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a923fa078f54d32f183a85d538b39f368f7da25b7ce7b5ae3f230751db1cb76 [INFO] running `Command { std: "docker" "start" "-a" "1a923fa078f54d32f183a85d538b39f368f7da25b7ce7b5ae3f230751db1cb76", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling blowfish v0.7.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling bcrypt v0.9.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling bigdecimal v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling handlebars v4.1.5 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling xueyigou v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/handlers/approve_handler.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/handlers/goods_handler.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local` and `NaiveDateTime` [INFO] [stdout] --> src/handlers/goods_handler.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::prelude::{Local, NaiveDateTime}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/handlers/login_handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::primitive` [INFO] [stdout] --> src/handlers/login_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::primitive; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reply` [INFO] [stdout] --> src/handlers/logout_handler.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{Rejection, Reply}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handlers/settings_handler.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | if (verify_password( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 81 | )) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 ~ if verify_password( [INFO] [stdout] 78 | &form.old_passwd, [INFO] [stdout] 79 | userdata.salt.clone(), [INFO] [stdout] 80 | &userdata.password, [INFO] [stdout] 81 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> src/models/approve_model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/models/banners_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::banners` [INFO] [stdout] --> src/models/banners_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::schema::banners; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/models/customized_services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::customized_services` [INFO] [stdout] --> src/models/customized_services.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::schema::customized_services; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `csInfo` should have an upper camel case name [INFO] [stdout] --> src/models/customized_services.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct csInfo { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CsInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/models/index_works_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserData` [INFO] [stdout] --> src/models/index_works_model.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::user_model::{find_user, UserData}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::index_works` [INFO] [stdout] --> src/models/index_works_model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::index_works; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::users` [INFO] [stdout] --> src/models/index_works_model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::schema::users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_COST` and `hash_with_salt` [INFO] [stdout] --> src/models/user_model.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use bcrypt::{hash_with_salt, verify, DEFAULT_COST}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/models/public_welfare_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::public_welfare` [INFO] [stdout] --> src/models/public_welfare_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::schema::public_welfare; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/models/public_welfare_model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `publicWelfare` should have an upper camel case name [INFO] [stdout] --> src/models/public_welfare_model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct publicWelfare { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PublicWelfare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/models/honor_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::honor` [INFO] [stdout] --> src/models/honor_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::schema::honor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `honorInfo` should have an upper camel case name [INFO] [stdout] --> src/models/honor_model.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct honorInfo { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HonorInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/routes/link_route.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `establish_connection` [INFO] [stdout] --> src/session.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db::{establish_connection, pg_pool, PgPooledConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude` [INFO] [stdout] --> src/session.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::prelude; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template` [INFO] [stdout] --> src/handlers/login_handler.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let template = " [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template` [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/handlers/login_handler.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut data = Map::new(); [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: value assigned to `html` is never read [INFO] [stdout] --> src/handlers/signup_handler.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut html = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html` is never read [INFO] [stdout] --> src/handlers/settings_handler.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut html = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `userdata` [INFO] [stdout] --> src/handlers/settings_handler.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | ... let userdata = userdata.change_passwd(&form.password, session.db()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_userdata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html` is never read [INFO] [stdout] --> src/handlers/settings_handler.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut html = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobile` [INFO] [stdout] --> src/handlers/settings_handler.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mobile = &user.mobile; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `student_certificate` [INFO] [stdout] --> src/handlers/approve_handler.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let student_certificate: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_student_certificate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html` is never read [INFO] [stdout] --> src/handlers/approve_handler.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut html: String = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html` is never read [INFO] [stdout] --> src/handlers/approve_handler.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut html = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html_name` is never read [INFO] [stdout] --> src/handlers/approve_handler.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let mut html_name = ""; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html_name` is never read [INFO] [stdout] --> src/handlers/approve_handler.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | html_name = "qualification.html"; //路到是否从普通用户切换(企业,设计师) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/approve_handler.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn qualification(mut session: Session) -> Result { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html` is never read [INFO] [stdout] --> src/handlers/goods_handler.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut html = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/handlers/goods_handler.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(user) = session.user() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goods_img` [INFO] [stdout] --> src/handlers/goods_handler.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let goods_img=post.get("goods_img").unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_goods_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `html` is never read [INFO] [stdout] --> src/handlers/goods_handler.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut html = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobile` [INFO] [stdout] --> src/handlers/goods_handler.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mobile = &user.mobile; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/handlers/test_handler.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | Some(u) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/test_handler.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | pub async fn is_login(mut session: Session) -> ResultWarp { [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/handlers/home_handler.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn index(mut session: Session) -> ResultWarp { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/handlers/login_handler.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | Err(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asdf` [INFO] [stdout] --> src/handlers/login_handler.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let asdf = warp::reply::html("k"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_asdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/login_handler.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn do_login(mut session: Session, form: LoginForm) -> ResultWarp { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/test_handler.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `username` is never read [INFO] [stdout] --> src/handlers/signup_handler.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut username = String::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> src/handlers/test_handler.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let integer = 1024; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interger_with_integer` [INFO] [stdout] --> src/handlers/test_handler.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let interger_with_integer = 1_000_000_000u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interger_with_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bing` [INFO] [stdout] --> src/handlers/test_handler.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let bing = 0b10_000_000_000; //二进制 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> src/handlers/test_handler.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let float = 1.0; // 浮点数,默认为 f64 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float_with_underscore` [INFO] [stdout] --> src/handlers/test_handler.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let float_with_underscore = 0.000_1f32; // 浮点数,可以使用下划线分开。可以通过标注不使用默认类型 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_float_with_underscore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `characters` [INFO] [stdout] --> src/handlers/test_handler.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let characters: char = 'a'; // 字符char,使用单引号表示 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_characters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_row` [INFO] [stdout] --> src/models/user_model.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let updated_row = diesel::update(users.find(self.id)) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/models/user_model.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let sql = diesel::debug_query::(&query).to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/models/user_model.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/models/user_model.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let sql = diesel::debug_query::(&query).to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sha1` is never read [INFO] [stdout] --> src/models/user_model.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut sha1 = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/session.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/handlers/approve_handler.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct ServerError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 97 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/handlers/goods_handler.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct ServerError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 42 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_login` is never used [INFO] [stdout] --> src/handlers/login_handler.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn do_login(mut session: Session, form: LoginForm) -> ResultWarp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/handlers/test_handler.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct ServerError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 28 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `role`, and `status` are never read [INFO] [stdout] --> src/models/admin_model.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Admin { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub role: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub status: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Admin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LinkId` is never used [INFO] [stdout] --> src/models/link_model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type LinkId = i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `url`, and `added` are never read [INFO] [stdout] --> src/models/link_model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Link { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | pub added: NaiveDateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Link` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_link`, `get_links`, and `rm_links` are never used [INFO] [stdout] --> src/models/link_model.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Link { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 28 | pub fn add_link(new_link: AddLink, conn: &PgPooledConnection) -> QueryResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_links(conn: &PgPooledConnection) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn rm_links(id: LinkId, conn: &PgPooledConnection) -> QueryResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_html` is never used [INFO] [stdout] --> src/models/register_model.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn register_html() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_template` is never used [INFO] [stdout] --> src/models/register_model.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn register_template(name: &str, mut data: Map) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TYPES` is never used [INFO] [stdout] --> src/models/register_model.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | static TYPES: &'static str = "serde_json"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_data` is never used [INFO] [stdout] --> src/models/register_model.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn make_data() -> Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mobie` is never used [INFO] [stdout] --> src/models/user_model.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_mobie(mobile_phone: &String, conn: &PgPooledConnection) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerError` is never constructed [INFO] [stdout] --> src/routes/test_route.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct ServerError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload` is never used [INFO] [stdout] --> src/routes/test_route.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | async fn upload(param_file_name: String, form: FormData) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/admin_model.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_admin` [INFO] [stdout] 6 | pub struct Admin { [INFO] [stdout] | ----- `Admin` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/approve_model.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Insertable, Clone, Queryable, PartialEq, Eq)] [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_toapprove` [INFO] [stdout] 11 | #[table_name = "to_approve"] [INFO] [stdout] 12 | pub struct ToApprove { [INFO] [stdout] | --------- `ToApprove` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/approve_model.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Insertable, Clone, Queryable, PartialEq, Eq)] [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_toapprove` [INFO] [stdout] 11 | #[table_name = "to_approve"] [INFO] [stdout] 12 | pub struct ToApprove { [INFO] [stdout] | --------- `ToApprove` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/approve_model.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Insertable, Clone, Queryable, PartialEq, Eq)] [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_toapprove` [INFO] [stdout] 11 | #[table_name = "to_approve"] [INFO] [stdout] 12 | pub struct ToApprove { [INFO] [stdout] | --------- `ToApprove` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/approve_model.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Insertable, Clone, Queryable, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_toapprove` [INFO] [stdout] 11 | #[table_name = "to_approve"] [INFO] [stdout] 12 | pub struct ToApprove { [INFO] [stdout] | --------- `ToApprove` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/approve_model.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Clone, Insertable)] [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_newtoapprove` [INFO] [stdout] 56 | #[table_name = "to_approve"] [INFO] [stdout] 57 | pub struct NewToApprove { [INFO] [stdout] | ------------ `NewToApprove` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/approve_model.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Clone, Insertable)] [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_newtoapprove` [INFO] [stdout] 56 | #[table_name = "to_approve"] [INFO] [stdout] 57 | pub struct NewToApprove { [INFO] [stdout] | ------------ `NewToApprove` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/approve_model.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Clone, Insertable)] [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_newtoapprove` [INFO] [stdout] 56 | #[table_name = "to_approve"] [INFO] [stdout] 57 | pub struct NewToApprove { [INFO] [stdout] | ------------ `NewToApprove` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/banners_model.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Queryable, PartialEq, Eq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_banner` [INFO] [stdout] 10 | pub struct Banner { [INFO] [stdout] | ------ `Banner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/customized_services.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Queryable, PartialEq, PartialOrd, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_csinfo` [INFO] [stdout] 10 | pub struct csInfo { [INFO] [stdout] | ------ `csInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_enable_csInfo` should have a snake case name [INFO] [stdout] --> src/models/customized_services.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_enable_csInfo(conn: &PgPooledConnection) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_enable_cs_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/index_works_model.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Queryable, PartialEq, Eq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_indexworks` [INFO] [stdout] 12 | pub struct IndexWorks { [INFO] [stdout] | ---------- `IndexWorks` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/link_model.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Serialize, Deserialize, Insertable)] [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_addlink` [INFO] [stdout] 13 | #[table_name = "linksnap"] [INFO] [stdout] 14 | pub struct AddLink { [INFO] [stdout] | ------- `AddLink` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/link_model.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Serialize, Deserialize, Insertable)] [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_addlink` [INFO] [stdout] 13 | #[table_name = "linksnap"] [INFO] [stdout] 14 | pub struct AddLink { [INFO] [stdout] | ------- `AddLink` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/link_model.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Serialize, Deserialize, Insertable)] [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_addlink` [INFO] [stdout] 13 | #[table_name = "linksnap"] [INFO] [stdout] 14 | pub struct AddLink { [INFO] [stdout] | ------- `AddLink` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/link_model.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Queryable, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_link` [INFO] [stdout] 20 | pub struct Link { [INFO] [stdout] | ---- `Link` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user_model.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone, Queryable, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_userdata` [INFO] [stdout] 14 | pub struct UserData { [INFO] [stdout] | -------- `UserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/user_model.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, Queryable, Deserialize, Serialize)] [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] 50 | 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 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/models/public_welfare_model.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Queryable, PartialEq, Eq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_publicwelfare` [INFO] [stdout] 12 | pub struct publicWelfare { [INFO] [stdout] | ------------- `publicWelfare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/honor_model.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Queryable, PartialEq, PartialOrd, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_honorinfo` [INFO] [stdout] 10 | pub struct honorInfo { [INFO] [stdout] | --------- `honorInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_enable_honorInfo` should have a snake case name [INFO] [stdout] --> src/models/honor_model.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_enable_honorInfo(conn: &PgPooledConnection) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_enable_honor_info` [INFO] [stdout] [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 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] 5 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] 5 | | password -> Varchar, [INFO] [stdout] 6 | | salt -> Bpchar, [INFO] [stdout] | | ---- `salt` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_salt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | email -> Nullable, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 8 | | mobile -> Nullable, [INFO] [stdout] | | ------ `mobile` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_mobile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 9 | | role -> Nullable, [INFO] [stdout] | | ---- `role` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_role` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 10 | | status -> Nullable, [INFO] [stdout] | | ------ `status` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_status` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 11 | | create_time -> Nullable, [INFO] [stdout] | | ----------- `create_time` is not local [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_create_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | admins (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | last_login -> Nullable, [INFO] [stdout] | | ---------- `last_login` is not local [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_login` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | banners (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | banner_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | banners (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 19 | | banner_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | banners (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | banner_name -> Nullable, [INFO] [stdout] | | ----------- `banner_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_banner_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | banners (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | banner_name -> Nullable, [INFO] [stdout] 20 | | image_url -> Varchar, [INFO] [stdout] | | --------- `image_url` is not local [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image_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 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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | banners (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | banner_name -> Nullable, [INFO] [stdout] 20 | | image_url -> Varchar, [INFO] [stdout] 21 | | hyperlink -> Nullable, [INFO] [stdout] | | --------- `hyperlink` is not local [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hyperlink` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / table! { [INFO] [stdout] 17 | | banners (id) { [INFO] [stdout] 18 | | id -> Int4, [INFO] [stdout] 19 | | banner_name -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 22 | | is_enabled -> Bool, [INFO] [stdout] | | ---------- `is_enabled` is not local [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_enabled` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] | | ------- `cs_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cs_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] 30 | | hour_wage -> Float4, [INFO] [stdout] | | --------- `hour_wage` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hour_wage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] 30 | | hour_wage -> Float4, [INFO] [stdout] 31 | | day_wage -> Float4, [INFO] [stdout] | | -------- `day_wage` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_day_wage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 32 | | month_wage -> Float4, [INFO] [stdout] | | ---------- `month_wage` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_month_wage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 33 | | label -> Nullable, [INFO] [stdout] | | ----- `label` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_label` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 34 | | image_url -> Varchar, [INFO] [stdout] | | --------- `image_url` is not local [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image_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 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:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / table! { [INFO] [stdout] 27 | | customized_services (id) { [INFO] [stdout] 28 | | id -> Int8, [INFO] [stdout] 29 | | cs_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 35 | | is_enabled -> Bool, [INFO] [stdout] | | ---------- `is_enabled` is not local [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_enabled` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] | | --- `cid` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cid` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] 43 | | goods_name -> Varchar, [INFO] [stdout] | | ---------- `goods_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goods_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] 43 | | goods_name -> Varchar, [INFO] [stdout] 44 | | goods_sn -> Varchar, [INFO] [stdout] | | -------- `goods_sn` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goods_sn` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 45 | | cost_price -> Money, [INFO] [stdout] | | ---------- `cost_price` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cost_price` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 46 | | market_price -> Money, [INFO] [stdout] | | ------------ `market_price` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_market_price` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 47 | | sell_price -> Money, [INFO] [stdout] | | ---------- `sell_price` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_sell_price` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 48 | | donate_proportion -> Numeric, [INFO] [stdout] | | ----------------- `donate_proportion` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_donate_proportion` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 49 | | sku -> Varchar, [INFO] [stdout] | | --- `sku` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_sku` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | inventory -> Int4, [INFO] [stdout] | | --------- `inventory` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_inventory` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 51 | | goods_img -> Nullable, [INFO] [stdout] | | --------- `goods_img` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goods_img` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 52 | | enabled -> Nullable, [INFO] [stdout] | | ------- `enabled` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_enabled` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 53 | | is_virtual -> Nullable, [INFO] [stdout] | | ---------- `is_virtual` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_virtual` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 54 | | search_words -> Nullable, [INFO] [stdout] | | ------------ `search_words` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_search_words` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 55 | | visit -> Int8, [INFO] [stdout] | | ----- `visit` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_visit` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 56 | | sale -> Int4, [INFO] [stdout] | | ---- `sale` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_sale` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 57 | | comments -> Int8, [INFO] [stdout] | | -------- `comments` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [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 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:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 58 | | grade -> Int2, [INFO] [stdout] | | ----- `grade` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_grade` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 59 | | up_time -> Nullable, [INFO] [stdout] | | ------- `up_time` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_up_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 60 | | down_time -> Nullable, [INFO] [stdout] | | --------- `down_time` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_down_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 61 | | create_id -> Nullable, [INFO] [stdout] | | --------- `create_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_create_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / table! { [INFO] [stdout] 40 | | goods (id) { [INFO] [stdout] 41 | | id -> Int4, [INFO] [stdout] 42 | | cid -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 62 | | create_time -> Nullable, [INFO] [stdout] | | ----------- `create_time` is not local [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_create_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] | | --- `cid` is not local [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cid` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] | | ----- `cname` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cname` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] 70 | | parent_id -> Int4, [INFO] [stdout] | | --------- `parent_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_parent_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] 70 | | parent_id -> Int4, [INFO] [stdout] 71 | | level -> Int2, [INFO] [stdout] | | ----- `level` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_level` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 72 | | seo_title -> Nullable, [INFO] [stdout] | | --------- `seo_title` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_seo_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 73 | | seo_keywords -> Nullable, [INFO] [stdout] | | ------------ `seo_keywords` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_seo_keywords` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 74 | | seo_description -> Nullable, [INFO] [stdout] | | --------------- `seo_description` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_seo_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 75 | | order_by -> Int2, [INFO] [stdout] | | -------- `order_by` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_order_by` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 76 | | is_show -> Nullable, [INFO] [stdout] | | ------- `is_show` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_show` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 77 | | modify_id -> Nullable, [INFO] [stdout] | | --------- `modify_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modify_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 78 | | modify_time -> Nullable, [INFO] [stdout] | | ----------- `modify_time` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modify_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 79 | | create_id -> Nullable, [INFO] [stdout] | | --------- `create_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_create_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / table! { [INFO] [stdout] 67 | | goods_category (cid) { [INFO] [stdout] 68 | | cid -> Int4, [INFO] [stdout] 69 | | cname -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 80 | | create_time -> Nullable, [INFO] [stdout] | | ----------- `create_time` is not local [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_create_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / table! { [INFO] [stdout] 85 | | goods_description (id) { [INFO] [stdout] 86 | | id -> Int4, [INFO] [stdout] 87 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / table! { [INFO] [stdout] 85 | | goods_description (id) { [INFO] [stdout] 86 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 87 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / table! { [INFO] [stdout] 85 | | goods_description (id) { [INFO] [stdout] 86 | | id -> Int4, [INFO] [stdout] 87 | | goods_id -> Int4, [INFO] [stdout] | | -------- `goods_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goods_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / table! { [INFO] [stdout] 85 | | goods_description (id) { [INFO] [stdout] 86 | | id -> Int4, [INFO] [stdout] 87 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 90 | | type_ -> Nullable, [INFO] [stdout] | | ----- `type_` is not local [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_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 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:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / table! { [INFO] [stdout] 85 | | goods_description (id) { [INFO] [stdout] 86 | | id -> Int4, [INFO] [stdout] 87 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 91 | | description -> Nullable, [INFO] [stdout] | | ----------- `description` is not local [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] | | -------- `goods_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goods_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] 99 | | weight -> Numeric, [INFO] [stdout] | | ------ `weight` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_weight` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] 99 | | weight -> Numeric, [INFO] [stdout] 100 | | size -> Nullable, [INFO] [stdout] | | ---- `size` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_size` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 101 | | color -> Nullable, [INFO] [stdout] | | ----- `color` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_color` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 102 | | excerpt -> Nullable, [INFO] [stdout] | | ------- `excerpt` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_excerpt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 103 | | free_shipping -> Nullable, [INFO] [stdout] | | ------------- `free_shipping` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_free_shipping` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 104 | | seo_title -> Nullable, [INFO] [stdout] | | --------- `seo_title` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_seo_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 105 | | seo_keywords -> Nullable, [INFO] [stdout] | | ------------ `seo_keywords` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_seo_keywords` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 106 | | seo_description -> Nullable, [INFO] [stdout] | | --------------- `seo_description` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_seo_description` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 107 | | modify_id -> Nullable, [INFO] [stdout] | | --------- `modify_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modify_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / table! { [INFO] [stdout] 96 | | goods_detail (id) { [INFO] [stdout] 97 | | id -> Int4, [INFO] [stdout] 98 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 108 | | modify_time -> Nullable, [INFO] [stdout] | | ----------- `modify_time` is not local [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modify_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] | | --- `pid` is not local [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_pid` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] | | -------- `goods_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_goods_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] 116 | | small -> Nullable, [INFO] [stdout] | | ----- `small` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_small` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] 116 | | small -> Nullable, [INFO] [stdout] 117 | | middle -> Nullable, [INFO] [stdout] | | ------ `middle` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_middle` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 118 | | original -> Nullable, [INFO] [stdout] | | -------- `original` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_original` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 119 | | path -> Nullable, [INFO] [stdout] | | ---- `path` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_path` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 120 | | title -> Nullable, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 121 | | extension -> Nullable, [INFO] [stdout] | | --------- `extension` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_extension` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 123 | | type_ -> Nullable, [INFO] [stdout] | | ----- `type_` is not local [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_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 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:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / table! { [INFO] [stdout] 113 | | goods_photo (pid) { [INFO] [stdout] 114 | | pid -> Int4, [INFO] [stdout] 115 | | goods_id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 124 | | create_time -> Nullable, [INFO] [stdout] | | ----------- `create_time` is not local [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_create_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / table! { [INFO] [stdout] 129 | | honor (id) { [INFO] [stdout] 130 | | id -> Int8, [INFO] [stdout] 131 | | honor_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / table! { [INFO] [stdout] 129 | | honor (id) { [INFO] [stdout] 130 | | id -> Int8, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 131 | | honor_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / table! { [INFO] [stdout] 129 | | honor (id) { [INFO] [stdout] 130 | | id -> Int8, [INFO] [stdout] 131 | | honor_name -> Varchar, [INFO] [stdout] | | ---------- `honor_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_honor_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / table! { [INFO] [stdout] 129 | | honor (id) { [INFO] [stdout] 130 | | id -> Int8, [INFO] [stdout] 131 | | honor_name -> Varchar, [INFO] [stdout] 132 | | detail -> Nullable, [INFO] [stdout] | | ------ `detail` is not local [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_detail` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / table! { [INFO] [stdout] 129 | | honor (id) { [INFO] [stdout] 130 | | id -> Int8, [INFO] [stdout] 131 | | honor_name -> Varchar, [INFO] [stdout] 132 | | detail -> Nullable, [INFO] [stdout] 133 | | image_url -> Varchar, [INFO] [stdout] | | --------- `image_url` is not local [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image_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 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:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / table! { [INFO] [stdout] 129 | | honor (id) { [INFO] [stdout] 130 | | id -> Int8, [INFO] [stdout] 131 | | honor_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 134 | | hyper_url -> Nullable, [INFO] [stdout] | | --------- `hyper_url` is not local [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hyper_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 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:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / table! { [INFO] [stdout] 129 | | honor (id) { [INFO] [stdout] 130 | | id -> Int8, [INFO] [stdout] 131 | | honor_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 135 | | is_enabled -> Bool, [INFO] [stdout] | | ---------- `is_enabled` is not local [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_enabled` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] | | ----------- `works_title` is not local [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_works_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] 143 | | watch -> Int4, [INFO] [stdout] | | ----- `watch` is not local [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_watch` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] 143 | | watch -> Int4, [INFO] [stdout] 144 | | like -> Int4, [INFO] [stdout] | | ---- `like` is not local [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_like` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 145 | | image_url -> Varchar, [INFO] [stdout] | | --------- `image_url` is not local [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image_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 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:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 146 | | label -> Nullable, [INFO] [stdout] | | ----- `label` is not local [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_label` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 147 | | is_enable -> Bool, [INFO] [stdout] | | --------- `is_enable` is not local [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_enable` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 148 | | work_type -> Int2, [INFO] [stdout] | | --------- `work_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_work_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 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:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / table! { [INFO] [stdout] 140 | | index_works (id) { [INFO] [stdout] 141 | | id -> Int8, [INFO] [stdout] 142 | | works_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 149 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / table! { [INFO] [stdout] 154 | | linksnap (id) { [INFO] [stdout] 155 | | id -> Int4, [INFO] [stdout] 156 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / table! { [INFO] [stdout] 154 | | linksnap (id) { [INFO] [stdout] 155 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 156 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / table! { [INFO] [stdout] 154 | | linksnap (id) { [INFO] [stdout] 155 | | id -> Int4, [INFO] [stdout] 156 | | title -> Varchar, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / table! { [INFO] [stdout] 154 | | linksnap (id) { [INFO] [stdout] 155 | | id -> Int4, [INFO] [stdout] 156 | | title -> Varchar, [INFO] [stdout] 157 | | url -> Text, [INFO] [stdout] | | --- `url` is not local [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [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 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:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / table! { [INFO] [stdout] 154 | | linksnap (id) { [INFO] [stdout] 155 | | id -> Int4, [INFO] [stdout] 156 | | title -> Varchar, [INFO] [stdout] 157 | | url -> Text, [INFO] [stdout] 158 | | added -> Timestamp, [INFO] [stdout] | | ----- `added` is not local [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_added` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] | | ---------- `info_title` is not local [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_info_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] 166 | | date -> Date, [INFO] [stdout] | | ---- `date` is not local [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] 166 | | date -> Date, [INFO] [stdout] 167 | | watch -> Int4, [INFO] [stdout] | | ----- `watch` is not local [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_watch` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 168 | | image_url -> Varchar, [INFO] [stdout] | | --------- `image_url` is not local [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_image_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 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:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 169 | | hyperlink -> Nullable, [INFO] [stdout] | | --------- `hyperlink` is not local [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hyperlink` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 170 | | is_new -> Nullable, [INFO] [stdout] | | ------ `is_new` is not local [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_new` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 171 | | is_enable -> Bool, [INFO] [stdout] | | --------- `is_enable` is not local [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_enable` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / table! { [INFO] [stdout] 163 | | public_welfare (id) { [INFO] [stdout] 164 | | id -> Int8, [INFO] [stdout] 165 | | info_title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 172 | | welfare_type -> Int2, [INFO] [stdout] | | ------------ `welfare_type` is not local [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_welfare_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 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:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / table! { [INFO] [stdout] 177 | | sessions (id) { [INFO] [stdout] 178 | | id -> Int4, [INFO] [stdout] 179 | | cookie -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / table! { [INFO] [stdout] 177 | | sessions (id) { [INFO] [stdout] 178 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 179 | | cookie -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / table! { [INFO] [stdout] 177 | | sessions (id) { [INFO] [stdout] 178 | | id -> Int4, [INFO] [stdout] 179 | | cookie -> Varchar, [INFO] [stdout] | | ------ `cookie` is not local [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_cookie` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / table! { [INFO] [stdout] 177 | | sessions (id) { [INFO] [stdout] 178 | | id -> Int4, [INFO] [stdout] 179 | | cookie -> Varchar, [INFO] [stdout] 180 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] | | ------ `mobile` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_mobile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] 188 | | real_name -> Varchar, [INFO] [stdout] | | --------- `real_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_real_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] 188 | | real_name -> Varchar, [INFO] [stdout] 189 | | is_student -> Nullable, [INFO] [stdout] | | ---------- `is_student` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_student` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 190 | | student_certificate -> Nullable, [INFO] [stdout] | | ------------------- `student_certificate` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_student_certificate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 191 | | identity_card -> Bpchar, [INFO] [stdout] | | ------------- `identity_card` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_identity_card` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 192 | | identity_card_frontage -> Nullable, [INFO] [stdout] | | ---------------------- `identity_card_frontage` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_identity_card_frontage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 193 | | identity_card_verso -> Nullable, [INFO] [stdout] | | ------------------- `identity_card_verso` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_identity_card_verso` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 194 | | alipay -> Nullable, [INFO] [stdout] | | ------ `alipay` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_alipay` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 195 | | figure -> Nullable, [INFO] [stdout] | | ------ `figure` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_figure` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 196 | | credit_code -> Nullable, [INFO] [stdout] | | ----------- `credit_code` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_credit_code` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 197 | | business_license -> Nullable, [INFO] [stdout] | | ---------------- `business_license` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_business_license` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 198 | | status -> Int2, [INFO] [stdout] | | ------ `status` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_status` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 199 | | user_id -> Int4, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 200 | | user_type -> Int2, [INFO] [stdout] | | --------- `user_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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 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:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 201 | | modify_id -> Nullable, [INFO] [stdout] | | --------- `modify_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modify_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 202 | | modify_time -> Nullable, [INFO] [stdout] | | ----------- `modify_time` is not local [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_modify_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / table! { [INFO] [stdout] 185 | | to_approve (id) { [INFO] [stdout] 186 | | id -> Int4, [INFO] [stdout] 187 | | mobile -> Bpchar, [INFO] [stdout] ... | [INFO] [stdout] 203 | | add_time -> Nullable, [INFO] [stdout] | | -------- `add_time` is not local [INFO] [stdout] 204 | | } [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_add_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] 211 | | mobile -> Nullable, [INFO] [stdout] | | ------ `mobile` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_mobile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] 211 | | mobile -> Nullable, [INFO] [stdout] 212 | | username -> Varchar, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 213 | | realname -> Nullable, [INFO] [stdout] | | -------- `realname` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_realname` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 214 | | avatar -> Nullable, [INFO] [stdout] | | ------ `avatar` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_avatar` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 215 | | user_type -> Int2, [INFO] [stdout] | | --------- `user_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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 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:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 216 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 217 | | salt -> Nullable, [INFO] [stdout] | | ---- `salt` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_salt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 218 | | create_time -> Nullable, [INFO] [stdout] | | ----------- `create_time` is not local [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_create_time` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / table! { [INFO] [stdout] 208 | | users (id) { [INFO] [stdout] 209 | | id -> Int4, [INFO] [stdout] 210 | | email -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 219 | | last_login -> Nullable, [INFO] [stdout] | | ---------- `last_login` is not local [INFO] [stdout] 220 | | } [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_login` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `xueyigou` (bin "xueyigou"); 261 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/7af779037716ae4125ceabb429791b4cf5dd0a43/bin/rustc --crate-name xueyigou --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7fab40126aa10626 -C extra-filename=-b93d1212adb1c40e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bcrypt=/opt/rustwide/target/debug/deps/libbcrypt-e11b79d1f1560c3c.rlib --extern bigdecimal=/opt/rustwide/target/debug/deps/libbigdecimal-bcd19ad99dbd09fe.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-8210432e63828fd8.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-743878b151a8e187.rlib --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-8b9f4ec62a7a9d8a.rlib --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-ed16f8757ac7f100.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-2104608f1879752a.rlib --extern handlebars=/opt/rustwide/target/debug/deps/libhandlebars-1222099c0fb53327.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-cb1a50f85f9d3564.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-808030a113196962.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-d32b3bd549f5e6b0.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-8cc5247c65568d9f.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-5d07b31267cb305e.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-8cfe30f3c92288f7.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-089d8275379e6d02.rlib --extern warp=/opt/rustwide/target/debug/deps/libwarp-6872aec904ffe8e5.rlib --cap-lints=forbid -L native=/usr/lib/x86_64-linux-gnu -L native=/opt/rustwide/target/debug/build/ring-ef2d595fd667b976/out` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1a923fa078f54d32f183a85d538b39f368f7da25b7ce7b5ae3f230751db1cb76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a923fa078f54d32f183a85d538b39f368f7da25b7ce7b5ae3f230751db1cb76", kill_on_drop: false }` [INFO] [stdout] 1a923fa078f54d32f183a85d538b39f368f7da25b7ce7b5ae3f230751db1cb76