[INFO] cloning repository https://github.com/sw814f21/rest-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sw814f21/rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsw814f21%2Frest-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsw814f21%2Frest-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d26c9fe4a1776b9bcd555aae5b4d00e3a8ea5244
[INFO] checking sw814f21/rest-api against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsw814f21%2Frest-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sw814f21/rest-api
[INFO] finished tweaking git repo https://github.com/sw814f21/rest-api
[INFO] tweaked toml for git repo https://github.com/sw814f21/rest-api written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sw814f21/rest-api on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sw814f21/rest-api 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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.67
[INFO] [stderr]   Downloaded vcpkg v0.2.11
[INFO] [stderr]   Downloaded futures-macro v0.3.13
[INFO] [stderr]   Downloaded serde_urlencoded v0.7.0
[INFO] [stderr]   Downloaded futures-sink v0.3.13
[INFO] [stderr]   Downloaded futures-io v0.3.13
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.71
[INFO] [stderr]   Downloaded futures-task v0.3.13
[INFO] [stderr]   Downloaded serde_json v1.0.64
[INFO] [stderr]   Downloaded mio-uds v0.6.8
[INFO] [stderr]   Downloaded actix-threadpool v0.3.3
[INFO] [stderr]   Downloaded cpuid-bool v0.1.2
[INFO] [stderr]   Downloaded language-tags v0.2.2
[INFO] [stderr]   Downloaded actix-rt v1.1.1
[INFO] [stderr]   Downloaded sha-1 v0.9.4
[INFO] [stderr]   Downloaded actix-macros v0.1.3
[INFO] [stderr]   Downloaded quote v1.0.9
[INFO] [stderr]   Downloaded redox_syscall v0.2.5
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.71
[INFO] [stderr]   Downloaded pin-project-lite v0.2.6
[INFO] [stderr]   Downloaded actix-tls v2.0.0
[INFO] [stderr]   Downloaded actix-codec v0.3.0
[INFO] [stderr]   Downloaded thiserror-impl v1.0.24
[INFO] [stderr]   Downloaded enum-as-inner v0.3.3
[INFO] [stderr]   Downloaded actix-connect v2.0.0
[INFO] [stderr]   Downloaded pin-project-internal v1.0.5
[INFO] [stderr]   Downloaded actix-testing v1.0.1
[INFO] [stderr]   Downloaded bytestring v1.0.0
[INFO] [stderr]   Downloaded actix-macros v0.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.71
[INFO] [stderr]   Downloaded parking_lot_core v0.8.3
[INFO] [stderr]   Downloaded once_cell v1.7.2
[INFO] [stderr]   Downloaded futures-core v0.3.13
[INFO] [stderr]   Downloaded pin-project-internal v0.4.27
[INFO] [stderr]   Downloaded generic-array v0.14.4
[INFO] [stderr]   Downloaded awc v2.0.3
[INFO] [stderr]   Downloaded signal-hook-registry v1.3.0
[INFO] [stderr]   Downloaded tokio-util v0.3.1
[INFO] [stderr]   Downloaded cookie v0.14.4
[INFO] [stderr]   Downloaded brotli2 v0.3.2
[INFO] [stderr]   Downloaded actix-utils v2.0.0
[INFO] [stderr]   Downloaded thiserror v1.0.24
[INFO] [stderr]   Downloaded httparse v1.3.5
[INFO] [stderr]   Downloaded tokio-rustls v0.14.1
[INFO] [stderr]   Downloaded async-trait v0.1.42
[INFO] [stderr]   Downloaded ipconfig v0.2.2
[INFO] [stderr]   Downloaded actix-router v0.2.7
[INFO] [stderr]   Downloaded actix-service v1.0.6
[INFO] [stderr]   Downloaded pin-project-lite v0.1.12
[INFO] [stderr]   Downloaded actix-server v1.0.4
[INFO] [stderr]   Downloaded futures-channel v0.3.13
[INFO] [stderr]   Downloaded bytes v0.5.6
[INFO] [stderr]   Downloaded typenum v1.12.0
[INFO] [stderr]   Downloaded pin-project v1.0.5
[INFO] [stderr]   Downloaded derive_more v0.99.11
[INFO] [stderr]   Downloaded indexmap v1.6.2
[INFO] [stderr]   Downloaded heck v0.3.2
[INFO] [stderr]   Downloaded actix-web-codegen v0.4.0
[INFO] [stderr]   Downloaded url v2.2.1
[INFO] [stderr]   Downloaded pin-project v0.4.27
[INFO] [stderr]   Downloaded tracing v0.1.25
[INFO] [stderr]   Downloaded trust-dns-resolver v0.19.6
[INFO] [stderr]   Downloaded futures v0.3.13
[INFO] [stderr]   Downloaded unicode-normalization v0.1.17
[INFO] [stderr]   Downloaded flate2 v1.0.20
[INFO] [stderr]   Downloaded unicode-segmentation v1.7.1
[INFO] [stderr]   Downloaded mio v0.7.9
[INFO] [stderr]   Downloaded http v0.2.3
[INFO] [stderr]   Downloaded bumpalo v3.6.1
[INFO] [stderr]   Downloaded futures-util v0.3.13
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.71
[INFO] [stderr]   Downloaded actix-http v2.2.0
[INFO] [stderr]   Downloaded h2 v0.2.7
[INFO] [stderr]   Downloaded rustls v0.18.1
[INFO] [stderr]   Downloaded trust-dns-proto v0.19.6
[INFO] [stderr]   Downloaded idna v0.2.2
[INFO] [stderr]   Downloaded webpki-roots v0.20.0
[INFO] [stderr]   Downloaded brotli-sys v0.3.2
[INFO] [stderr]   Downloaded tokio v0.2.25
[INFO] [stderr]   Downloaded libc v0.2.87
[INFO] [stderr]   Downloaded web-sys v0.3.48
[INFO] [stderr]   Downloaded encoding_rs v0.8.28
[INFO] [stderr]   Downloaded libsqlite3-sys v0.20.1
[INFO] [stderr]   Downloaded js-sys v0.3.48
[INFO] [stderr]   Downloaded actix-web v3.3.2
[INFO] [stderr]   Downloaded diesel v1.4.6
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.71
[INFO] [stderr]   Downloaded actix-rt v2.1.0
[INFO] [stderr]   Downloaded tokio v1.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215
[INFO] running `Command { std: "docker" "start" "7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.87
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking futures-core v0.3.13
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking futures-sink v0.3.13
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking lock_api v0.4.2
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking futures-channel v0.3.13
[INFO] [stderr]     Checking proc-macro-nested v0.1.7
[INFO] [stderr]     Checking futures-task v0.3.13
[INFO] [stderr]     Checking futures-io v0.3.13
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking tinyvec v1.1.1
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling standback v0.2.15
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking object v0.23.0
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking http v0.2.3
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling time v0.2.25
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking unicode-normalization v0.1.17
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]     Checking tracing v0.1.25
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]    Compiling httparse v1.3.5
[INFO] [stderr]     Checking regex-syntax v0.6.22
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking sha-1 v0.9.4
[INFO] [stderr]     Checking flate2 v1.0.20
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking idna v0.2.2
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]    Compiling tokio v1.3.0
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking bytestring v1.0.0
[INFO] [stderr]     Checking mio v0.7.9
[INFO] [stderr]     Checking array_tool v1.0.3
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking url v2.2.1
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]     Checking addr2line v0.14.1
[INFO] [stderr]     Checking backtrace v0.3.56
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]     Checking webpki-roots v0.20.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.13
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.5
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling async-trait v0.1.42
[INFO] [stderr]    Compiling actix-macros v0.2.0
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]     Checking actix-rt v2.1.0
[INFO] [stderr]     Checking tokio-rustls v0.14.1
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking futures-util v0.3.13
[INFO] [stderr]     Checking pin-project v1.0.5
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking pin-project v0.4.27
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking actix-codec v0.3.0
[INFO] [stderr]     Checking actix-threadpool v0.3.3
[INFO] [stderr]     Checking brotli2 v0.3.2
[INFO] [stderr]     Checking actix-service v1.0.6
[INFO] [stderr]     Checking actix-rt v1.1.1
[INFO] [stderr]     Checking futures v0.3.13
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking trust-dns-proto v0.19.6
[INFO] [stderr]     Checking actix-utils v2.0.0
[INFO] [stderr]     Checking actix-tls v2.0.0
[INFO] [stderr]     Checking actix-server v1.0.4
[INFO] [stderr]     Checking actix-testing v1.0.1
[INFO] [stderr]     Checking trust-dns-resolver v0.19.6
[INFO] [stderr]    Compiling diesel v1.4.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking actix-router v0.2.7
[INFO] [stderr]     Checking actix-connect v2.0.0
[INFO] [stderr]     Checking actix-http v2.2.0
[INFO] [stderr]     Checking awc v2.0.3
[INFO] [stderr]     Checking actix-web v3.3.2
[INFO] [stderr]     Checking migrations_internals v1.4.1
[INFO] [stderr]    Compiling migrations_macros v1.4.2
[INFO] [stderr]     Checking diesel_migrations v1.4.0
[INFO] [stderr]     Checking smiley_rest_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]    --> src/database/models.rs:253:3
[INFO] [stdout]     |
[INFO] [stdout] 253 | #[table_name = "version_history"]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 254 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  --------------- the attribute is introduced here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout]     = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]    --> src/database/models.rs:301:3
[INFO] [stdout]     |
[INFO] [stdout] 301 | #[table_name = "removed_restaurant"]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 302 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  --------------- the attribute is introduced here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]    --> src/database/models.rs:253:3
[INFO] [stdout]     |
[INFO] [stdout] 253 | #[table_name = "version_history"]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 254 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  --------------- the attribute is introduced here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout]     = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]    --> src/database/models.rs:301:3
[INFO] [stdout]     |
[INFO] [stdout] 301 | #[table_name = "removed_restaurant"]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 302 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  --------------- the attribute is introduced here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PushNotification` is never constructed
[INFO] [stdout]  --> src/utils/push_notification.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PushNotification {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_notification` is never used
[INFO] [stdout]   --> src/utils/push_notification.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn send_notification(push_notificaton: PushNotification) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Simplerestaurant` is never constructed
[INFO] [stdout]  --> src/tests/response_parser.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Simplerestaurant {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Restaurant` is never constructed
[INFO] [stdout]   --> src/tests/response_parser.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Restaurant {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmileyReport` is never constructed
[INFO] [stdout]   --> src/tests/response_parser.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct SmileyReport {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Restaurantandsmiley` is never constructed
[INFO] [stdout]   --> src/tests/response_parser.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Restaurantandsmiley {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Subscription` is never constructed
[INFO] [stdout]    --> src/tests/response_parser.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct Subscription {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/models.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Queryable, Serialize)]
[INFO] [stdout]    |                                   ^--------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Queryable` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_queryable_for_restaurant`
[INFO] [stdout] 11 | pub struct Restaurant {
[INFO] [stdout]    |            ---------- `Restaurant` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/models.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_simplerestaurant`
[INFO] [stdout] 37 | pub struct Simplerestaurant {
[INFO] [stdout]    |            ---------------- `Simplerestaurant` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:174:35
[INFO] [stdout]     |
[INFO] [stdout] 174 | #[derive(Debug, Clone, PartialEq, Queryable, Serialize)]
[INFO] [stdout]     |                                   ^--------
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   `Queryable` is not local
[INFO] [stdout]     |                                   move the `impl` block outside of this function `_impl_queryable_for_smileyreport`
[INFO] [stdout] 175 | pub struct SmileyReport {
[INFO] [stdout]     |            ------------ `SmileyReport` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:214:28
[INFO] [stdout]     |
[INFO] [stdout] 214 | #[derive(Clone, PartialEq, Queryable, Serialize)]
[INFO] [stdout]     |                            ^--------
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `Queryable` is not local
[INFO] [stdout]     |                            move the `impl` block outside of this function `_impl_queryable_for_subscription`
[INFO] [stdout] 215 | pub struct Subscription {
[INFO] [stdout]     |            ------------ `Subscription` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:254:39
[INFO] [stdout]     |
[INFO] [stdout] 254 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                       ^--------
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       `Queryable` is not local
[INFO] [stdout]     |                                       move the `impl` block outside of this function `_impl_queryable_for_version`
[INFO] [stdout] 255 | pub struct Version {
[INFO] [stdout]     |            ------- `Version` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:254:50
[INFO] [stdout]     |
[INFO] [stdout] 254 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  ^--------------
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  `QueryableByName` is not local
[INFO] [stdout]     |                                                  move the `impl` block outside of this function `_impl_queryable_by_name_for_version`
[INFO] [stdout] 255 | pub struct Version {
[INFO] [stdout]     |            ------- `Version` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:302:39
[INFO] [stdout]     |
[INFO] [stdout] 302 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                       ^--------
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       `Queryable` is not local
[INFO] [stdout]     |                                       move the `impl` block outside of this function `_impl_queryable_for_removedrestaurant`
[INFO] [stdout] 303 | pub struct RemovedRestaurant {
[INFO] [stdout]     |            ----------------- `RemovedRestaurant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:302:50
[INFO] [stdout]     |
[INFO] [stdout] 302 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  ^--------------
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  `QueryableByName` is not local
[INFO] [stdout]     |                                                  move the `impl` block outside of this function `_impl_queryable_by_name_for_removedrestaurant`
[INFO] [stdout] 303 | pub struct RemovedRestaurant {
[INFO] [stdout]     |            ----------------- `RemovedRestaurant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout]    | |         --------------- `subscription_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_subscription_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout]  5 | |         timestamp -> Text,
[INFO] [stdout]    | |         --------- `timestamp` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout]  5 | |         timestamp -> Text,
[INFO] [stdout]  6 | |         data -> Text,
[INFO] [stdout]    | |         ---- `data` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         title -> Text,
[INFO] [stdout]    | |         ----- `title` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_title`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         body -> Text,
[INFO] [stdout]    | |         ---- `body` is not local
[INFO] [stdout]  9 | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_body`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / table! {
[INFO] [stdout] 13 | |     removed_restaurant (restaurant_id) {
[INFO] [stdout] 14 | |         restaurant_id -> Integer,
[INFO] [stdout] 15 | |         version_number -> Integer,
[INFO] [stdout] 16 | |     }
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / table! {
[INFO] [stdout] 13 | |     removed_restaurant (restaurant_id) {
[INFO] [stdout] 14 | |         restaurant_id -> Integer,
[INFO] [stdout]    | |         ------------- `restaurant_id` is not local
[INFO] [stdout] 15 | |         version_number -> Integer,
[INFO] [stdout] 16 | |     }
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / table! {
[INFO] [stdout] 13 | |     removed_restaurant (restaurant_id) {
[INFO] [stdout] 14 | |         restaurant_id -> Integer,
[INFO] [stdout] 15 | |         version_number -> Integer,
[INFO] [stdout]    | |         -------------- `version_number` is not local
[INFO] [stdout] 16 | |     }
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_version_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout]    | |         -------------------- `smiley_restaurant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_smiley_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout] 24 | |         address -> Text,
[INFO] [stdout]    | |         ------- `address` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         zipcode -> Text,
[INFO] [stdout]    | |         ------- `zipcode` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_zipcode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         city -> Text,
[INFO] [stdout]    | |         ---- `city` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_city`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         cvr -> Text,
[INFO] [stdout]    | |         --- `cvr` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_cvr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |         pnr -> Text,
[INFO] [stdout]    | |         --- `pnr` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_pnr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |         latitude -> Double,
[INFO] [stdout]    | |         -------- `latitude` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_latitude`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         longitude -> Double,
[INFO] [stdout]    | |         --------- `longitude` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_longitude`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         version_number -> Integer,
[INFO] [stdout]    | |         -------------- `version_number` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_version_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |         region -> Nullable<Text>,
[INFO] [stdout]    | |         ------ `region` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_region`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |         industry_code -> Text,
[INFO] [stdout]    | |         ------------- `industry_code` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_industry_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         industry_text -> Text,
[INFO] [stdout]    | |         ------------- `industry_text` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_industry_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |         start_date -> Text,
[INFO] [stdout]    | |         ---------- `start_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_start_date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |         end_date -> Text,
[INFO] [stdout]    | |         -------- `end_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_end_date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         elite_smiley -> Text,
[INFO] [stdout]    | |         ------------ `elite_smiley` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_elite_smiley`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |         niche_industry -> Text,
[INFO] [stdout]    | |         -------------- `niche_industry` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_niche_industry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         url -> Text,
[INFO] [stdout]    | |         --- `url` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |         ad_protection -> Text,
[INFO] [stdout]    | |         ------------- `ad_protection` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_ad_protection`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 41 | |         company_type -> Text,
[INFO] [stdout]    | |         ------------ `company_type` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_company_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         franchise_name -> Nullable<Text>,
[INFO] [stdout]    | |         -------------- `franchise_name` is not local
[INFO] [stdout] 43 | |     }
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_franchise_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout]    | |         ------------- `restaurant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] 50 | |         smiley -> Integer,
[INFO] [stdout]    | |         ------ `smiley` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_smiley`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] 50 | |         smiley -> Integer,
[INFO] [stdout] 51 | |         report_id -> Text,
[INFO] [stdout]    | |         --------- `report_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_report_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |         date -> Text,
[INFO] [stdout]    | |         ---- `date` is not local
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout]    | |         ------------- `restaurant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout] 60 | |         token -> Text,
[INFO] [stdout]    | |         ----- `token` is not local
[INFO] [stdout] 61 | |     }
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout]    | |         --------- `timestamp` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout] 68 | |         token -> Text,
[INFO] [stdout]    | |         ----- `token` is not local
[INFO] [stdout] 69 | |     }
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/services/subscription.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Serialize, Deserialize)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_subscriptionrequest`
[INFO] [stdout] 10 | #[table_name = "subscription"]
[INFO] [stdout] 11 | pub struct SubscriptionRequest {
[INFO] [stdout]    |            ------------------- `SubscriptionRequest` 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/services/subscription.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Serialize, Deserialize)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_subscriptionrequest`
[INFO] [stdout] 10 | #[table_name = "subscription"]
[INFO] [stdout] 11 | pub struct SubscriptionRequest {
[INFO] [stdout]    |            ------------------- `SubscriptionRequest` 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/services/subscription.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Serialize, Deserialize)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_subscriptionrequest`
[INFO] [stdout] 10 | #[table_name = "subscription"]
[INFO] [stdout] 11 | pub struct SubscriptionRequest {
[INFO] [stdout]    |            ------------------- `SubscriptionRequest` 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/utils/data_inserter.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[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_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` 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/utils/data_inserter.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[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_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` 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/utils/data_inserter.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[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_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` 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/utils/data_inserter.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]   |                      ^^^^^^^^^^^
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      `AsChangeset` is not local
[INFO] [stdout]   |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/utils/data_inserter.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]   |                      ^----------
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      `AsChangeset` is not local
[INFO] [stdout]   |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/utils/data_inserter.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[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_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` 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/utils/data_inserter.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[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_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` 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/utils/data_inserter.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[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_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` 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/utils/data_inserter.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `AsChangeset` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/utils/data_inserter.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]    |                      ^----------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `AsChangeset` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/utils/data_inserter.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[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_insertremovedrestaurant`
[INFO] [stdout] 42 | #[table_name = "removed_restaurant"]
[INFO] [stdout] 43 | pub struct InsertRemovedRestaurant {
[INFO] [stdout]    |            ----------------------- `InsertRemovedRestaurant` 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/utils/data_inserter.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[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_insertremovedrestaurant`
[INFO] [stdout] 42 | #[table_name = "removed_restaurant"]
[INFO] [stdout] 43 | pub struct InsertRemovedRestaurant {
[INFO] [stdout]    |            ----------------------- `InsertRemovedRestaurant` 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/utils/data_inserter.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[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_insertremovedrestaurant`
[INFO] [stdout] 42 | #[table_name = "removed_restaurant"]
[INFO] [stdout] 43 | pub struct InsertRemovedRestaurant {
[INFO] [stdout]    |            ----------------------- `InsertRemovedRestaurant` 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/utils/data_inserter.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / no_arg_sql_function!(
[INFO] [stdout] 49 | |     last_insert_rowid,
[INFO] [stdout]    | |     ----------------- `last_insert_rowid` is not local
[INFO] [stdout] 50 | |     diesel::sql_types::Integer,
[INFO] [stdout] 51 | |     "Represents the SQL last_insert_row() function"
[INFO] [stdout] 52 | | );
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_last_insert_rowid`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `no_arg_sql_function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smiley_rest_api` (bin "smiley_rest_api") due to 4 previous errors; 79 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `PushNotification` is never constructed
[INFO] [stdout]  --> src/utils/push_notification.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PushNotification {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_notification` is never used
[INFO] [stdout]   --> src/utils/push_notification.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn send_notification(push_notificaton: PushNotification) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Subscription` is never constructed
[INFO] [stdout]    --> src/tests/response_parser.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct Subscription {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/models.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, Queryable, Serialize)]
[INFO] [stdout]    |                                   ^--------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Queryable` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_queryable_for_restaurant`
[INFO] [stdout] 11 | pub struct Restaurant {
[INFO] [stdout]    |            ---------- `Restaurant` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/models.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_simplerestaurant`
[INFO] [stdout] 37 | pub struct Simplerestaurant {
[INFO] [stdout]    |            ---------------- `Simplerestaurant` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:174:35
[INFO] [stdout]     |
[INFO] [stdout] 174 | #[derive(Debug, Clone, PartialEq, Queryable, Serialize)]
[INFO] [stdout]     |                                   ^--------
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   `Queryable` is not local
[INFO] [stdout]     |                                   move the `impl` block outside of this function `_impl_queryable_for_smileyreport`
[INFO] [stdout] 175 | pub struct SmileyReport {
[INFO] [stdout]     |            ------------ `SmileyReport` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:214:28
[INFO] [stdout]     |
[INFO] [stdout] 214 | #[derive(Clone, PartialEq, Queryable, Serialize)]
[INFO] [stdout]     |                            ^--------
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `Queryable` is not local
[INFO] [stdout]     |                            move the `impl` block outside of this function `_impl_queryable_for_subscription`
[INFO] [stdout] 215 | pub struct Subscription {
[INFO] [stdout]     |            ------------ `Subscription` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:254:39
[INFO] [stdout]     |
[INFO] [stdout] 254 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                       ^--------
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       `Queryable` is not local
[INFO] [stdout]     |                                       move the `impl` block outside of this function `_impl_queryable_for_version`
[INFO] [stdout] 255 | pub struct Version {
[INFO] [stdout]     |            ------- `Version` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:254:50
[INFO] [stdout]     |
[INFO] [stdout] 254 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  ^--------------
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  `QueryableByName` is not local
[INFO] [stdout]     |                                                  move the `impl` block outside of this function `_impl_queryable_by_name_for_version`
[INFO] [stdout] 255 | pub struct Version {
[INFO] [stdout]     |            ------- `Version` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:302:39
[INFO] [stdout]     |
[INFO] [stdout] 302 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                       ^--------
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       `Queryable` is not local
[INFO] [stdout]     |                                       move the `impl` block outside of this function `_impl_queryable_for_removedrestaurant`
[INFO] [stdout] 303 | pub struct RemovedRestaurant {
[INFO] [stdout]     |            ----------------- `RemovedRestaurant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/models.rs:302:50
[INFO] [stdout]     |
[INFO] [stdout] 302 | #[derive(Clone, PartialEq, Serialize, Queryable, QueryableByName)]
[INFO] [stdout]     |                                                  ^--------------
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  `QueryableByName` is not local
[INFO] [stdout]     |                                                  move the `impl` block outside of this function `_impl_queryable_by_name_for_removedrestaurant`
[INFO] [stdout] 303 | pub struct RemovedRestaurant {
[INFO] [stdout]     |            ----------------- `RemovedRestaurant` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout]    | |         --------------- `subscription_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_subscription_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout]  5 | |         timestamp -> Text,
[INFO] [stdout]    | |         --------- `timestamp` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout]  5 | |         timestamp -> Text,
[INFO] [stdout]  6 | |         data -> Text,
[INFO] [stdout]    | |         ---- `data` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         title -> Text,
[INFO] [stdout]    | |         ----- `title` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_title`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     notification_history (id) {
[INFO] [stdout]  3 | |         id -> Integer,
[INFO] [stdout]  4 | |         subscription_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         body -> Text,
[INFO] [stdout]    | |         ---- `body` is not local
[INFO] [stdout]  9 | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_body`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / table! {
[INFO] [stdout] 13 | |     removed_restaurant (restaurant_id) {
[INFO] [stdout] 14 | |         restaurant_id -> Integer,
[INFO] [stdout] 15 | |         version_number -> Integer,
[INFO] [stdout] 16 | |     }
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / table! {
[INFO] [stdout] 13 | |     removed_restaurant (restaurant_id) {
[INFO] [stdout] 14 | |         restaurant_id -> Integer,
[INFO] [stdout]    | |         ------------- `restaurant_id` is not local
[INFO] [stdout] 15 | |         version_number -> Integer,
[INFO] [stdout] 16 | |     }
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / table! {
[INFO] [stdout] 13 | |     removed_restaurant (restaurant_id) {
[INFO] [stdout] 14 | |         restaurant_id -> Integer,
[INFO] [stdout] 15 | |         version_number -> Integer,
[INFO] [stdout]    | |         -------------- `version_number` is not local
[INFO] [stdout] 16 | |     }
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_version_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout]    | |         -------------------- `smiley_restaurant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_smiley_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout] 24 | |         address -> Text,
[INFO] [stdout]    | |         ------- `address` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         zipcode -> Text,
[INFO] [stdout]    | |         ------- `zipcode` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_zipcode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         city -> Text,
[INFO] [stdout]    | |         ---- `city` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_city`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         cvr -> Text,
[INFO] [stdout]    | |         --- `cvr` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_cvr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |         pnr -> Text,
[INFO] [stdout]    | |         --- `pnr` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_pnr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |         latitude -> Double,
[INFO] [stdout]    | |         -------- `latitude` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_latitude`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         longitude -> Double,
[INFO] [stdout]    | |         --------- `longitude` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_longitude`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         version_number -> Integer,
[INFO] [stdout]    | |         -------------- `version_number` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_version_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |         region -> Nullable<Text>,
[INFO] [stdout]    | |         ------ `region` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_region`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |         industry_code -> Text,
[INFO] [stdout]    | |         ------------- `industry_code` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_industry_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         industry_text -> Text,
[INFO] [stdout]    | |         ------------- `industry_text` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_industry_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |         start_date -> Text,
[INFO] [stdout]    | |         ---------- `start_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_start_date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |         end_date -> Text,
[INFO] [stdout]    | |         -------- `end_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_end_date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         elite_smiley -> Text,
[INFO] [stdout]    | |         ------------ `elite_smiley` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_elite_smiley`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |         niche_industry -> Text,
[INFO] [stdout]    | |         -------------- `niche_industry` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_niche_industry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         url -> Text,
[INFO] [stdout]    | |         --- `url` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |         ad_protection -> Text,
[INFO] [stdout]    | |         ------------- `ad_protection` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_ad_protection`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 41 | |         company_type -> Text,
[INFO] [stdout]    | |         ------------ `company_type` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_company_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     restaurant (id) {
[INFO] [stdout] 21 | |         id -> Integer,
[INFO] [stdout] 22 | |         smiley_restaurant_id -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         franchise_name -> Nullable<Text>,
[INFO] [stdout]    | |         -------------- `franchise_name` is not local
[INFO] [stdout] 43 | |     }
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_franchise_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout]    | |         ------------- `restaurant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] 50 | |         smiley -> Integer,
[INFO] [stdout]    | |         ------ `smiley` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_smiley`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] 50 | |         smiley -> Integer,
[INFO] [stdout] 51 | |         report_id -> Text,
[INFO] [stdout]    | |         --------- `report_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_report_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     smiley_report (id) {
[INFO] [stdout] 48 | |         id -> Integer,
[INFO] [stdout] 49 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |         date -> Text,
[INFO] [stdout]    | |         ---- `date` is not local
[INFO] [stdout] 53 | |     }
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout]    | |         ------------- `restaurant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_restaurant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / table! {
[INFO] [stdout] 57 | |     subscription (id) {
[INFO] [stdout] 58 | |         id -> Integer,
[INFO] [stdout] 59 | |         restaurant_id -> Integer,
[INFO] [stdout] 60 | |         token -> Text,
[INFO] [stdout]    | |         ----- `token` is not local
[INFO] [stdout] 61 | |     }
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout]    | |         --------- `timestamp` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/database/schema.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / table! {
[INFO] [stdout] 65 | |     version_history (id) {
[INFO] [stdout] 66 | |         id -> Integer,
[INFO] [stdout] 67 | |         timestamp -> Text,
[INFO] [stdout] 68 | |         token -> Text,
[INFO] [stdout]    | |         ----- `token` is not local
[INFO] [stdout] 69 | |     }
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/services/subscription.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Serialize, Deserialize)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_subscriptionrequest`
[INFO] [stdout] 10 | #[table_name = "subscription"]
[INFO] [stdout] 11 | pub struct SubscriptionRequest {
[INFO] [stdout]    |            ------------------- `SubscriptionRequest` 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/services/subscription.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Serialize, Deserialize)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_subscriptionrequest`
[INFO] [stdout] 10 | #[table_name = "subscription"]
[INFO] [stdout] 11 | pub struct SubscriptionRequest {
[INFO] [stdout]    |            ------------------- `SubscriptionRequest` 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/services/subscription.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Serialize, Deserialize)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_subscriptionrequest`
[INFO] [stdout] 10 | #[table_name = "subscription"]
[INFO] [stdout] 11 | pub struct SubscriptionRequest {
[INFO] [stdout]    |            ------------------- `SubscriptionRequest` 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/utils/data_inserter.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[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_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` 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/utils/data_inserter.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[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_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` 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/utils/data_inserter.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[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_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` 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/utils/data_inserter.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]   |                      ^^^^^^^^^^^
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      `AsChangeset` is not local
[INFO] [stdout]   |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/utils/data_inserter.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]   |                      ^----------
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      `AsChangeset` is not local
[INFO] [stdout]   |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertrestaurant`
[INFO] [stdout] 7 | #[table_name = "restaurant"]
[INFO] [stdout] 8 | pub struct InsertRestaurant {
[INFO] [stdout]   |            ---------------- `InsertRestaurant` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/utils/data_inserter.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[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_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` 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/utils/data_inserter.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[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_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` 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/utils/data_inserter.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[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_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` 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/utils/data_inserter.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `AsChangeset` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/utils/data_inserter.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable, AsChangeset)]
[INFO] [stdout]    |                      ^----------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `AsChangeset` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_as_changeset_for_insertsmileyreport`
[INFO] [stdout] 33 | #[table_name = "smiley_report"]
[INFO] [stdout] 34 | pub struct InsertSmileyReport {
[INFO] [stdout]    |            ------------------ `InsertSmileyReport` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/utils/data_inserter.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[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_insertremovedrestaurant`
[INFO] [stdout] 42 | #[table_name = "removed_restaurant"]
[INFO] [stdout] 43 | pub struct InsertRemovedRestaurant {
[INFO] [stdout]    |            ----------------------- `InsertRemovedRestaurant` 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/utils/data_inserter.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[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_insertremovedrestaurant`
[INFO] [stdout] 42 | #[table_name = "removed_restaurant"]
[INFO] [stdout] 43 | pub struct InsertRemovedRestaurant {
[INFO] [stdout]    |            ----------------------- `InsertRemovedRestaurant` 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/utils/data_inserter.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[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_insertremovedrestaurant`
[INFO] [stdout] 42 | #[table_name = "removed_restaurant"]
[INFO] [stdout] 43 | pub struct InsertRemovedRestaurant {
[INFO] [stdout]    |            ----------------------- `InsertRemovedRestaurant` 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/utils/data_inserter.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / no_arg_sql_function!(
[INFO] [stdout] 49 | |     last_insert_rowid,
[INFO] [stdout]    | |     ----------------- `last_insert_rowid` is not local
[INFO] [stdout] 50 | |     diesel::sql_types::Integer,
[INFO] [stdout] 51 | |     "Represents the SQL last_insert_row() function"
[INFO] [stdout] 52 | | );
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_last_insert_rowid`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `no_arg_sql_function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smiley_rest_api` (bin "smiley_rest_api" test) due to 4 previous errors; 75 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215", kill_on_drop: false }`
[INFO] [stdout] 7e3295acc43e2f1f1944960bf4d97289141cea72c58ead8113385ccd7bf05215
