[INFO] cloning repository https://github.com/Aaron-Uriel/server-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aaron-Uriel/server-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaron-Uriel%2Fserver-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaron-Uriel%2Fserver-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ba33b52e0dc68d01b4e9319c52888bfee60fe4c
[INFO] checking Aaron-Uriel/server-backend against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaron-Uriel%2Fserver-backend" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Aaron-Uriel/server-backend
[INFO] finished tweaking git repo https://github.com/Aaron-Uriel/server-backend
[INFO] tweaked toml for git repo https://github.com/Aaron-Uriel/server-backend written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aaron-Uriel/server-backend on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Aaron-Uriel/server-backend 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3a878ee82b70fdc6bff456bf078b7f77022a1da0719d5ddd10df3f7034c3789
[INFO] running `Command { std: "docker" "start" "-a" "d3a878ee82b70fdc6bff456bf078b7f77022a1da0719d5ddd10df3f7034c3789", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3a878ee82b70fdc6bff456bf078b7f77022a1da0719d5ddd10df3f7034c3789", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3a878ee82b70fdc6bff456bf078b7f77022a1da0719d5ddd10df3f7034c3789", kill_on_drop: false }`
[INFO] [stdout] d3a878ee82b70fdc6bff456bf078b7f77022a1da0719d5ddd10df3f7034c3789
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4986f9be95407733c744bdda9383a02ba91208050f18cc6fa272fca4eecec295
[INFO] running `Command { std: "docker" "start" "-a" "4986f9be95407733c744bdda9383a02ba91208050f18cc6fa272fca4eecec295", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.5
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking r2d2 v0.8.9
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling mysqlclient-sys v0.2.4
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling derive_more v0.99.14
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]     Checking futures-util v0.3.15
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking time v0.2.26
[INFO] [stderr]     Checking pin-project v1.0.7
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking thiserror v1.0.25
[INFO] [stderr]     Checking pin-project v0.4.28
[INFO] [stderr]     Checking actix-codec v0.3.0
[INFO] [stderr]     Checking cookie v0.14.4
[INFO] [stderr]     Checking brotli2 v0.3.2
[INFO] [stderr]     Checking serde v1.0.126
[INFO] [stderr]     Checking actix-threadpool v0.3.3
[INFO] [stderr]     Checking actix-rt v1.1.1
[INFO] [stderr]     Checking actix-service v1.0.6
[INFO] [stderr]     Checking futures v0.3.15
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking trust-dns-proto v0.19.7
[INFO] [stderr]     Checking actix-utils v2.0.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking serde_json v1.0.64
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking actix-router v0.2.7
[INFO] [stderr]     Checking bigdecimal v0.1.2
[INFO] [stderr]     Checking actix-server v1.0.4
[INFO] [stderr]     Checking actix-tls v2.0.0
[INFO] [stderr]     Checking trust-dns-resolver v0.19.7
[INFO] [stderr]     Checking actix-testing v1.0.1
[INFO] [stderr]     Checking actix-connect v2.0.0
[INFO] [stderr]     Checking diesel v1.4.6
[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 server-backend v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Error` and `middleware`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{get, middleware, post, web, App, Error, HttpResponse, HttpServer};
[INFO] [stdout]   |                      ^^^^^^^^^^                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `middleware`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{get, middleware, post, web, App, Error, HttpResponse, HttpServer};
[INFO] [stdout]   |                      ^^^^^^^^^^                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/models.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Order {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | | }
[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: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout]   | |         --------- `client_id` is not local
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_client_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout]   | |         -------- `table_id` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout] 5 | |         arrival -> Timestamp,
[INFO] [stdout]   | |         ------- `arrival` is not local
[INFO] [stdout] 6 | |     }
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_arrival`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] ...  |
[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/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout]    | |         ------- `food_id` is not local
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] ...  |
[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_food_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout]    | |         ------ `f_name` is not local
[INFO] [stdout] ...  |
[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_f_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] 13 | |         price -> Decimal,
[INFO] [stdout]    | |         ----- `price` is not local
[INFO] [stdout] ...  |
[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_price`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] 13 | |         price -> Decimal,
[INFO] [stdout] 14 | |         estimated_time_minutes -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout]    | |         ---------------------- `estimated_time_minutes` is not local
[INFO] [stdout] ...  |
[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_estimated_time_minutes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |         has_variants -> Bool,
[INFO] [stdout]    | |         ------------ `has_variants` 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_has_variants`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout]    | |         -------- `order_id` is not local
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_order_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: struct `Order` is never constructed
[INFO] [stdout]   --> src/models.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Order {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout]    | |         --------- `client_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_client_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 23 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout]    | |         ------- `food_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_food_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 23 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 24 | |         food_amount -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         ----------- `food_amount` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_food_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | | }
[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: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         variant_id -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         ---------- `variant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_variant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         is_finished -> Bool,
[INFO] [stdout]    | |         ----------- `is_finished` is not local
[INFO] [stdout] 27 | |     }
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_is_finished`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout]   | |         --------- `client_id` is not local
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_client_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout]   | |         -------- `table_id` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / table! {
[INFO] [stdout] 31 | |     tables (table_id) {
[INFO] [stdout] 32 | |         table_id -> Unsigned<Tinyint>,
[INFO] [stdout] 33 | |         is_occupied -> Bool,
[INFO] [stdout] 34 | |     }
[INFO] [stdout] 35 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     clients (client_id) {
[INFO] [stdout] 3 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 4 | |         table_id -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout] 5 | |         arrival -> Timestamp,
[INFO] [stdout]   | |         ------- `arrival` is not local
[INFO] [stdout] 6 | |     }
[INFO] [stdout] 7 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_arrival`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / table! {
[INFO] [stdout] 31 | |     tables (table_id) {
[INFO] [stdout] 32 | |         table_id -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         -------- `table_id` is not local
[INFO] [stdout] 33 | |         is_occupied -> Bool,
[INFO] [stdout] 34 | |     }
[INFO] [stdout] 35 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / table! {
[INFO] [stdout] 31 | |     tables (table_id) {
[INFO] [stdout] 32 | |         table_id -> Unsigned<Tinyint>,
[INFO] [stdout] 33 | |         is_occupied -> Bool,
[INFO] [stdout]    | |         ----------- `is_occupied` is not local
[INFO] [stdout] 34 | |     }
[INFO] [stdout] 35 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_is_occupied`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | / table! {
[INFO] [stdout] 38 | |     variants (v_id) {
[INFO] [stdout] 39 | |         v_id -> Unsigned<Tinyint>,
[INFO] [stdout] 40 | |         v_name -> Varchar,
[INFO] [stdout] 41 | |     }
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] ...  |
[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/schema.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | / table! {
[INFO] [stdout] 38 | |     variants (v_id) {
[INFO] [stdout] 39 | |         v_id -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         ---- `v_id` is not local
[INFO] [stdout] 40 | |         v_name -> Varchar,
[INFO] [stdout] 41 | |     }
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_v_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout]    | |         ------- `food_id` is not local
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] ...  |
[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_food_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | / table! {
[INFO] [stdout] 38 | |     variants (v_id) {
[INFO] [stdout] 39 | |         v_id -> Unsigned<Tinyint>,
[INFO] [stdout] 40 | |         v_name -> Varchar,
[INFO] [stdout]    | |         ------ `v_name` is not local
[INFO] [stdout] 41 | |     }
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_v_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout]    | |         ------ `f_name` is not local
[INFO] [stdout] ...  |
[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_f_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/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Queryable, Debug, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_client`
[INFO] [stdout] 16 | pub struct Client {
[INFO] [stdout]    |            ------ `Client` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Queryable, Debug, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_food`
[INFO] [stdout] 23 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Insertable, Default, 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_newclient`
[INFO] [stdout] 32 | #[table_name="clients"]
[INFO] [stdout] 33 | pub struct NewClient {
[INFO] [stdout]    |            --------- `NewClient` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Insertable, Default, 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_newclient`
[INFO] [stdout] 32 | #[table_name="clients"]
[INFO] [stdout] 33 | pub struct NewClient {
[INFO] [stdout]    |            --------- `NewClient` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Insertable, Default, 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_newclient`
[INFO] [stdout] 32 | #[table_name="clients"]
[INFO] [stdout] 33 | pub struct NewClient {
[INFO] [stdout]    |            --------- `NewClient` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Insertable, Debug, 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_neworder`
[INFO] [stdout] 38 | #[table_name="orders"]
[INFO] [stdout] 39 | pub struct NewOrder {
[INFO] [stdout]    |            -------- `NewOrder` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Insertable, Debug, 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_neworder`
[INFO] [stdout] 38 | #[table_name="orders"]
[INFO] [stdout] 39 | pub struct NewOrder {
[INFO] [stdout]    |            -------- `NewOrder` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Insertable, Debug, 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_neworder`
[INFO] [stdout] 38 | #[table_name="orders"]
[INFO] [stdout] 39 | pub struct NewOrder {
[INFO] [stdout]    |            -------- `NewOrder` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_order`
[INFO] [stdout] 47 | pub struct Order {
[INFO] [stdout]    |            ----- `Order` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[derive(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_variant`
[INFO] [stdout] 57 | pub struct Variant {
[INFO] [stdout]    |            ------- `Variant` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(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_table`
[INFO] [stdout] 63 | pub struct Table {
[INFO] [stdout]    |            ----- `Table` 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/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] 13 | |         price -> Decimal,
[INFO] [stdout]    | |         ----- `price` is not local
[INFO] [stdout] ...  |
[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_price`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] 13 | |         price -> Decimal,
[INFO] [stdout] 14 | |         estimated_time_minutes -> Nullable<Unsigned<Tinyint>>,
[INFO] [stdout]    | |         ---------------------- `estimated_time_minutes` is not local
[INFO] [stdout] ...  |
[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_estimated_time_minutes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / table! {
[INFO] [stdout] 10 | |     foods (food_id) {
[INFO] [stdout] 11 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 12 | |         f_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |         has_variants -> Bool,
[INFO] [stdout]    | |         ------------ `has_variants` 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_has_variants`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout]    | |         -------- `order_id` is not local
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_order_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout]    | |         --------- `client_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_client_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 23 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout]    | |         ------- `food_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_food_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] 23 | |         food_id -> Unsigned<Smallint>,
[INFO] [stdout] 24 | |         food_amount -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         ----------- `food_amount` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_food_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         variant_id -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         ---------- `variant_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_variant_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / table! {
[INFO] [stdout] 20 | |     orders (order_id) {
[INFO] [stdout] 21 | |         order_id -> Unsigned<Integer>,
[INFO] [stdout] 22 | |         client_id -> Unsigned<Integer>,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         is_finished -> Bool,
[INFO] [stdout]    | |         ----------- `is_finished` is not local
[INFO] [stdout] 27 | |     }
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_is_finished`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / table! {
[INFO] [stdout] 31 | |     tables (table_id) {
[INFO] [stdout] 32 | |         table_id -> Unsigned<Tinyint>,
[INFO] [stdout] 33 | |         is_occupied -> Bool,
[INFO] [stdout] 34 | |     }
[INFO] [stdout] 35 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / table! {
[INFO] [stdout] 31 | |     tables (table_id) {
[INFO] [stdout] 32 | |         table_id -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         -------- `table_id` is not local
[INFO] [stdout] 33 | |         is_occupied -> Bool,
[INFO] [stdout] 34 | |     }
[INFO] [stdout] 35 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | / table! {
[INFO] [stdout] 31 | |     tables (table_id) {
[INFO] [stdout] 32 | |         table_id -> Unsigned<Tinyint>,
[INFO] [stdout] 33 | |         is_occupied -> Bool,
[INFO] [stdout]    | |         ----------- `is_occupied` is not local
[INFO] [stdout] 34 | |     }
[INFO] [stdout] 35 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_is_occupied`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | / table! {
[INFO] [stdout] 38 | |     variants (v_id) {
[INFO] [stdout] 39 | |         v_id -> Unsigned<Tinyint>,
[INFO] [stdout] 40 | |         v_name -> Varchar,
[INFO] [stdout] 41 | |     }
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | / table! {
[INFO] [stdout] 38 | |     variants (v_id) {
[INFO] [stdout] 39 | |         v_id -> Unsigned<Tinyint>,
[INFO] [stdout]    | |         ---- `v_id` is not local
[INFO] [stdout] 40 | |         v_name -> Varchar,
[INFO] [stdout] 41 | |     }
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_v_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | / table! {
[INFO] [stdout] 38 | |     variants (v_id) {
[INFO] [stdout] 39 | |         v_id -> Unsigned<Tinyint>,
[INFO] [stdout] 40 | |         v_name -> Varchar,
[INFO] [stdout]    | |         ------ `v_name` is not local
[INFO] [stdout] 41 | |     }
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_v_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/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Queryable, Debug, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_client`
[INFO] [stdout] 16 | pub struct Client {
[INFO] [stdout]    |            ------ `Client` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Queryable, Debug, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_food`
[INFO] [stdout] 23 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Insertable, Default, 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_newclient`
[INFO] [stdout] 32 | #[table_name="clients"]
[INFO] [stdout] 33 | pub struct NewClient {
[INFO] [stdout]    |            --------- `NewClient` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Insertable, Default, 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_newclient`
[INFO] [stdout] 32 | #[table_name="clients"]
[INFO] [stdout] 33 | pub struct NewClient {
[INFO] [stdout]    |            --------- `NewClient` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Insertable, Default, 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_newclient`
[INFO] [stdout] 32 | #[table_name="clients"]
[INFO] [stdout] 33 | pub struct NewClient {
[INFO] [stdout]    |            --------- `NewClient` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Insertable, Debug, 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_neworder`
[INFO] [stdout] 38 | #[table_name="orders"]
[INFO] [stdout] 39 | pub struct NewOrder {
[INFO] [stdout]    |            -------- `NewOrder` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Insertable, Debug, 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_neworder`
[INFO] [stdout] 38 | #[table_name="orders"]
[INFO] [stdout] 39 | pub struct NewOrder {
[INFO] [stdout]    |            -------- `NewOrder` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[derive(Insertable, Debug, 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_neworder`
[INFO] [stdout] 38 | #[table_name="orders"]
[INFO] [stdout] 39 | pub struct NewOrder {
[INFO] [stdout]    |            -------- `NewOrder` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_order`
[INFO] [stdout] 47 | pub struct Order {
[INFO] [stdout]    |            ----- `Order` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[derive(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_variant`
[INFO] [stdout] 57 | pub struct Variant {
[INFO] [stdout]    |            ------- `Variant` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(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_table`
[INFO] [stdout] 63 | pub struct Table {
[INFO] [stdout]    |            ----- `Table` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.56s
[INFO] running `Command { std: "docker" "inspect" "4986f9be95407733c744bdda9383a02ba91208050f18cc6fa272fca4eecec295", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4986f9be95407733c744bdda9383a02ba91208050f18cc6fa272fca4eecec295", kill_on_drop: false }`
[INFO] [stdout] 4986f9be95407733c744bdda9383a02ba91208050f18cc6fa272fca4eecec295
