[INFO] cloning repository https://github.com/Ulbora/ccount_service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ulbora/ccount_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUlbora%2Fccount_service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUlbora%2Fccount_service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa0817a1e8ecafc217b5a52f552f2ae19cc15e87
[INFO] testing Ulbora/ccount_service against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUlbora%2Fccount_service" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ulbora/ccount_service
[INFO] finished tweaking git repo https://github.com/Ulbora/ccount_service
[INFO] tweaked toml for git repo https://github.com/Ulbora/ccount_service written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ulbora/ccount_service on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ulbora/ccount_service 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mio-uds v0.6.8
[INFO] [stderr]   Downloaded actix-rt v1.1.1
[INFO] [stderr]   Downloaded hermit-abi v0.1.18
[INFO] [stderr]   Downloaded actix-macros v0.1.3
[INFO] [stderr]   Downloaded vcpkg v0.2.11
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.7
[INFO] [stderr]   Downloaded base64 v0.4.2
[INFO] [stderr]   Downloaded actix-connect v2.0.0
[INFO] [stderr]   Downloaded sha-1 v0.9.4
[INFO] [stderr]   Downloaded futures-task v0.3.13
[INFO] [stderr]   Downloaded futures-core v0.3.13
[INFO] [stderr]   Downloaded cc v1.0.67
[INFO] [stderr]   Downloaded actix-web-codegen v0.2.2
[INFO] [stderr]   Downloaded thiserror v1.0.24
[INFO] [stderr]   Downloaded actix-tls v2.0.0
[INFO] [stderr]   Downloaded once_cell v1.7.2
[INFO] [stderr]   Downloaded serde_urlencoded v0.6.1
[INFO] [stderr]   Downloaded actix-connect v1.0.2
[INFO] [stderr]   Downloaded tokio-util v0.3.1
[INFO] [stderr]   Downloaded pin-project-internal v1.0.5
[INFO] [stderr]   Downloaded actix-tls v1.0.0
[INFO] [stderr]   Downloaded tokio-util v0.2.0
[INFO] [stderr]   Downloaded synstructure v0.12.4
[INFO] [stderr]   Downloaded async-trait v0.1.47
[INFO] [stderr]   Downloaded trust-dns-resolver v0.19.6
[INFO] [stderr]   Downloaded resolv-conf v0.6.3
[INFO] [stderr]   Downloaded actix-router v0.2.7
[INFO] [stderr]   Downloaded actix-threadpool v0.3.3
[INFO] [stderr]   Downloaded time-macros-impl v0.1.1
[INFO] [stderr]   Downloaded actix-codec v0.2.0
[INFO] [stderr]   Downloaded enum-as-inner v0.3.3
[INFO] [stderr]   Downloaded actix-testing v1.0.1
[INFO] [stderr]   Downloaded futures-macro v0.3.13
[INFO] [stderr]   Downloaded base-x v0.2.8
[INFO] [stderr]   Downloaded const_fn v0.4.5
[INFO] [stderr]   Downloaded time-macros v0.1.1
[INFO] [stderr]   Downloaded actix-cors v0.5.4
[INFO] [stderr]   Downloaded thread_local v1.1.3
[INFO] [stderr]   Downloaded futures-sink v0.3.13
[INFO] [stderr]   Downloaded cookie v0.14.4
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.71
[INFO] [stderr]   Downloaded addr2line v0.14.1
[INFO] [stderr]   Downloaded pin-project-lite v0.2.6
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.71
[INFO] [stderr]   Downloaded thiserror-impl v1.0.24
[INFO] [stderr]   Downloaded parking_lot v0.11.1
[INFO] [stderr]   Downloaded flate2 v1.0.20
[INFO] [stderr]   Downloaded actix-web-codegen v0.4.0
[INFO] [stderr]   Downloaded futures-channel v0.3.13
[INFO] [stderr]   Downloaded futures-executor v0.3.13
[INFO] [stderr]   Downloaded rustc-demangle v0.1.18
[INFO] [stderr]   Downloaded redox_syscall v0.2.5
[INFO] [stderr]   Downloaded mysqlclient-sys v0.2.4
[INFO] [stderr]   Downloaded actix-web-httpauth v0.4.2
[INFO] [stderr]   Downloaded awc v1.0.1
[INFO] [stderr]   Downloaded indexmap v1.6.2
[INFO] [stderr]   Downloaded tracing-core v0.1.17
[INFO] [stderr]   Downloaded pin-project v1.0.5
[INFO] [stderr]   Downloaded ipconfig v0.2.2
[INFO] [stderr]   Downloaded parking_lot_core v0.8.3
[INFO] [stderr]   Downloaded actix-service v1.0.6
[INFO] [stderr]   Downloaded httparse v1.3.5
[INFO] [stderr]   Downloaded futures v0.3.13
[INFO] [stderr]   Downloaded derive_more v0.99.11
[INFO] [stderr]   Downloaded time v0.2.25
[INFO] [stderr]   Downloaded serde_derive v1.0.124
[INFO] [stderr]   Downloaded pin-project v0.4.27
[INFO] [stderr]   Downloaded tracing v0.1.25
[INFO] [stderr]   Downloaded trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]   Downloaded backtrace v0.3.56
[INFO] [stderr]   Downloaded actix-web v2.0.0
[INFO] [stderr]   Downloaded actix-utils v2.0.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.71
[INFO] [stderr]   Downloaded socket2 v0.3.19
[INFO] [stderr]   Downloaded awc v2.0.3
[INFO] [stderr]   Downloaded futures-util v0.3.13
[INFO] [stderr]   Downloaded actix-utils v1.0.6
[INFO] [stderr]   Downloaded actix-web v3.3.2
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.71
[INFO] [stderr]   Downloaded bumpalo v3.6.1
[INFO] [stderr]   Downloaded actix-http v2.2.0
[INFO] [stderr]   Downloaded diesel_derives v1.4.1
[INFO] [stderr]   Downloaded futures-io v0.3.13
[INFO] [stderr]   Downloaded http v0.2.3
[INFO] [stderr]   Downloaded h2 v0.2.7
[INFO] [stderr]   Downloaded heck v0.3.2
[INFO] [stderr]   Downloaded actix-codec v0.3.0
[INFO] [stderr]   Downloaded bytes v1.0.1
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.3
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.5
[INFO] [stderr]   Downloaded lock_api v0.4.2
[INFO] [stderr]   Downloaded r2d2 v0.8.9
[INFO] [stderr]   Downloaded dtoa v0.4.7
[INFO] [stderr]   Downloaded regex v1.4.3
[INFO] [stderr]   Downloaded trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]   Downloaded serde v1.0.124
[INFO] [stderr]   Downloaded syn v1.0.62
[INFO] [stderr]   Downloaded unicode-segmentation v1.7.1
[INFO] [stderr]   Downloaded regex-syntax v0.6.22
[INFO] [stderr]   Downloaded pin-project-internal v0.4.27
[INFO] [stderr]   Downloaded diesel v1.4.6
[INFO] [stderr]   Downloaded tokio v0.2.25
[INFO] [stderr]   Downloaded actix-http v1.0.1
[INFO] [stderr]   Downloaded libc v0.2.88
[INFO] [stderr]   Downloaded gimli v0.23.0
[INFO] [stderr]   Downloaded encoding_rs v0.8.28
[INFO] [stderr]   Downloaded winreg v0.6.2
[INFO] [stderr]   Downloaded object v0.23.0
[INFO] [stderr]   Downloaded standback v0.2.15
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.71
[INFO] [stderr]   Downloaded actix-server v1.0.4
[INFO] [stderr]   Downloaded trust-dns-proto v0.19.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d05667b06f25b7c4fb11bf61458796ee78782348b83d97ad4bf2de1ef2ec8cb7
[INFO] running `Command { std: "docker" "start" "-a" "d05667b06f25b7c4fb11bf61458796ee78782348b83d97ad4bf2de1ef2ec8cb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d05667b06f25b7c4fb11bf61458796ee78782348b83d97ad4bf2de1ef2ec8cb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d05667b06f25b7c4fb11bf61458796ee78782348b83d97ad4bf2de1ef2ec8cb7", kill_on_drop: false }`
[INFO] [stdout] d05667b06f25b7c4fb11bf61458796ee78782348b83d97ad4bf2de1ef2ec8cb7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30f23c1f48d96cb24046399a6218c6b05f03695bef2235200f77ed95c501d925
[INFO] running `Command { std: "docker" "start" "-a" "30f23c1f48d96cb24046399a6218c6b05f03695bef2235200f77ed95c501d925", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling libc v0.2.88
[INFO] [stderr]    Compiling syn v1.0.62
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling futures-core v0.3.13
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-sink v0.3.13
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling futures-channel v0.3.13
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling futures-task v0.3.13
[INFO] [stderr]    Compiling futures-io v0.3.13
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling tinyvec v1.1.1
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling object v0.23.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling async-trait v0.1.47
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling idna v0.2.2
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling http v0.2.3
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling backtrace v0.3.56
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling tracing v0.1.25
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling standback v0.2.15
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling httparse v1.3.5
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling time v0.2.25
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling futures-macro v0.3.13
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling pin-project-internal v1.0.5
[INFO] [stderr]    Compiling futures-util v0.3.13
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling pin-project v1.0.5
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling dtoa v0.4.7
[INFO] [stderr]    Compiling sha-1 v0.9.4
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling futures-executor v0.3.13
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling futures v0.3.13
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling trust-dns-proto v0.19.6
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.6
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling mysqlclient-sys v0.2.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling actix-web-codegen v0.2.2
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling blake2b_simd v0.5.11
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling actix-http v2.2.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling rust-argon2 v0.8.3
[INFO] [stderr]    Compiling base64 v0.4.2
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling diesel v1.4.6
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling actix-web v3.3.2
[INFO] [stderr]    Compiling actix-web-httpauth v0.4.2
[INFO] [stderr]    Compiling actix-cors v0.5.4
[INFO] [stderr]    Compiling ccount_service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/daily_calory_db.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[derive(QueryableByName, Debug)]
[INFO] [stdout]     |          ^--------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `QueryableByName` is not local
[INFO] [stdout]     |          move the `impl` block outside of this function `_impl_queryable_by_name_for_calorycount`
[INFO] [stdout] 101 | pub struct CaloryCount {
[INFO] [stdout]     |            ----------- `CaloryCount` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[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] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:55:10
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[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 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout]   | |         ---- `name` is not local
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout]    | |         --- `day` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] 12 | |         user_email -> Varchar,
[INFO] [stdout]    | |         ---------- `user_email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] 12 | |         user_email -> Varchar,
[INFO] [stdout] 13 | |         food_id -> Bigint,
[INFO] [stdout]    | |         ------- `food_id` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] 21 | |         calories -> Integer,
[INFO] [stdout]    | |         -------- `calories` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_calories`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] 21 | |         calories -> Integer,
[INFO] [stdout] 22 | |         user_email -> Varchar,
[INFO] [stdout]    | |         ---------- `user_email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         category_id -> Bigint,
[INFO] [stdout]    | |         ----------- `category_id` is not local
[INFO] [stdout] 24 | |     }
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_category_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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout]    | |         ----- `email` is not local
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout]    | |         -------- `password` is not local
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_password`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 39s
[INFO] running `Command { std: "docker" "inspect" "30f23c1f48d96cb24046399a6218c6b05f03695bef2235200f77ed95c501d925", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30f23c1f48d96cb24046399a6218c6b05f03695bef2235200f77ed95c501d925", kill_on_drop: false }`
[INFO] [stdout] 30f23c1f48d96cb24046399a6218c6b05f03695bef2235200f77ed95c501d925
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b263de89da2a9be1cea1b92f4f5b78e81f22776f195b93f909a090aee00c3888
[INFO] running `Command { std: "docker" "start" "-a" "b263de89da2a9be1cea1b92f4f5b78e81f22776f195b93f909a090aee00c3888", kill_on_drop: false }`
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/daily_calory_db.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[derive(QueryableByName, Debug)]
[INFO] [stdout]     |          ^--------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `QueryableByName` is not local
[INFO] [stdout]     |          move the `impl` block outside of this function `_impl_queryable_by_name_for_calorycount`
[INFO] [stdout] 101 | pub struct CaloryCount {
[INFO] [stdout]     |            ----------- `CaloryCount` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[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] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:55:10
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[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 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout]   | |         ---- `name` is not local
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout]    | |         --- `day` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] 12 | |         user_email -> Varchar,
[INFO] [stdout]    | |         ---------- `user_email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] 12 | |         user_email -> Varchar,
[INFO] [stdout] 13 | |         food_id -> Bigint,
[INFO] [stdout]    | |         ------- `food_id` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] 21 | |         calories -> Integer,
[INFO] [stdout]    | |         -------- `calories` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_calories`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] 21 | |         calories -> Integer,
[INFO] [stdout] 22 | |         user_email -> Varchar,
[INFO] [stdout]    | |         ---------- `user_email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         category_id -> Bigint,
[INFO] [stdout]    | |         ----------- `category_id` is not local
[INFO] [stdout] 24 | |     }
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_category_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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout]    | |         ----- `email` is not local
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout]    | |         -------- `password` is not local
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_password`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ccount_service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/database/daily_calory_db.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[derive(QueryableByName, Debug)]
[INFO] [stdout]     |          ^--------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `QueryableByName` is not local
[INFO] [stdout]     |          move the `impl` block outside of this function `_impl_queryable_by_name_for_calorycount`
[INFO] [stdout] 101 | pub struct CaloryCount {
[INFO] [stdout]     |            ----------- `CaloryCount` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Insertable)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stdout] 7 | #[table_name = "category"]
[INFO] [stdout] 8 | pub struct Category {
[INFO] [stdout]   |            -------- `Category` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stdout] 14 | #[table_name = "category"]
[INFO] [stdout] 15 | pub struct NewCategory<'a> {
[INFO] [stdout]    |            ----------- `NewCategory` 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:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stdout] 20 | #[table_name = "daily_calories"]
[INFO] [stdout] 21 | pub struct DailyCalories {
[INFO] [stdout]    |            ------------- `DailyCalories` 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:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stdout] 29 | #[table_name = "daily_calories"]
[INFO] [stdout] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stdout]    |            ---------------- `NewDailyCalories` 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:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[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] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stdout] 37 | #[table_name = "food"]
[INFO] [stdout] 38 | pub struct Food {
[INFO] [stdout]    |            ---- `Food` 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, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:21
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stdout] 47 | #[table_name = "food"]
[INFO] [stdout] 48 | pub struct NewFood<'a> {
[INFO] [stdout]    |            ------- `NewFood` 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:55:10
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Queryable, Insertable)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stdout] 56 | #[table_name = "user"]
[INFO] [stdout] 57 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[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 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     category (id) {
[INFO] [stdout] 3 | |         id -> Bigint,
[INFO] [stdout] 4 | |         name -> Varchar,
[INFO] [stdout]   | |         ---- `name` is not local
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout]    | |         --- `day` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] 12 | |         user_email -> Varchar,
[INFO] [stdout]    | |         ---------- `user_email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     daily_calories (id) {
[INFO] [stdout] 10 | |         id -> Bigint,
[INFO] [stdout] 11 | |         day -> Varchar,
[INFO] [stdout] 12 | |         user_email -> Varchar,
[INFO] [stdout] 13 | |         food_id -> Bigint,
[INFO] [stdout]    | |         ------- `food_id` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] 21 | |         calories -> Integer,
[INFO] [stdout]    | |         -------- `calories` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_calories`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] 21 | |         calories -> Integer,
[INFO] [stdout] 22 | |         user_email -> Varchar,
[INFO] [stdout]    | |         ---------- `user_email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     food (id) {
[INFO] [stdout] 19 | |         id -> Bigint,
[INFO] [stdout] 20 | |         name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         category_id -> Bigint,
[INFO] [stdout]    | |         ----------- `category_id` is not local
[INFO] [stdout] 24 | |     }
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_category_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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout]    | |         ----- `email` is not local
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     user (email) {
[INFO] [stdout] 29 | |         email -> Varchar,
[INFO] [stdout] 30 | |         password -> Varchar,
[INFO] [stdout]    | |         -------- `password` is not local
[INFO] [stdout] 31 | |     }
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_password`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.56s
[INFO] running `Command { std: "docker" "inspect" "b263de89da2a9be1cea1b92f4f5b78e81f22776f195b93f909a090aee00c3888", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b263de89da2a9be1cea1b92f4f5b78e81f22776f195b93f909a090aee00c3888", kill_on_drop: false }`
[INFO] [stdout] b263de89da2a9be1cea1b92f4f5b78e81f22776f195b93f909a090aee00c3888
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 793a9cfac2b0504bf2d2d808b12cadedc3b84219b918f7ae49da7d8bf0bd2c56
[INFO] running `Command { std: "docker" "start" "-a" "793a9cfac2b0504bf2d2d808b12cadedc3b84219b918f7ae49da7d8bf0bd2c56", kill_on_drop: false }`
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/database/daily_calory_db.rs:100:10
[INFO] [stderr]     |
[INFO] [stderr] 100 | #[derive(QueryableByName, Debug)]
[INFO] [stderr]     |          ^--------------
[INFO] [stderr]     |          |
[INFO] [stderr]     |          `QueryableByName` is not local
[INFO] [stderr]     |          move the `impl` block outside of this function `_impl_queryable_by_name_for_calorycount`
[INFO] [stderr] 101 | pub struct CaloryCount {
[INFO] [stderr]     |            ----------- `CaloryCount` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Queryable, Insertable)]
[INFO] [stderr]   |          ^--------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Queryable` is not local
[INFO] [stderr]   |          move the `impl` block outside of this function `_impl_queryable_for_category`
[INFO] [stderr] 7 | #[table_name = "category"]
[INFO] [stderr] 8 | pub struct Category {
[INFO] [stderr]   |            -------- `Category` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:6:21
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Queryable, Insertable)]
[INFO] [stderr]   |                     ^---------
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `Insertable` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stderr] 7 | #[table_name = "category"]
[INFO] [stderr] 8 | pub struct Category {
[INFO] [stderr]   |            -------- `Category` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:6:21
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Queryable, Insertable)]
[INFO] [stderr]   |                     -^^^^^^^^^
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `Insertable` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stderr] 7 | #[table_name = "category"]
[INFO] [stderr] 8 | pub struct Category {
[INFO] [stderr]   |            -------- `Category` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:6:21
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Queryable, Insertable)]
[INFO] [stderr]   |                     ^---------
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_category`
[INFO] [stderr] 7 | #[table_name = "category"]
[INFO] [stderr] 8 | pub struct Category {
[INFO] [stderr]   |            -------- `Category` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(Insertable)]
[INFO] [stderr]    |          ^---------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Insertable` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stderr] 14 | #[table_name = "category"]
[INFO] [stderr] 15 | pub struct NewCategory<'a> {
[INFO] [stderr]    |            ----------- `NewCategory` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(Insertable)]
[INFO] [stderr]    |          -^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Insertable` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stderr] 14 | #[table_name = "category"]
[INFO] [stderr] 15 | pub struct NewCategory<'a> {
[INFO] [stderr]    |            ----------- `NewCategory` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(Insertable)]
[INFO] [stderr]    |          ^---------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_newcategory`
[INFO] [stderr] 14 | #[table_name = "category"]
[INFO] [stderr] 15 | pub struct NewCategory<'a> {
[INFO] [stderr]    |            ----------- `NewCategory` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:19:10
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Queryable` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_queryable_for_dailycalories`
[INFO] [stderr] 20 | #[table_name = "daily_calories"]
[INFO] [stderr] 21 | pub struct DailyCalories {
[INFO] [stderr]    |            ------------- `DailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:19:21
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stderr] 20 | #[table_name = "daily_calories"]
[INFO] [stderr] 21 | pub struct DailyCalories {
[INFO] [stderr]    |            ------------- `DailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:19:21
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     -^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stderr] 20 | #[table_name = "daily_calories"]
[INFO] [stderr] 21 | pub struct DailyCalories {
[INFO] [stderr]    |            ------------- `DailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:19:21
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_dailycalories`
[INFO] [stderr] 20 | #[table_name = "daily_calories"]
[INFO] [stderr] 21 | pub struct DailyCalories {
[INFO] [stderr]    |            ------------- `DailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:28:10
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Queryable` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_queryable_for_newdailycalories`
[INFO] [stderr] 29 | #[table_name = "daily_calories"]
[INFO] [stderr] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stderr]    |            ---------------- `NewDailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:28:21
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stderr] 29 | #[table_name = "daily_calories"]
[INFO] [stderr] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stderr]    |            ---------------- `NewDailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:28:21
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     -^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stderr] 29 | #[table_name = "daily_calories"]
[INFO] [stderr] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stderr]    |            ---------------- `NewDailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:28:21
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_newdailycalories`
[INFO] [stderr] 29 | #[table_name = "daily_calories"]
[INFO] [stderr] 30 | pub struct NewDailyCalories<'a> {
[INFO] [stderr]    |            ---------------- `NewDailyCalories` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:36:10
[INFO] [stderr]    |
[INFO] [stderr] 36 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Queryable` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_queryable_for_food`
[INFO] [stderr] 37 | #[table_name = "food"]
[INFO] [stderr] 38 | pub struct Food {
[INFO] [stderr]    |            ---- `Food` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:36:21
[INFO] [stderr]    |
[INFO] [stderr] 36 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stderr] 37 | #[table_name = "food"]
[INFO] [stderr] 38 | pub struct Food {
[INFO] [stderr]    |            ---- `Food` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:36:21
[INFO] [stderr]    |
[INFO] [stderr] 36 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     -^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stderr] 37 | #[table_name = "food"]
[INFO] [stderr] 38 | pub struct Food {
[INFO] [stderr]    |            ---- `Food` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:36:21
[INFO] [stderr]    |
[INFO] [stderr] 36 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_food`
[INFO] [stderr] 37 | #[table_name = "food"]
[INFO] [stderr] 38 | pub struct Food {
[INFO] [stderr]    |            ---- `Food` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:46:10
[INFO] [stderr]    |
[INFO] [stderr] 46 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Queryable` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_queryable_for_newfood`
[INFO] [stderr] 47 | #[table_name = "food"]
[INFO] [stderr] 48 | pub struct NewFood<'a> {
[INFO] [stderr]    |            ------- `NewFood` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:46:21
[INFO] [stderr]    |
[INFO] [stderr] 46 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stderr] 47 | #[table_name = "food"]
[INFO] [stderr] 48 | pub struct NewFood<'a> {
[INFO] [stderr]    |            ------- `NewFood` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:46:21
[INFO] [stderr]    |
[INFO] [stderr] 46 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     -^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stderr] 47 | #[table_name = "food"]
[INFO] [stderr] 48 | pub struct NewFood<'a> {
[INFO] [stderr]    |            ------- `NewFood` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:46:21
[INFO] [stderr]    |
[INFO] [stderr] 46 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_newfood`
[INFO] [stderr] 47 | #[table_name = "food"]
[INFO] [stderr] 48 | pub struct NewFood<'a> {
[INFO] [stderr]    |            ------- `NewFood` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:55:10
[INFO] [stderr]    |
[INFO] [stderr] 55 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Queryable` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stderr] 56 | #[table_name = "user"]
[INFO] [stderr] 57 | pub struct User {
[INFO] [stderr]    |            ---- `User` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:55:21
[INFO] [stderr]    |
[INFO] [stderr] 55 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stderr] 56 | #[table_name = "user"]
[INFO] [stderr] 57 | pub struct User {
[INFO] [stderr]    |            ---- `User` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:55:21
[INFO] [stderr]    |
[INFO] [stderr] 55 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     -^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stderr] 56 | #[table_name = "user"]
[INFO] [stderr] 57 | pub struct User {
[INFO] [stderr]    |            ---- `User` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:55:21
[INFO] [stderr]    |
[INFO] [stderr] 55 | #[derive(Queryable, Insertable)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_user`
[INFO] [stderr] 56 | #[table_name = "user"]
[INFO] [stderr] 57 | pub struct User {
[INFO] [stderr]    |            ---- `User` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     category (id) {
[INFO] [stderr] 3 | |         id -> Bigint,
[INFO] [stderr] 4 | |         name -> Varchar,
[INFO] [stderr] 5 | |     }
[INFO] [stderr] 6 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | | `table` is not local
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     category (id) {
[INFO] [stderr] 3 | |         id -> Bigint,
[INFO] [stderr]   | |         -- `id` is not local
[INFO] [stderr] 4 | |         name -> Varchar,
[INFO] [stderr] 5 | |     }
[INFO] [stderr] 6 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     category (id) {
[INFO] [stderr] 3 | |         id -> Bigint,
[INFO] [stderr] 4 | |         name -> Varchar,
[INFO] [stderr]   | |         ---- `name` is not local
[INFO] [stderr] 5 | |     }
[INFO] [stderr] 6 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     daily_calories (id) {
[INFO] [stderr] 10 | |         id -> Bigint,
[INFO] [stderr] 11 | |         day -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     daily_calories (id) {
[INFO] [stderr] 10 | |         id -> Bigint,
[INFO] [stderr]    | |         -- `id` is not local
[INFO] [stderr] 11 | |         day -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     daily_calories (id) {
[INFO] [stderr] 10 | |         id -> Bigint,
[INFO] [stderr] 11 | |         day -> Varchar,
[INFO] [stderr]    | |         --- `day` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     daily_calories (id) {
[INFO] [stderr] 10 | |         id -> Bigint,
[INFO] [stderr] 11 | |         day -> Varchar,
[INFO] [stderr] 12 | |         user_email -> Varchar,
[INFO] [stderr]    | |         ---------- `user_email` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     daily_calories (id) {
[INFO] [stderr] 10 | |         id -> Bigint,
[INFO] [stderr] 11 | |         day -> Varchar,
[INFO] [stderr] 12 | |         user_email -> Varchar,
[INFO] [stderr] 13 | |         food_id -> Bigint,
[INFO] [stderr]    | |         ------- `food_id` is not local
[INFO] [stderr] 14 | |     }
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_food_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     food (id) {
[INFO] [stderr] 19 | |         id -> Bigint,
[INFO] [stderr] 20 | |         name -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr] 25 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     food (id) {
[INFO] [stderr] 19 | |         id -> Bigint,
[INFO] [stderr]    | |         -- `id` is not local
[INFO] [stderr] 20 | |         name -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr] 25 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     food (id) {
[INFO] [stderr] 19 | |         id -> Bigint,
[INFO] [stderr] 20 | |         name -> Varchar,
[INFO] [stderr]    | |         ---- `name` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 25 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     food (id) {
[INFO] [stderr] 19 | |         id -> Bigint,
[INFO] [stderr] 20 | |         name -> Varchar,
[INFO] [stderr] 21 | |         calories -> Integer,
[INFO] [stderr]    | |         -------- `calories` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 25 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_calories`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     food (id) {
[INFO] [stderr] 19 | |         id -> Bigint,
[INFO] [stderr] 20 | |         name -> Varchar,
[INFO] [stderr] 21 | |         calories -> Integer,
[INFO] [stderr] 22 | |         user_email -> Varchar,
[INFO] [stderr]    | |         ---------- `user_email` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 25 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_user_email`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     food (id) {
[INFO] [stderr] 19 | |         id -> Bigint,
[INFO] [stderr] 20 | |         name -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr] 23 | |         category_id -> Bigint,
[INFO] [stderr]    | |         ----------- `category_id` is not local
[INFO] [stderr] 24 | |     }
[INFO] [stderr] 25 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_category_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:27:1
[INFO] [stderr]    |
[INFO] [stderr] 27 | / table! {
[INFO] [stderr] 28 | |     user (email) {
[INFO] [stderr] 29 | |         email -> Varchar,
[INFO] [stderr] 30 | |         password -> Varchar,
[INFO] [stderr] 31 | |     }
[INFO] [stderr] 32 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:27:1
[INFO] [stderr]    |
[INFO] [stderr] 27 | / table! {
[INFO] [stderr] 28 | |     user (email) {
[INFO] [stderr] 29 | |         email -> Varchar,
[INFO] [stderr]    | |         ----- `email` is not local
[INFO] [stderr] 30 | |         password -> Varchar,
[INFO] [stderr] 31 | |     }
[INFO] [stderr] 32 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:27:1
[INFO] [stderr]    |
[INFO] [stderr] 27 | / table! {
[INFO] [stderr] 28 | |     user (email) {
[INFO] [stderr] 29 | |         email -> Varchar,
[INFO] [stderr] 30 | |         password -> Varchar,
[INFO] [stderr]    | |         -------- `password` is not local
[INFO] [stderr] 31 | |     }
[INFO] [stderr] 32 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_password`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `ccount_service` (lib) generated 45 warnings
[INFO] [stderr] warning: `ccount_service` (lib test) generated 45 warnings (45 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ccount_service-904bebee5075755d)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test daily_calories::tests::it_works ... ok
[INFO] [stdout] test user::tests::hash_pw_arg_fail ... ok
[INFO] [stdout] test user::tests::hash_pw_arg ... ok
[INFO] [stdout] test user::tests::validate_pw_arg ... ok
[INFO] [stdout] test daily_calories::tests::get_calories_for_multi_days_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- daily_calories::tests::get_calories_for_multi_days_test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'daily_calories::tests::get_calories_for_multi_days_test' (18) panicked at src/lib.rs:36:10:
[INFO] [stdout] Failed to create MySql pool.: Error(Some("Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)"))
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5de48445039a - std[29689e6404d28ef9]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5de48445039a - std[29689e6404d28ef9]::backtrace_rs::backtrace::trace_unsynchronized::<std[29689e6404d28ef9]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5de48445039a - std[29689e6404d28ef9]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5de48445039a - <<std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[e929cb53b82a81ca]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5de484464bea - <core[e929cb53b82a81ca]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5de484464bea - core[e929cb53b82a81ca]::fmt::write
[INFO] [stdout]    6:     0x5de484454d32 - std[29689e6404d28ef9]::io::default_write_fmt::<alloc[9d7caffeb3b5d2c6]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5de484454d32 - <alloc[9d7caffeb3b5d2c6]::vec::Vec<u8> as std[29689e6404d28ef9]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5de48442f1bf - <std[29689e6404d28ef9]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5de48442f1bf - std[29689e6404d28ef9]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5de484448729 - std[29689e6404d28ef9]::panicking::default_hook
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5de484331d4c - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5de484331d4c - test[a24b3028667022f7]::test_main_inner::<test[a24b3028667022f7]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5de4844489a2 - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn for<'a, 'b> core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5de4844489a2 - std[29689e6404d28ef9]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5de48442f278 - std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5de484424459 - std[29689e6404d28ef9]::sys::backtrace::__rust_end_short_backtrace::<std[29689e6404d28ef9]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5de48442ff8d - __rustc[3aed6af316653e63]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5de48446537c - core[e929cb53b82a81ca]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5de4844650f2 - core[e929cb53b82a81ca]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5de4843017ba - <core[e929cb53b82a81ca]::result::Result<r2d2[e9722d442b98d191]::Pool<diesel[8ffa5cd5d21daaac]::r2d2::ConnectionManager<diesel[8ffa5cd5d21daaac]::mysql::connection::MysqlConnection>>, r2d2[e9722d442b98d191]::Error>>::expect
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5de4843070d7 - ccount_service[3605dd75e538ba7a]::establish_pooled_connection
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:36:10
[INFO] [stdout]   22:     0x5de484307cbb - ccount_service[3605dd75e538ba7a]::daily_calories::tests::get_calories_for_multi_days_test
[INFO] [stdout]                                at /opt/rustwide/workdir/src/daily_calories.rs:89:20
[INFO] [stdout]   23:     0x5de484306ec7 - ccount_service[3605dd75e538ba7a]::daily_calories::tests::get_calories_for_multi_days_test::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/daily_calories.rs:88:42
[INFO] [stdout]   24:     0x5de4842fdfa6 - <ccount_service[3605dd75e538ba7a]::daily_calories::tests::get_calories_for_multi_days_test::{closure#0} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5de48432502b - <fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5de48432502b - test[a24b3028667022f7]::__rust_begin_short_backtrace::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5de48433281b - test[a24b3028667022f7]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5de48433281b - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5de48433281b - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5de48433281b - std[29689e6404d28ef9]::panicking::catch_unwind::<core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>, core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5de48433281b - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<test[a24b3028667022f7]::run_test_in_process::{closure#0}>, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5de48433281b - test[a24b3028667022f7]::run_test_in_process
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5de48433281b - test[a24b3028667022f7]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5de48432bf34 - test[a24b3028667022f7]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5de48432bf34 - std[29689e6404d28ef9]::sys::backtrace::__rust_begin_short_backtrace::<test[a24b3028667022f7]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5de484335422 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5de484335422 - <core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5de484335422 - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5de484335422 - std[29689e6404d28ef9]::panicking::catch_unwind::<(), core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5de484335422 - std[29689e6404d28ef9]::panic::catch_unwind::<core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe<std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5de484335422 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5de484335422 - <std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked<test[a24b3028667022f7]::run_test::{closure#1}, ()>::{closure#1} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5de48444fc9f - <alloc[9d7caffeb3b5d2c6]::boxed::Box<dyn core[e929cb53b82a81ca]::ops::function::FnOnce<(), Output = ()> + core[e929cb53b82a81ca]::marker::Send> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5de48444fc9f - <std[29689e6404d28ef9]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7b6f1a1eaaa4 - <unknown>
[INFO] [stdout]   46:     0x7b6f1a277a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     daily_calories::tests::get_calories_for_multi_days_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.03s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "793a9cfac2b0504bf2d2d808b12cadedc3b84219b918f7ae49da7d8bf0bd2c56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "793a9cfac2b0504bf2d2d808b12cadedc3b84219b918f7ae49da7d8bf0bd2c56", kill_on_drop: false }`
[INFO] [stdout] 793a9cfac2b0504bf2d2d808b12cadedc3b84219b918f7ae49da7d8bf0bd2c56
