[INFO] cloning repository https://github.com/NecoHorne/rust_webservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NecoHorne/rust_webservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNecoHorne%2Frust_webservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNecoHorne%2Frust_webservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aff74e86206873a5cad49f132369a4b002e3445f [INFO] testing NecoHorne/rust_webservice against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNecoHorne%2Frust_webservice" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NecoHorne/rust_webservice on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NecoHorne/rust_webservice [INFO] finished tweaking git repo https://github.com/NecoHorne/rust_webservice [INFO] tweaked toml for git repo https://github.com/NecoHorne/rust_webservice written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NecoHorne/rust_webservice already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2848eb38f7c2af2ff45d4a1b5b1115acee814e1217a9b73a026bf08ac6b4097 [INFO] running `Command { std: "docker" "start" "-a" "e2848eb38f7c2af2ff45d4a1b5b1115acee814e1217a9b73a026bf08ac6b4097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2848eb38f7c2af2ff45d4a1b5b1115acee814e1217a9b73a026bf08ac6b4097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2848eb38f7c2af2ff45d4a1b5b1115acee814e1217a9b73a026bf08ac6b4097", kill_on_drop: false }` [INFO] [stdout] e2848eb38f7c2af2ff45d4a1b5b1115acee814e1217a9b73a026bf08ac6b4097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5a08dcc271ac06c2411c5959104b4bcfecdfe184d557b8423d9ee0afa81f61a [INFO] running `Command { std: "docker" "start" "-a" "c5a08dcc271ac06c2411c5959104b4bcfecdfe184d557b8423d9ee0afa81f61a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Compiling prettyplease v0.1.11 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.7.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling lettre v0.9.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling email-encoding v0.1.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling quoted_printable v0.4.5 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling email_address v0.2.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.7 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling normpath v0.3.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bcrypt v0.13.0 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling axum-core v0.2.4 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling rust_webservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lettre v0.10.0-rc.7 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling redis v0.21.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ubyte v0.10.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling cron v0.10.1 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling lettre_email v0.9.4 [INFO] [stderr] Compiling tower-http v0.3.3 [INFO] [stderr] Compiling tera v1.15.0 [INFO] [stderr] Compiling axum v0.5.6 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.2 [INFO] [stdout] warning: unused import: `super::schema::verification_token` [INFO] [stdout] --> src/database/models/verification_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::verification_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::password_reset_token` [INFO] [stdout] --> src/database/models/password_reset_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::password_reset_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index() -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn test() -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn index_two() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hello_two(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn test_two() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/database/database_utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_post(conn: &MysqlConnection, title: &str, body: &str) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InvalidatedToken{ [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new(token: String, user_id: String, expiry_date: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_json(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn token(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn user_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn expiry_date(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_token(&mut self, token: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_user_id(&mut self, user_id: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_expiry_date(&mut self, expiry_date: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_key` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn redis_key(invalid_token :&InvalidatedToken) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn save_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token_exists` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn token_exists(key: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn delete_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn extract_claim(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_email_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_uid_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn is_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_refresh_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new_refresh_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn extract_claim_refresh(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_refresh_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_email_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_uid_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn is_refresh_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_time_in_millis` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn current_time_in_millis() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_week_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn one_week_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ninety_days_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn ninety_days_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl CustomClaim { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 195 | pub fn new(jti: String, sub: String, iat: u64, exp: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_email` is never used [INFO] [stdout] --> src/mail/mail_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn send_email(email: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_post` [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] 6 | | user_id -> Unsigned, [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] 6 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] 15 | | published -> Bool, [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] 15 | | published -> Bool, [INFO] [stdout] | | --------- `published` is not local [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_published` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] | | ------------ `date_created` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] | | ------------ `date_updated` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_updated` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] 24 | | uid -> Char, [INFO] [stdout] | | --- `uid` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_uid` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 25 | | display_name -> Nullable, [INFO] [stdout] | | ------------ `display_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_display_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 26 | | first_name -> Nullable, [INFO] [stdout] | | ---------- `first_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_first_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | last_name -> Nullable, [INFO] [stdout] | | --------- `last_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 28 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 29 | | email_verified -> Bool, [INFO] [stdout] | | -------------- `email_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 30 | | telephone -> Nullable, [INFO] [stdout] | | --------- `telephone` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | last_login -> Nullable, [INFO] [stdout] | | ---------- `last_login` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_login` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 32 | | fcm -> Nullable, [INFO] [stdout] | | --- `fcm` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fcm` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 33 | | is_banned -> Bool, [INFO] [stdout] | | --------- `is_banned` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_banned` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 34 | | ip_address -> Nullable, [INFO] [stdout] | | ---------- `ip_address` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip_address` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 35 | | meta_data -> Nullable, [INFO] [stdout] | | --------- `meta_data` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_meta_data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | birthday -> Nullable, [INFO] [stdout] | | -------- `birthday` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_birthday` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 37 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 38 | | role -> Integer, [INFO] [stdout] | | ---- `role` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_role` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | telephone_verified -> Bool, [INFO] [stdout] | | ------------------ `telephone_verified` is not local [INFO] [stdout] 40 | | user_rating -> Decimal, [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 40 | | user_rating -> Decimal, [INFO] [stdout] | | ----------- `user_rating` is not local [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_rating` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] 49 | | user_id -> Unsigned, [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] 49 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/verification_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/verification_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_verificationtoken` [INFO] [stdout] 5 | pub struct VerificationToken{ [INFO] [stdout] | ----------------- `VerificationToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/password_reset_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/password_reset_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_passwordresettoken` [INFO] [stdout] 5 | pub struct PasswordResetToken{ [INFO] [stdout] | ------------------ `PasswordResetToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "c5a08dcc271ac06c2411c5959104b4bcfecdfe184d557b8423d9ee0afa81f61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a08dcc271ac06c2411c5959104b4bcfecdfe184d557b8423d9ee0afa81f61a", kill_on_drop: false }` [INFO] [stdout] c5a08dcc271ac06c2411c5959104b4bcfecdfe184d557b8423d9ee0afa81f61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b271bfddd329409e90b65f10b2c2b773b9733484c7e35beb0d4e67259067002 [INFO] running `Command { std: "docker" "start" "-a" "0b271bfddd329409e90b65f10b2c2b773b9733484c7e35beb0d4e67259067002", kill_on_drop: false }` [INFO] [stderr] Compiling rust_webservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::schema::verification_token` [INFO] [stdout] --> src/database/models/verification_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::verification_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::password_reset_token` [INFO] [stdout] --> src/database/models/password_reset_token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::password_reset_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index() -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test` [INFO] [stdout] --> src/webserver/controllers/controller_one.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn test() -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn index_two() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn hello_two(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_two` [INFO] [stdout] --> src/webserver/controllers/rest_controller.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn test_two() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/auth_service.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/grpc/user_details_service.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let req = request.into_inner(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post` is never used [INFO] [stdout] --> src/database/database_utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_post(conn: &MysqlConnection, title: &str, body: &str) -> Post { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InvalidatedToken{ [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new(token: String, user_id: String, expiry_date: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_json(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn token(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn user_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn expiry_date(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_token(&mut self, token: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_user_id(&mut self, user_id: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_expiry_date(&mut self, expiry_date: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_key` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn redis_key(invalid_token :&InvalidatedToken) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn save_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token_exists` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn token_exists(key: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_token` is never used [INFO] [stdout] --> src/security/tokens/invalidated_token.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn delete_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn extract_claim(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_email_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_uid_from_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn is_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_refresh_token` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new_refresh_token(uid: String, email: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_claim_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn extract_claim_refresh(token: &str) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_expired` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_refresh_token_expired(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_email_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_email_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_uid_from_refresh` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_uid_from_refresh(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_refresh_token_valid` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn is_refresh_token_valid(token: &str, email :&str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_time_in_millis` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn current_time_in_millis() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_week_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn one_week_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ninety_days_from_now` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn ninety_days_from_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/security/jwt_utils.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl CustomClaim { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 195 | pub fn new(jti: String, sub: String, iat: u64, exp: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_email` is never used [INFO] [stdout] --> src/mail/mail_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn send_email(email: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 14 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/user.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 36 | #[table_name="users"] [INFO] [stdout] 37 | pub struct NewUser<'a> { [INFO] [stdout] | ------- `NewUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_post` [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/posts.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 14 | #[table_name="posts"] [INFO] [stdout] 15 | pub struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] 6 | | user_id -> Unsigned, [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | password_reset_token (id) { [INFO] [stdout] 3 | | id -> Bigint, [INFO] [stdout] 4 | | expiryDate -> Nullable, [INFO] [stdout] 5 | | token -> Nullable, [INFO] [stdout] 6 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] 15 | | published -> Bool, [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / table! { [INFO] [stdout] 11 | | posts (id) { [INFO] [stdout] 12 | | id -> Integer, [INFO] [stdout] 13 | | title -> Varchar, [INFO] [stdout] 14 | | body -> Text, [INFO] [stdout] 15 | | published -> Bool, [INFO] [stdout] | | --------- `published` is not local [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_published` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] | | ------------ `date_created` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] | | ------------ `date_updated` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_date_updated` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] 23 | | date_updated -> Nullable, [INFO] [stdout] 24 | | uid -> Char, [INFO] [stdout] | | --- `uid` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_uid` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 25 | | display_name -> Nullable, [INFO] [stdout] | | ------------ `display_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_display_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 26 | | first_name -> Nullable, [INFO] [stdout] | | ---------- `first_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_first_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 27 | | last_name -> Nullable, [INFO] [stdout] | | --------- `last_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 28 | | email -> Varchar, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 29 | | email_verified -> Bool, [INFO] [stdout] | | -------------- `email_verified` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 30 | | telephone -> Nullable, [INFO] [stdout] | | --------- `telephone` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 31 | | last_login -> Nullable, [INFO] [stdout] | | ---------- `last_login` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_login` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 32 | | fcm -> Nullable, [INFO] [stdout] | | --- `fcm` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_fcm` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 33 | | is_banned -> Bool, [INFO] [stdout] | | --------- `is_banned` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_banned` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 34 | | ip_address -> Nullable, [INFO] [stdout] | | ---------- `ip_address` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_ip_address` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 35 | | meta_data -> Nullable, [INFO] [stdout] | | --------- `meta_data` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_meta_data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 36 | | birthday -> Nullable, [INFO] [stdout] | | -------- `birthday` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_birthday` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 37 | | password -> Varchar, [INFO] [stdout] | | -------- `password` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 38 | | role -> Integer, [INFO] [stdout] | | ---- `role` is not local [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_role` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 39 | | telephone_verified -> Bool, [INFO] [stdout] | | ------------------ `telephone_verified` is not local [INFO] [stdout] 40 | | user_rating -> Decimal, [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_telephone_verified` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / table! { [INFO] [stdout] 20 | | users (id) { [INFO] [stdout] 21 | | id -> Unsigned, [INFO] [stdout] 22 | | date_created -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 40 | | user_rating -> Decimal, [INFO] [stdout] | | ----------- `user_rating` is not local [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_rating` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] | | ---------- `expiryDate` is not local [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] | | ----- `token` is not local [INFO] [stdout] 49 | | user_id -> Unsigned, [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/schema.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / table! { [INFO] [stdout] 45 | | verification_token (id) { [INFO] [stdout] 46 | | id -> Bigint, [INFO] [stdout] 47 | | expiryDate -> Nullable, [INFO] [stdout] 48 | | token -> Nullable, [INFO] [stdout] 49 | | user_id -> Unsigned, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/verification_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/verification_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_verificationtoken` [INFO] [stdout] 5 | pub struct VerificationToken{ [INFO] [stdout] | ----------------- `VerificationToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expiryDate` should have a snake case name [INFO] [stdout] --> src/database/models/password_reset_token.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub expiryDate :DateTime, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/database/models/password_reset_token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_passwordresettoken` [INFO] [stdout] 5 | pub struct PasswordResetToken{ [INFO] [stdout] | ------------------ `PasswordResetToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "0b271bfddd329409e90b65f10b2c2b773b9733484c7e35beb0d4e67259067002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b271bfddd329409e90b65f10b2c2b773b9733484c7e35beb0d4e67259067002", kill_on_drop: false }` [INFO] [stdout] 0b271bfddd329409e90b65f10b2c2b773b9733484c7e35beb0d4e67259067002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a400a98ab00d4fec162dec01ef790dc305fc223806478519d8a9a465ff2fafd [INFO] running `Command { std: "docker" "start" "-a" "7a400a98ab00d4fec162dec01ef790dc305fc223806478519d8a9a465ff2fafd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::schema::verification_token` [INFO] [stderr] --> src/database/models/verification_token.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use super::schema::verification_token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::schema::password_reset_token` [INFO] [stderr] --> src/database/models/password_reset_token.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use super::schema::password_reset_token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `index` [INFO] [stderr] --> src/webserver/controllers/controller_one.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn index() -> Template { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hello` [INFO] [stderr] --> src/webserver/controllers/controller_one.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn hello(name: &str) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test` [INFO] [stderr] --> src/webserver/controllers/controller_one.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn test() -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `index_two` [INFO] [stderr] --> src/webserver/controllers/rest_controller.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn index_two() -> &'static str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hello_two` [INFO] [stderr] --> src/webserver/controllers/rest_controller.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn hello_two(name: &str) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_two` [INFO] [stderr] --> src/webserver/controllers/rest_controller.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn test_two() -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/auth_service.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/user_details_service.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/user_details_service.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/user_details_service.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/user_details_service.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/grpc/user_details_service.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | let req = request.into_inner(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: function `create_post` is never used [INFO] [stderr] --> src/database/database_utils.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn create_post(conn: &MysqlConnection, title: &str, body: &str) -> Post { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/security/tokens/invalidated_token.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl InvalidatedToken{ [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn new(token: String, user_id: String, expiry_date: String) -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn get_json(&self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn token(&self) -> &str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn user_id(&self) -> &str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn expiry_date(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn set_token(&mut self, token: String) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn set_user_id(&mut self, user_id: String) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn set_expiry_date(&mut self, expiry_date: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `redis_key` is never used [INFO] [stderr] --> src/security/tokens/invalidated_token.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn redis_key(invalid_token :&InvalidatedToken) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_token` is never used [INFO] [stderr] --> src/security/tokens/invalidated_token.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn save_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `token_exists` is never used [INFO] [stderr] --> src/security/tokens/invalidated_token.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn token_exists(key: &String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_token` is never used [INFO] [stderr] --> src/security/tokens/invalidated_token.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn delete_token(invalid_token :&InvalidatedToken) -> Result<(), RedisError>{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_token` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new_token(uid: String, email: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_claim` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | fn extract_claim(token: &str) -> Result{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_token_expired` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn is_token_expired(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_email_from_token` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn get_email_from_token(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_uid_from_token` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn get_uid_from_token(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_token_valid` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn is_token_valid(token: &str, email :&str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_refresh_token` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn new_refresh_token(uid: String, email: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_claim_refresh` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn extract_claim_refresh(token: &str) -> Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_refresh_token_expired` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn is_refresh_token_expired(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_email_from_refresh` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:133:8 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn get_email_from_refresh(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_uid_from_refresh` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:138:8 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn get_uid_from_refresh(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_refresh_token_valid` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn is_refresh_token_valid(token: &str, email :&str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `current_time_in_millis` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:163:4 [INFO] [stderr] | [INFO] [stderr] 163 | fn current_time_in_millis() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `one_week_from_now` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:171:4 [INFO] [stderr] | [INFO] [stderr] 171 | fn one_week_from_now() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ninety_days_from_now` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:179:4 [INFO] [stderr] | [INFO] [stderr] 179 | fn ninety_days_from_now() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/security/jwt_utils.rs:195:12 [INFO] [stderr] | [INFO] [stderr] 194 | impl CustomClaim { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 195 | pub fn new(jti: String, sub: String, iat: u64, exp: u64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `send_email` is never used [INFO] [stderr] --> src/mail/mail_utils.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn send_email(email: Message) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/user.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stderr] 14 | pub struct User { [INFO] [stderr] | ---- `User` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/user.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stderr] 36 | #[table_name="users"] [INFO] [stderr] 37 | pub struct NewUser<'a> { [INFO] [stderr] | ------- `NewUser` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/user.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stderr] 36 | #[table_name="users"] [INFO] [stderr] 37 | pub struct NewUser<'a> { [INFO] [stderr] | ------- `NewUser` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/user.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stderr] 36 | #[table_name="users"] [INFO] [stderr] 37 | pub struct NewUser<'a> { [INFO] [stderr] | ------- `NewUser` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/posts.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug,Queryable, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_post` [INFO] [stderr] 4 | pub struct Post { [INFO] [stderr] | ---- `Post` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/posts.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stderr] 14 | #[table_name="posts"] [INFO] [stderr] 15 | pub struct NewPost<'a> { [INFO] [stderr] | ------- `NewPost` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/posts.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stderr] 14 | #[table_name="posts"] [INFO] [stderr] 15 | pub struct NewPost<'a> { [INFO] [stderr] | ------- `NewPost` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/posts.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive( Debug, Insertable, Serialize, Deserialize)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stderr] 14 | #[table_name="posts"] [INFO] [stderr] 15 | pub struct NewPost<'a> { [INFO] [stderr] | ------- `NewPost` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | password_reset_token (id) { [INFO] [stderr] 3 | | id -> Bigint, [INFO] [stderr] 4 | | expiryDate -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | password_reset_token (id) { [INFO] [stderr] 3 | | id -> Bigint, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 4 | | expiryDate -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | password_reset_token (id) { [INFO] [stderr] 3 | | id -> Bigint, [INFO] [stderr] 4 | | expiryDate -> Nullable, [INFO] [stderr] | | ---------- `expiryDate` is not local [INFO] [stderr] ... | [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | password_reset_token (id) { [INFO] [stderr] 3 | | id -> Bigint, [INFO] [stderr] 4 | | expiryDate -> Nullable, [INFO] [stderr] 5 | | token -> Nullable, [INFO] [stderr] | | ----- `token` is not local [INFO] [stderr] 6 | | user_id -> Unsigned, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | password_reset_token (id) { [INFO] [stderr] 3 | | id -> Bigint, [INFO] [stderr] 4 | | expiryDate -> Nullable, [INFO] [stderr] 5 | | token -> Nullable, [INFO] [stderr] 6 | | user_id -> Unsigned, [INFO] [stderr] | | ------- `user_id` is not local [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | posts (id) { [INFO] [stderr] 12 | | id -> Integer, [INFO] [stderr] 13 | | title -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | posts (id) { [INFO] [stderr] 12 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 13 | | title -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | posts (id) { [INFO] [stderr] 12 | | id -> Integer, [INFO] [stderr] 13 | | title -> Varchar, [INFO] [stderr] | | ----- `title` is not local [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_title` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | posts (id) { [INFO] [stderr] 12 | | id -> Integer, [INFO] [stderr] 13 | | title -> Varchar, [INFO] [stderr] 14 | | body -> Text, [INFO] [stderr] | | ---- `body` is not local [INFO] [stderr] 15 | | published -> Bool, [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_body` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / table! { [INFO] [stderr] 11 | | posts (id) { [INFO] [stderr] 12 | | id -> Integer, [INFO] [stderr] 13 | | title -> Varchar, [INFO] [stderr] 14 | | body -> Text, [INFO] [stderr] 15 | | published -> Bool, [INFO] [stderr] | | --------- `published` is not local [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_published` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] | | ------------ `date_created` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_created` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] 23 | | date_updated -> Nullable, [INFO] [stderr] | | ------------ `date_updated` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_date_updated` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] 23 | | date_updated -> Nullable, [INFO] [stderr] 24 | | uid -> Char, [INFO] [stderr] | | --- `uid` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_uid` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 25 | | display_name -> Nullable, [INFO] [stderr] | | ------------ `display_name` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_display_name` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 26 | | first_name -> Nullable, [INFO] [stderr] | | ---------- `first_name` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_first_name` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 27 | | last_name -> Nullable, [INFO] [stderr] | | --------- `last_name` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_last_name` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 28 | | email -> Varchar, [INFO] [stderr] | | ----- `email` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 29 | | email_verified -> Bool, [INFO] [stderr] | | -------------- `email_verified` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_email_verified` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 30 | | telephone -> Nullable, [INFO] [stderr] | | --------- `telephone` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_telephone` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 31 | | last_login -> Nullable, [INFO] [stderr] | | ---------- `last_login` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_last_login` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 32 | | fcm -> Nullable, [INFO] [stderr] | | --- `fcm` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_fcm` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 33 | | is_banned -> Bool, [INFO] [stderr] | | --------- `is_banned` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_is_banned` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 34 | | ip_address -> Nullable, [INFO] [stderr] | | ---------- `ip_address` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_ip_address` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 35 | | meta_data -> Nullable, [INFO] [stderr] | | --------- `meta_data` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_meta_data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 36 | | birthday -> Nullable, [INFO] [stderr] | | -------- `birthday` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_birthday` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 37 | | password -> Varchar, [INFO] [stderr] | | -------- `password` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_password` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 38 | | role -> Integer, [INFO] [stderr] | | ---- `role` is not local [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_role` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 39 | | telephone_verified -> Bool, [INFO] [stderr] | | ------------------ `telephone_verified` is not local [INFO] [stderr] 40 | | user_rating -> Decimal, [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_telephone_verified` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / table! { [INFO] [stderr] 20 | | users (id) { [INFO] [stderr] 21 | | id -> Unsigned, [INFO] [stderr] 22 | | date_created -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 40 | | user_rating -> Decimal, [INFO] [stderr] | | ----------- `user_rating` is not local [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_user_rating` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / table! { [INFO] [stderr] 45 | | verification_token (id) { [INFO] [stderr] 46 | | id -> Bigint, [INFO] [stderr] 47 | | expiryDate -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / table! { [INFO] [stderr] 45 | | verification_token (id) { [INFO] [stderr] 46 | | id -> Bigint, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 47 | | expiryDate -> Nullable, [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / table! { [INFO] [stderr] 45 | | verification_token (id) { [INFO] [stderr] 46 | | id -> Bigint, [INFO] [stderr] 47 | | expiryDate -> Nullable, [INFO] [stderr] | | ---------- `expiryDate` is not local [INFO] [stderr] ... | [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_expirydate` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / table! { [INFO] [stderr] 45 | | verification_token (id) { [INFO] [stderr] 46 | | id -> Bigint, [INFO] [stderr] 47 | | expiryDate -> Nullable, [INFO] [stderr] 48 | | token -> Nullable, [INFO] [stderr] | | ----- `token` is not local [INFO] [stderr] 49 | | user_id -> Unsigned, [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_token` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/schema.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / table! { [INFO] [stderr] 45 | | verification_token (id) { [INFO] [stderr] 46 | | id -> Bigint, [INFO] [stderr] 47 | | expiryDate -> Nullable, [INFO] [stderr] 48 | | token -> Nullable, [INFO] [stderr] 49 | | user_id -> Unsigned, [INFO] [stderr] | | ------- `user_id` is not local [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_user_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: structure field `expiryDate` should have a snake case name [INFO] [stderr] --> src/database/models/verification_token.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub expiryDate :DateTime, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/verification_token.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_verificationtoken` [INFO] [stderr] 5 | pub struct VerificationToken{ [INFO] [stderr] | ----------------- `VerificationToken` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: structure field `expiryDate` should have a snake case name [INFO] [stderr] --> src/database/models/password_reset_token.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub expiryDate :DateTime, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `expiry_date` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/models/password_reset_token.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_passwordresettoken` [INFO] [stderr] 5 | pub struct PasswordResetToken{ [INFO] [stderr] | ------------------ `PasswordResetToken` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust_webservice` (bin "rust_webservice" test) generated 94 warnings (run `cargo fix --bin "rust_webservice" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_webservice-91fb509061a4914d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a400a98ab00d4fec162dec01ef790dc305fc223806478519d8a9a465ff2fafd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a400a98ab00d4fec162dec01ef790dc305fc223806478519d8a9a465ff2fafd", kill_on_drop: false }` [INFO] [stdout] 7a400a98ab00d4fec162dec01ef790dc305fc223806478519d8a9a465ff2fafd