[INFO] cloning repository https://github.com/vivlim/vivcms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivlim/vivcms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fvivcms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fvivcms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a29bf8bb18ebfc46a12b21df1e663df9337be886 [INFO] testing vivlim/vivcms against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Fvivcms" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vivlim/vivcms on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vivlim/vivcms [INFO] finished tweaking git repo https://github.com/vivlim/vivcms [INFO] tweaked toml for git repo https://github.com/vivlim/vivcms written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vivlim/vivcms 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svgbob v0.5.5 [INFO] [stderr] Downloaded askama_derive v0.10.5 [INFO] [stderr] Downloaded askama_shared v0.11.1 [INFO] [stderr] Downloaded loom v0.5.2 [INFO] [stderr] Downloaded comrak v0.7.0 [INFO] [stderr] Downloaded plist v1.2.1 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded h2 v0.3.6 [INFO] [stderr] Downloaded xml5ever v0.16.1 [INFO] [stderr] Downloaded parry2d v0.6.0 [INFO] [stderr] Downloaded sauron v0.40.0 [INFO] [stderr] Downloaded sauron-core v0.40.0 [INFO] [stderr] Downloaded syn-rsx v0.8.0 [INFO] [stderr] Downloaded nalgebra v0.28.0 [INFO] [stderr] Downloaded string_cache v0.8.1 [INFO] [stderr] Downloaded sauron-parse v0.40.0 [INFO] [stderr] Downloaded askama v0.10.5 [INFO] [stderr] Downloaded multer v2.0.1 [INFO] [stderr] Downloaded tokio-macros v1.4.1 [INFO] [stderr] Downloaded file v1.1.2 [INFO] [stderr] Downloaded syntect v4.6.0 [INFO] [stderr] Downloaded mt-dom v0.10.0 [INFO] [stderr] Downloaded spongedown v0.4.2 [INFO] [stderr] Downloaded sauron-node-macro v0.40.0 [INFO] [stderr] Downloaded url_path v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca38dfd484ea08a92a834041bc29f490062ae72ef193c967ef59a57548124aba [INFO] running `Command { std: "docker" "start" "-a" "ca38dfd484ea08a92a834041bc29f490062ae72ef193c967ef59a57548124aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca38dfd484ea08a92a834041bc29f490062ae72ef193c967ef59a57548124aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca38dfd484ea08a92a834041bc29f490062ae72ef193c967ef59a57548124aba", kill_on_drop: false }` [INFO] [stdout] ca38dfd484ea08a92a834041bc29f490062ae72ef193c967ef59a57548124aba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a020f950a8d80b6e7c42abada83ed0535e13dca3dae90d75ad7911d26522486f [INFO] running `Command { std: "docker" "start" "-a" "a020f950a8d80b6e7c42abada83ed0535e13dca3dae90d75ad7911d26522486f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling mt-dom v0.10.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling simba v0.5.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling fancy-regex v0.7.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pom v3.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling syn-rsx v0.8.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling file v1.1.2 [INFO] [stderr] Compiling url_path v0.1.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling comrak v0.7.0 [INFO] [stderr] Compiling nalgebra v0.28.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling plist v1.2.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling askama_shared v0.11.1 [INFO] [stderr] Compiling xml5ever v0.16.1 [INFO] [stderr] Compiling syntect v4.6.0 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling parry2d v0.6.0 [INFO] [stderr] Compiling web-sys v0.3.55 [INFO] [stderr] Compiling askama_derive v0.10.5 [INFO] [stderr] Compiling askama v0.10.5 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling sauron-core v0.40.0 [INFO] [stderr] Compiling sauron-parse v0.40.0 [INFO] [stderr] Compiling sauron-node-macro v0.40.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling sauron v0.40.0 [INFO] [stderr] Compiling svgbob v0.5.5 [INFO] [stderr] Compiling spongedown v0.4.2 [INFO] [stderr] Compiling vivzone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spongedown::parse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use spongedown::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_page` [INFO] [stdout] --> src/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn login_page() -> content::Html { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_handle` [INFO] [stdout] --> src/auth.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn login_handle(mut cookies: &CookieJar<'_>, input: Form) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user_debug` [INFO] [stdout] --> src/auth.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_user_debug(name: String, pass: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::db::models::Thread` [INFO] [stdout] --> src/storage/crud/threads.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::db::models::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_board_page(mut cookies: &CookieJar<'_>) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Post` [INFO] [stdout] --> src/pages/view_board_threads.rs:5:96 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, Thread}}}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_board_threads` [INFO] [stdout] --> src/pages/view_board_threads.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn view_board_threads(board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostContent` [INFO] [stdout] --> src/pages/post_editor.rs:5:108 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, auth, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, PostContent, Thread, User}}}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_thread` [INFO] [stdout] --> src/pages/post_editor.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_thread(mut cookies: &CookieJar<'_>, board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply_in_thread` [INFO] [stdout] --> src/pages/post_editor.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn reply_in_thread(mut cookies: &CookieJar<'_>, thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit_post` [INFO] [stdout] --> src/pages/post_editor.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn edit_post(mut cookies: &CookieJar<'_>, post_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/post_editor.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form, board_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_reply_page` [INFO] [stdout] --> src/pages/post_editor.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn save_reply_page(mut cookies: &CookieJar<'_>, input: Form, thread_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_thread` [INFO] [stdout] --> src/pages/view_thread.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view_thread(thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/storage/crud/threads.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let post = create_post(conn, &thread, author, title, body)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/admin/boards.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(id) = input.id { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/view_thread.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let id = post.id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookies` [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloTemplate` is never constructed [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct HelloTemplate<'a> { // the name of the struct can be anything [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthCookie` is never constructed [INFO] [stdout] --> src/auth.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthCookie { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_session_cookies` is never used [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn remove_session_cookies(cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/storage/crud/posts.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_posts(conn: &SqliteConnection) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPostContents` is never constructed [INFO] [stdout] --> src/storage/db/models.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NewPostContents { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_action` is never read [INFO] [stdout] --> src/pages/admin/boards.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EditBoardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub existing_board: Option, [INFO] [stdout] 13 | pub form_action: &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/pages/view_board_threads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] 10 | thread: Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditPost` is never constructed [INFO] [stdout] --> src/pages/post_editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FormMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditPost(Post), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pages/view_thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PostRow { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_board` [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- `Board` 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/storage/db/models.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_board` [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- `Board` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_board` [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- `Board` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` 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/storage/db/models.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] | ----- `Board` is not local [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [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] 19 | #[belongs_to(Thread)] [INFO] [stdout] 20 | 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/storage/db/models.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stdout] 19 | #[belongs_to(Thread)] [INFO] [stdout] 20 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stdout] 19 | #[belongs_to(Thread)] [INFO] [stdout] 20 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_post` [INFO] [stdout] 19 | #[belongs_to(Thread)] [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] 20 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` 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/storage/db/models.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, Identifiable, Debug)] [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] 40 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, Identifiable, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stdout] 40 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, Identifiable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stdout] 40 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newboard` [INFO] [stdout] 55 | #[table_name="boards"] [INFO] [stdout] 56 | pub struct NewBoard { [INFO] [stdout] | -------- `NewBoard` 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/storage/db/models.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newboard` [INFO] [stdout] 55 | #[table_name="boards"] [INFO] [stdout] 56 | pub struct NewBoard { [INFO] [stdout] | -------- `NewBoard` 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/storage/db/models.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newboard` [INFO] [stdout] 55 | #[table_name="boards"] [INFO] [stdout] 56 | pub struct NewBoard { [INFO] [stdout] | -------- `NewBoard` 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/storage/db/models.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newthread` [INFO] [stdout] 62 | #[table_name="threads"] [INFO] [stdout] 63 | pub struct NewThread { [INFO] [stdout] | --------- `NewThread` 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/storage/db/models.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newthread` [INFO] [stdout] 62 | #[table_name="threads"] [INFO] [stdout] 63 | pub struct NewThread { [INFO] [stdout] | --------- `NewThread` 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/storage/db/models.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newthread` [INFO] [stdout] 62 | #[table_name="threads"] [INFO] [stdout] 63 | pub struct NewThread { [INFO] [stdout] | --------- `NewThread` 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/storage/db/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 68 | #[table_name="posts"] [INFO] [stdout] 69 | pub struct NewPost { [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/storage/db/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 68 | #[table_name="posts"] [INFO] [stdout] 69 | pub struct NewPost { [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/storage/db/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 68 | #[table_name="posts"] [INFO] [stdout] 69 | pub struct NewPost { [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/storage/db/models.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpostcontentinsertion` [INFO] [stdout] 83 | #[table_name="post_contents"] [INFO] [stdout] 84 | pub struct NewPostContentInsertion { [INFO] [stdout] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpostcontentinsertion` [INFO] [stdout] 83 | #[table_name="post_contents"] [INFO] [stdout] 84 | pub struct NewPostContentInsertion { [INFO] [stdout] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpostcontentinsertion` [INFO] [stdout] 83 | #[table_name="post_contents"] [INFO] [stdout] 84 | pub struct NewPostContentInsertion { [INFO] [stdout] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 94 | #[table_name="users"] [INFO] [stdout] 95 | 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/storage/db/models.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 94 | #[table_name="users"] [INFO] [stdout] 95 | 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/storage/db/models.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 94 | #[table_name="users"] [INFO] [stdout] 95 | 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/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] 7 | | details -> Text, [INFO] [stdout] | | ------- `details` is not local [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_details` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] | | ------- `post_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_post_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] 15 | | author_id -> Integer, [INFO] [stdout] | | --------- `author_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] 15 | | author_id -> Integer, [INFO] [stdout] 16 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 17 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 18 | | created -> Integer, [INFO] [stdout] | | ------- `created` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 19 | | is_published -> Integer, [INFO] [stdout] | | ------------ `is_published` is not local [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] | | --------- `author_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] 27 | | thread_id -> Integer, [INFO] [stdout] | | --------- `thread_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_thread_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] 27 | | thread_id -> Integer, [INFO] [stdout] 28 | | created -> Integer, [INFO] [stdout] | | ------- `created` is not local [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / diesel::table! { [INFO] [stdout] 33 | | threads (id) { [INFO] [stdout] 34 | | id -> Integer, [INFO] [stdout] 35 | | board_id -> Integer, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / diesel::table! { [INFO] [stdout] 33 | | threads (id) { [INFO] [stdout] 34 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 35 | | board_id -> Integer, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / diesel::table! { [INFO] [stdout] 33 | | threads (id) { [INFO] [stdout] 34 | | id -> Integer, [INFO] [stdout] 35 | | board_id -> Integer, [INFO] [stdout] | | -------- `board_id` is not local [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_board_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] 43 | | pass_sha -> Text, [INFO] [stdout] | | -------- `pass_sha` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_pass_sha` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] 43 | | pass_sha -> Text, [INFO] [stdout] 44 | | salt -> Text, [INFO] [stdout] | | ---- `salt` is not local [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_salt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (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 1m 50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, nalgebra v0.28.0, nom v6.2.1, ubyte v0.10.1, wasm-bindgen v0.2.78, xml5ever v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a020f950a8d80b6e7c42abada83ed0535e13dca3dae90d75ad7911d26522486f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a020f950a8d80b6e7c42abada83ed0535e13dca3dae90d75ad7911d26522486f", kill_on_drop: false }` [INFO] [stdout] a020f950a8d80b6e7c42abada83ed0535e13dca3dae90d75ad7911d26522486f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bfdb27ddbc82c3e744e0290eb6e4772a47d1b02c620838e5e2f15b1db012c97 [INFO] running `Command { std: "docker" "start" "-a" "3bfdb27ddbc82c3e744e0290eb6e4772a47d1b02c620838e5e2f15b1db012c97", kill_on_drop: false }` [INFO] [stderr] Compiling vivzone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spongedown::parse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use spongedown::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_page` [INFO] [stdout] --> src/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn login_page() -> content::Html { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login_handle` [INFO] [stdout] --> src/auth.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn login_handle(mut cookies: &CookieJar<'_>, input: Form) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user_debug` [INFO] [stdout] --> src/auth.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn create_user_debug(name: String, pass: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::db::models::Thread` [INFO] [stdout] --> src/storage/crud/threads.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::db::models::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new_board_page(mut cookies: &CookieJar<'_>) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/admin/boards.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form) -> content::Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Post` [INFO] [stdout] --> src/pages/view_board_threads.rs:5:96 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, Thread}}}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_board_threads` [INFO] [stdout] --> src/pages/view_board_threads.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn view_board_threads(board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostContent` [INFO] [stdout] --> src/pages/post_editor.rs:5:108 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ForumError, auth, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, PostContent, Thread, User}}}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_thread` [INFO] [stdout] --> src/pages/post_editor.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_thread(mut cookies: &CookieJar<'_>, board_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply_in_thread` [INFO] [stdout] --> src/pages/post_editor.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn reply_in_thread(mut cookies: &CookieJar<'_>, thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit_post` [INFO] [stdout] --> src/pages/post_editor.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn edit_post(mut cookies: &CookieJar<'_>, post_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_board_page` [INFO] [stdout] --> src/pages/post_editor.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form, board_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_reply_page` [INFO] [stdout] --> src/pages/post_editor.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn save_reply_page(mut cookies: &CookieJar<'_>, input: Form, thread_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_thread` [INFO] [stdout] --> src/pages/view_thread.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn view_thread(thread_id: i32) -> Result, ForumError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/storage/crud/threads.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let post = create_post(conn, &thread, author, title, body)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/admin/boards.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(id) = input.id { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/pages/post_editor.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/pages/view_thread.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let id = post.id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookies` [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloTemplate` is never constructed [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct HelloTemplate<'a> { // the name of the struct can be anything [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthCookie` is never constructed [INFO] [stdout] --> src/auth.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthCookie { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_session_cookies` is never used [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn remove_session_cookies(cookies: &CookieJar<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_posts` is never used [INFO] [stdout] --> src/storage/crud/posts.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_posts(conn: &SqliteConnection) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPostContents` is never constructed [INFO] [stdout] --> src/storage/db/models.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NewPostContents { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_action` is never read [INFO] [stdout] --> src/pages/admin/boards.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EditBoardTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub existing_board: Option, [INFO] [stdout] 13 | pub form_action: &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/pages/view_board_threads.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] 10 | thread: Thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EditPost` is never constructed [INFO] [stdout] --> src/pages/post_editor.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FormMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditPost(Post), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pages/view_thread.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PostRow { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_board` [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- `Board` 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/storage/db/models.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_board` [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- `Board` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_board` [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ----- `Board` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` 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/storage/db/models.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_thread` [INFO] [stdout] 12 | #[belongs_to(Board)] [INFO] [stdout] | ----- `Board` is not local [INFO] [stdout] 13 | pub struct Thread { [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [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] 19 | #[belongs_to(Thread)] [INFO] [stdout] 20 | 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/storage/db/models.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stdout] 19 | #[belongs_to(Thread)] [INFO] [stdout] 20 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stdout] 19 | #[belongs_to(Thread)] [INFO] [stdout] 20 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_post` [INFO] [stdout] 19 | #[belongs_to(Thread)] [INFO] [stdout] | ------ `Thread` is not local [INFO] [stdout] 20 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` 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/storage/db/models.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_postcontent` [INFO] [stdout] 28 | #[belongs_to(Post)] [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] 29 | pub struct PostContent { [INFO] [stdout] | ----------- `PostContent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, Identifiable, Debug)] [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] 40 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, Identifiable, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stdout] 40 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, Identifiable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stdout] 40 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/models.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newboard` [INFO] [stdout] 55 | #[table_name="boards"] [INFO] [stdout] 56 | pub struct NewBoard { [INFO] [stdout] | -------- `NewBoard` 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/storage/db/models.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newboard` [INFO] [stdout] 55 | #[table_name="boards"] [INFO] [stdout] 56 | pub struct NewBoard { [INFO] [stdout] | -------- `NewBoard` 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/storage/db/models.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newboard` [INFO] [stdout] 55 | #[table_name="boards"] [INFO] [stdout] 56 | pub struct NewBoard { [INFO] [stdout] | -------- `NewBoard` 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/storage/db/models.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newthread` [INFO] [stdout] 62 | #[table_name="threads"] [INFO] [stdout] 63 | pub struct NewThread { [INFO] [stdout] | --------- `NewThread` 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/storage/db/models.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newthread` [INFO] [stdout] 62 | #[table_name="threads"] [INFO] [stdout] 63 | pub struct NewThread { [INFO] [stdout] | --------- `NewThread` 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/storage/db/models.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newthread` [INFO] [stdout] 62 | #[table_name="threads"] [INFO] [stdout] 63 | pub struct NewThread { [INFO] [stdout] | --------- `NewThread` 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/storage/db/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 68 | #[table_name="posts"] [INFO] [stdout] 69 | pub struct NewPost { [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/storage/db/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 68 | #[table_name="posts"] [INFO] [stdout] 69 | pub struct NewPost { [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/storage/db/models.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpost` [INFO] [stdout] 68 | #[table_name="posts"] [INFO] [stdout] 69 | pub struct NewPost { [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/storage/db/models.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpostcontentinsertion` [INFO] [stdout] 83 | #[table_name="post_contents"] [INFO] [stdout] 84 | pub struct NewPostContentInsertion { [INFO] [stdout] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpostcontentinsertion` [INFO] [stdout] 83 | #[table_name="post_contents"] [INFO] [stdout] 84 | pub struct NewPostContentInsertion { [INFO] [stdout] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newpostcontentinsertion` [INFO] [stdout] 83 | #[table_name="post_contents"] [INFO] [stdout] 84 | pub struct NewPostContentInsertion { [INFO] [stdout] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 94 | #[table_name="users"] [INFO] [stdout] 95 | 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/storage/db/models.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Insertable)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 94 | #[table_name="users"] [INFO] [stdout] 95 | 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/storage/db/models.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Insertable)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newuser` [INFO] [stdout] 94 | #[table_name="users"] [INFO] [stdout] 95 | 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/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | boards (id) { [INFO] [stdout] 5 | | id -> Integer, [INFO] [stdout] 6 | | title -> Text, [INFO] [stdout] 7 | | details -> Text, [INFO] [stdout] | | ------- `details` is not local [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_details` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] | | ------- `post_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_post_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] 15 | | author_id -> Integer, [INFO] [stdout] | | --------- `author_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] 15 | | author_id -> Integer, [INFO] [stdout] 16 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 17 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 18 | | created -> Integer, [INFO] [stdout] | | ------- `created` is not local [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / diesel::table! { [INFO] [stdout] 12 | | post_contents (id) { [INFO] [stdout] 13 | | id -> Integer, [INFO] [stdout] 14 | | post_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 19 | | is_published -> Integer, [INFO] [stdout] | | ------------ `is_published` is not local [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] | | --------- `author_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_author_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] 27 | | thread_id -> Integer, [INFO] [stdout] | | --------- `thread_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_thread_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / diesel::table! { [INFO] [stdout] 24 | | posts (id) { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | author_id -> Integer, [INFO] [stdout] 27 | | thread_id -> Integer, [INFO] [stdout] 28 | | created -> Integer, [INFO] [stdout] | | ------- `created` is not local [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / diesel::table! { [INFO] [stdout] 33 | | threads (id) { [INFO] [stdout] 34 | | id -> Integer, [INFO] [stdout] 35 | | board_id -> Integer, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / diesel::table! { [INFO] [stdout] 33 | | threads (id) { [INFO] [stdout] 34 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 35 | | board_id -> Integer, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / diesel::table! { [INFO] [stdout] 33 | | threads (id) { [INFO] [stdout] 34 | | id -> Integer, [INFO] [stdout] 35 | | board_id -> Integer, [INFO] [stdout] | | -------- `board_id` is not local [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_board_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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] 43 | | pass_sha -> Text, [INFO] [stdout] | | -------- `pass_sha` is not local [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_pass_sha` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage/db/schema.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / diesel::table! { [INFO] [stdout] 40 | | users (id) { [INFO] [stdout] 41 | | id -> Integer, [INFO] [stdout] 42 | | username -> Text, [INFO] [stdout] 43 | | pass_sha -> Text, [INFO] [stdout] 44 | | salt -> Text, [INFO] [stdout] | | ---- `salt` is not local [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_salt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (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 4.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, nalgebra v0.28.0, nom v6.2.1, ubyte v0.10.1, wasm-bindgen v0.2.78, xml5ever v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3bfdb27ddbc82c3e744e0290eb6e4772a47d1b02c620838e5e2f15b1db012c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bfdb27ddbc82c3e744e0290eb6e4772a47d1b02c620838e5e2f15b1db012c97", kill_on_drop: false }` [INFO] [stdout] 3bfdb27ddbc82c3e744e0290eb6e4772a47d1b02c620838e5e2f15b1db012c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 575306bab19419390a89ee3469fd8699e1cfc42d67e709aa927afdbf4bca7cba [INFO] running `Command { std: "docker" "start" "-a" "575306bab19419390a89ee3469fd8699e1cfc42d67e709aa927afdbf4bca7cba", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] extern crate lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `spongedown::parse` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use spongedown::parse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `login_page` [INFO] [stderr] --> src/auth.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn login_page() -> content::Html { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `login_handle` [INFO] [stderr] --> src/auth.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn login_handle(mut cookies: &CookieJar<'_>, input: Form) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `create_user_debug` [INFO] [stderr] --> src/auth.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn create_user_debug(name: String, pass: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::storage::db::models::Thread` [INFO] [stderr] --> src/storage/crud/threads.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::storage::db::models::Thread; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `new_board_page` [INFO] [stderr] --> src/pages/admin/boards.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new_board_page(mut cookies: &CookieJar<'_>) -> content::Html { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `save_board_page` [INFO] [stderr] --> src/pages/admin/boards.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form) -> content::Html { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Post` [INFO] [stderr] --> src/pages/view_board_threads.rs:5:96 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{ForumError, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, Thread}}}}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `view_board_threads` [INFO] [stderr] --> src/pages/view_board_threads.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn view_board_threads(board_id: i32) -> Result, ForumError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PostContent` [INFO] [stderr] --> src/pages/post_editor.rs:5:108 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{ForumError, auth, storage::{crud, db::{establish_connection, models::{Board, JoinedPost, Post, PostContent, Thread, User}}}}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `new_thread` [INFO] [stderr] --> src/pages/post_editor.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn new_thread(mut cookies: &CookieJar<'_>, board_id: i32) -> Result, ForumError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reply_in_thread` [INFO] [stderr] --> src/pages/post_editor.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn reply_in_thread(mut cookies: &CookieJar<'_>, thread_id: i32) -> Result, ForumError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `edit_post` [INFO] [stderr] --> src/pages/post_editor.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn edit_post(mut cookies: &CookieJar<'_>, post_id: i32) -> Result, ForumError> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `save_board_page` [INFO] [stderr] --> src/pages/post_editor.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn save_board_page(mut cookies: &CookieJar<'_>, input: Form, board_id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `save_reply_page` [INFO] [stderr] --> src/pages/post_editor.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn save_reply_page(mut cookies: &CookieJar<'_>, input: Form, thread_id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `view_thread` [INFO] [stderr] --> src/pages/view_thread.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn view_thread(thread_id: i32) -> Result, ForumError> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `post` [INFO] [stderr] --> src/storage/crud/threads.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let post = create_post(conn, &thread, author, title, body)?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/pages/admin/boards.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | if let Some(id) = input.id { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/pages/post_editor.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/pages/post_editor.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/pages/post_editor.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | let user = auth::validate_session_cookies(&conn, &mut cookies)?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/pages/view_thread.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let id = post.id; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cookies` [INFO] [stderr] --> src/main.rs:132:20 [INFO] [stderr] | [INFO] [stderr] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookies` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/main.rs:132:45 [INFO] [stderr] | [INFO] [stderr] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:132:16 [INFO] [stderr] | [INFO] [stderr] 132 | fn post_handle(mut cookies: &CookieJar<'_>, input: Form) -> String { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `HelloTemplate` is never constructed [INFO] [stderr] --> src/main.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | struct HelloTemplate<'a> { // the name of the struct can be anything [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `AuthCookie` is never constructed [INFO] [stderr] --> src/auth.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct AuthCookie { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_session_cookies` is never used [INFO] [stderr] --> src/auth.rs:126:8 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn remove_session_cookies(cookies: &CookieJar<'_>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_posts` is never used [INFO] [stderr] --> src/storage/crud/posts.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_posts(conn: &SqliteConnection) -> QueryResult> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NewPostContents` is never constructed [INFO] [stderr] --> src/storage/db/models.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct NewPostContents { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `form_action` is never read [INFO] [stderr] --> src/pages/admin/boards.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct EditBoardTemplate { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 12 | pub existing_board: Option, [INFO] [stderr] 13 | pub form_action: &'static str [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `thread` is never read [INFO] [stderr] --> src/pages/view_board_threads.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ThreadRow { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 9 | id: i32, [INFO] [stderr] 10 | thread: Thread, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ThreadRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `EditPost` is never constructed [INFO] [stderr] --> src/pages/post_editor.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub enum FormMode { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 36 | EditPost(Post), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/pages/view_thread.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct PostRow { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 9 | id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/storage/db/models.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_board` [INFO] [stderr] 5 | pub struct Board { [INFO] [stderr] | ----- `Board` 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/storage/db/models.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_board` [INFO] [stderr] 5 | pub struct Board { [INFO] [stderr] | ----- `Board` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_board` [INFO] [stderr] 5 | pub struct Board { [INFO] [stderr] | ----- `Board` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_thread` [INFO] [stderr] 12 | #[belongs_to(Board)] [INFO] [stderr] 13 | pub struct Thread { [INFO] [stderr] | ------ `Thread` 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/storage/db/models.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_thread` [INFO] [stderr] 12 | #[belongs_to(Board)] [INFO] [stderr] 13 | pub struct Thread { [INFO] [stderr] | ------ `Thread` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_thread` [INFO] [stderr] 12 | #[belongs_to(Board)] [INFO] [stderr] 13 | pub struct Thread { [INFO] [stderr] | ------ `Thread` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `BelongsTo` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_associations_for_thread` [INFO] [stderr] 12 | #[belongs_to(Board)] [INFO] [stderr] | ----- `Board` is not local [INFO] [stderr] 13 | pub struct Thread { [INFO] [stderr] | ------ `Thread` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Associations` 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 `Associations` (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/storage/db/models.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [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] 19 | #[belongs_to(Thread)] [INFO] [stderr] 20 | 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/storage/db/models.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stderr] 19 | #[belongs_to(Thread)] [INFO] [stderr] 20 | pub struct Post { [INFO] [stderr] | ---- `Post` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stderr] 19 | #[belongs_to(Thread)] [INFO] [stderr] 20 | pub struct Post { [INFO] [stderr] | ---- `Post` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:18:35 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `BelongsTo` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_associations_for_post` [INFO] [stderr] 19 | #[belongs_to(Thread)] [INFO] [stderr] | ------ `Thread` is not local [INFO] [stderr] 20 | pub struct Post { [INFO] [stderr] | ---- `Post` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Associations` 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 `Associations` (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/storage/db/models.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_postcontent` [INFO] [stderr] 28 | #[belongs_to(Post)] [INFO] [stderr] 29 | pub struct PostContent { [INFO] [stderr] | ----------- `PostContent` 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/storage/db/models.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_postcontent` [INFO] [stderr] 28 | #[belongs_to(Post)] [INFO] [stderr] 29 | pub struct PostContent { [INFO] [stderr] | ----------- `PostContent` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_postcontent` [INFO] [stderr] 28 | #[belongs_to(Post)] [INFO] [stderr] 29 | pub struct PostContent { [INFO] [stderr] | ----------- `PostContent` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:27:35 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Queryable, Identifiable, Associations, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `BelongsTo` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_associations_for_postcontent` [INFO] [stderr] 28 | #[belongs_to(Post)] [INFO] [stderr] | ---- `Post` is not local [INFO] [stderr] 29 | pub struct PostContent { [INFO] [stderr] | ----------- `PostContent` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Associations` 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 `Associations` (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/storage/db/models.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Queryable, Identifiable, Debug)] [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] 40 | 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: 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/storage/db/models.rs:39:21 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Queryable, Identifiable, Debug)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `HasTable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stderr] 40 | pub struct User { [INFO] [stderr] | ---- `User` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:39:21 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Queryable, Identifiable, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Identifiable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stderr] 40 | pub struct User { [INFO] [stderr] | ---- `User` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Identifiable` 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 `Identifiable` (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/storage/db/models.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Insertable)] [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_newboard` [INFO] [stderr] 55 | #[table_name="boards"] [INFO] [stderr] 56 | pub struct NewBoard { [INFO] [stderr] | -------- `NewBoard` 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/storage/db/models.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Insertable)] [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_newboard` [INFO] [stderr] 55 | #[table_name="boards"] [INFO] [stderr] 56 | pub struct NewBoard { [INFO] [stderr] | -------- `NewBoard` 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/storage/db/models.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Insertable)] [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_newboard` [INFO] [stderr] 55 | #[table_name="boards"] [INFO] [stderr] 56 | pub struct NewBoard { [INFO] [stderr] | -------- `NewBoard` 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/storage/db/models.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | #[derive(Insertable)] [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_newthread` [INFO] [stderr] 62 | #[table_name="threads"] [INFO] [stderr] 63 | pub struct NewThread { [INFO] [stderr] | --------- `NewThread` 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/storage/db/models.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | #[derive(Insertable)] [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_newthread` [INFO] [stderr] 62 | #[table_name="threads"] [INFO] [stderr] 63 | pub struct NewThread { [INFO] [stderr] | --------- `NewThread` 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/storage/db/models.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | #[derive(Insertable)] [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_newthread` [INFO] [stderr] 62 | #[table_name="threads"] [INFO] [stderr] 63 | pub struct NewThread { [INFO] [stderr] | --------- `NewThread` 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/storage/db/models.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Insertable)] [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] 68 | #[table_name="posts"] [INFO] [stderr] 69 | pub struct NewPost { [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/storage/db/models.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Insertable)] [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] 68 | #[table_name="posts"] [INFO] [stderr] 69 | pub struct NewPost { [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/storage/db/models.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Insertable)] [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] 68 | #[table_name="posts"] [INFO] [stderr] 69 | pub struct NewPost { [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/storage/db/models.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Insertable)] [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_newpostcontentinsertion` [INFO] [stderr] 83 | #[table_name="post_contents"] [INFO] [stderr] 84 | pub struct NewPostContentInsertion { [INFO] [stderr] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Insertable)] [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_newpostcontentinsertion` [INFO] [stderr] 83 | #[table_name="post_contents"] [INFO] [stderr] 84 | pub struct NewPostContentInsertion { [INFO] [stderr] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Insertable)] [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_newpostcontentinsertion` [INFO] [stderr] 83 | #[table_name="post_contents"] [INFO] [stderr] 84 | pub struct NewPostContentInsertion { [INFO] [stderr] | ----------------------- `NewPostContentInsertion` 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/storage/db/models.rs:93:10 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(Insertable)] [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] 94 | #[table_name="users"] [INFO] [stderr] 95 | 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/storage/db/models.rs:93:10 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(Insertable)] [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] 94 | #[table_name="users"] [INFO] [stderr] 95 | 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/storage/db/models.rs:93:10 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(Insertable)] [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] 94 | #[table_name="users"] [INFO] [stderr] 95 | 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/storage/db/schema.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | boards (id) { [INFO] [stderr] 5 | | id -> Integer, [INFO] [stderr] 6 | | title -> Text, [INFO] [stderr] ... | [INFO] [stderr] 9 | | } [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 `diesel::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/storage/db/schema.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | boards (id) { [INFO] [stderr] 5 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 6 | | title -> Text, [INFO] [stderr] ... | [INFO] [stderr] 9 | | } [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 `diesel::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/storage/db/schema.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | boards (id) { [INFO] [stderr] 5 | | id -> Integer, [INFO] [stderr] 6 | | title -> Text, [INFO] [stderr] | | ----- `title` is not local [INFO] [stderr] ... | [INFO] [stderr] 9 | | } [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 `diesel::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/storage/db/schema.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | boards (id) { [INFO] [stderr] 5 | | id -> Integer, [INFO] [stderr] 6 | | title -> Text, [INFO] [stderr] 7 | | details -> Text, [INFO] [stderr] | | ------- `details` is not local [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_details` [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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] | | ------- `post_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_post_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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] 15 | | author_id -> Integer, [INFO] [stderr] | | --------- `author_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_author_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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] 15 | | author_id -> Integer, [INFO] [stderr] 16 | | title -> Text, [INFO] [stderr] | | ----- `title` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 17 | | body -> Text, [INFO] [stderr] | | ---- `body` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 18 | | created -> Integer, [INFO] [stderr] | | ------- `created` is not local [INFO] [stderr] ... | [INFO] [stderr] 21 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_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 `diesel::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/storage/db/schema.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / diesel::table! { [INFO] [stderr] 12 | | post_contents (id) { [INFO] [stderr] 13 | | id -> Integer, [INFO] [stderr] 14 | | post_id -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 19 | | is_published -> Integer, [INFO] [stderr] | | ------------ `is_published` is not local [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [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_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 `diesel::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/storage/db/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / diesel::table! { [INFO] [stderr] 24 | | posts (id) { [INFO] [stderr] 25 | | id -> Integer, [INFO] [stderr] 26 | | author_id -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [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 `diesel::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/storage/db/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / diesel::table! { [INFO] [stderr] 24 | | posts (id) { [INFO] [stderr] 25 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 26 | | author_id -> Integer, [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [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 `diesel::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/storage/db/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / diesel::table! { [INFO] [stderr] 24 | | posts (id) { [INFO] [stderr] 25 | | id -> Integer, [INFO] [stderr] 26 | | author_id -> Integer, [INFO] [stderr] | | --------- `author_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_author_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 `diesel::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/storage/db/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / diesel::table! { [INFO] [stderr] 24 | | posts (id) { [INFO] [stderr] 25 | | id -> Integer, [INFO] [stderr] 26 | | author_id -> Integer, [INFO] [stderr] 27 | | thread_id -> Integer, [INFO] [stderr] | | --------- `thread_id` is not local [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_thread_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 `diesel::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/storage/db/schema.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / diesel::table! { [INFO] [stderr] 24 | | posts (id) { [INFO] [stderr] 25 | | id -> Integer, [INFO] [stderr] 26 | | author_id -> Integer, [INFO] [stderr] 27 | | thread_id -> Integer, [INFO] [stderr] 28 | | created -> Integer, [INFO] [stderr] | | ------- `created` is not local [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_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 `diesel::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/storage/db/schema.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / diesel::table! { [INFO] [stderr] 33 | | threads (id) { [INFO] [stderr] 34 | | id -> Integer, [INFO] [stderr] 35 | | board_id -> Integer, [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [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 `diesel::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/storage/db/schema.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / diesel::table! { [INFO] [stderr] 33 | | threads (id) { [INFO] [stderr] 34 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 35 | | board_id -> Integer, [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [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 `diesel::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/storage/db/schema.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / diesel::table! { [INFO] [stderr] 33 | | threads (id) { [INFO] [stderr] 34 | | id -> Integer, [INFO] [stderr] 35 | | board_id -> Integer, [INFO] [stderr] | | -------- `board_id` is not local [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_board_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 `diesel::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/storage/db/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / diesel::table! { [INFO] [stderr] 40 | | users (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 46 | | } [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 `diesel::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/storage/db/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / diesel::table! { [INFO] [stderr] 40 | | users (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 42 | | username -> Text, [INFO] [stderr] ... | [INFO] [stderr] 46 | | } [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 `diesel::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/storage/db/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / diesel::table! { [INFO] [stderr] 40 | | users (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | username -> Text, [INFO] [stderr] | | -------- `username` is not local [INFO] [stderr] ... | [INFO] [stderr] 46 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_username` [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 `diesel::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/storage/db/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / diesel::table! { [INFO] [stderr] 40 | | users (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | username -> Text, [INFO] [stderr] 43 | | pass_sha -> Text, [INFO] [stderr] | | -------- `pass_sha` is not local [INFO] [stderr] ... | [INFO] [stderr] 46 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_pass_sha` [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 `diesel::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/storage/db/schema.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / diesel::table! { [INFO] [stderr] 40 | | users (id) { [INFO] [stderr] 41 | | id -> Integer, [INFO] [stderr] 42 | | username -> Text, [INFO] [stderr] 43 | | pass_sha -> Text, [INFO] [stderr] 44 | | salt -> Text, [INFO] [stderr] | | ---- `salt` is not local [INFO] [stderr] 45 | | } [INFO] [stderr] 46 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_salt` [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 `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `vivzone` (bin "vivzone" test) generated 93 warnings (run `cargo fix --bin "vivzone" --tests` to apply 17 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, nalgebra v0.28.0, nom v6.2.1, ubyte v0.10.1, wasm-bindgen v0.2.78, xml5ever v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vivzone-d96c36072432675d) [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" "575306bab19419390a89ee3469fd8699e1cfc42d67e709aa927afdbf4bca7cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575306bab19419390a89ee3469fd8699e1cfc42d67e709aa927afdbf4bca7cba", kill_on_drop: false }` [INFO] [stdout] 575306bab19419390a89ee3469fd8699e1cfc42d67e709aa927afdbf4bca7cba