[INFO] cloning repository https://github.com/stanley355/graham
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stanley355/graham" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanley355%2Fgraham", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanley355%2Fgraham'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d90583119dbfe7b55df491ce3d7a81f235b0e69
[INFO] checking stanley355/graham against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanley355%2Fgraham" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/stanley355/graham
[INFO] finished tweaking git repo https://github.com/stanley355/graham
[INFO] tweaked toml for git repo https://github.com/stanley355/graham written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/stanley355/graham on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/stanley355/graham already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.6
[INFO] [stderr]   Downloaded pkg-config v0.3.25
[INFO] [stderr]   Downloaded proc-macro2 v1.0.42
[INFO] [stderr]   Downloaded tokio-openssl v0.6.3
[INFO] [stderr]   Downloaded firestorm v0.5.1
[INFO] [stderr]   Downloaded sha1 v0.10.1
[INFO] [stderr]   Downloaded actix-utils v3.0.0
[INFO] [stderr]   Downloaded actix-web-codegen v4.0.1
[INFO] [stderr]   Downloaded alloc-stdlib v0.2.1
[INFO] [stderr]   Downloaded calamine v0.18.0
[INFO] [stderr]   Downloaded codepage v0.1.1
[INFO] [stderr]   Downloaded thiserror-impl v1.0.33
[INFO] [stderr]   Downloaded httparse v1.7.1
[INFO] [stderr]   Downloaded semver v1.0.12
[INFO] [stderr]   Downloaded time-macros v0.2.4
[INFO] [stderr]   Downloaded paste v1.0.7
[INFO] [stderr]   Downloaded alloc-no-stdlib v2.0.3
[INFO] [stderr]   Downloaded thiserror v1.0.33
[INFO] [stderr]   Downloaded actix-tls v3.0.3
[INFO] [stderr]   Downloaded cookie v0.16.0
[INFO] [stderr]   Downloaded serde v1.0.140
[INFO] [stderr]   Downloaded actix-router v0.5.0
[INFO] [stderr]   Downloaded zip v0.5.13
[INFO] [stderr]   Downloaded serde_derive v1.0.140
[INFO] [stderr]   Downloaded tracing-core v0.1.29
[INFO] [stderr]   Downloaded miniz_oxide v0.5.3
[INFO] [stderr]   Downloaded tracing v0.1.36
[INFO] [stderr]   Downloaded openssl-sys v0.9.75
[INFO] [stderr]   Downloaded time v0.3.11
[INFO] [stderr]   Downloaded tokio-util v0.7.3
[INFO] [stderr]   Downloaded quick-xml v0.19.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.21
[INFO] [stderr]   Downloaded h2 v0.3.13
[INFO] [stderr]   Downloaded actix-http v3.2.1
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] [stderr]   Downloaded openssl v0.10.41
[INFO] [stderr]   Downloaded actix-web v4.1.0
[INFO] [stderr]   Downloaded tokio v1.20.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e995b172bd9103ed22ec6089cdfd034171bb2bac1cc53d0a264755d624d5e7e8
[INFO] running `Command { std: "docker" "start" "-a" "e995b172bd9103ed22ec6089cdfd034171bb2bac1cc53d0a264755d624d5e7e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e995b172bd9103ed22ec6089cdfd034171bb2bac1cc53d0a264755d624d5e7e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e995b172bd9103ed22ec6089cdfd034171bb2bac1cc53d0a264755d624d5e7e8", kill_on_drop: false }`
[INFO] [stdout] e995b172bd9103ed22ec6089cdfd034171bb2bac1cc53d0a264755d624d5e7e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd4709daa233ee1edf876fe0b2f8965c45f9aa38b94be3e21b1f78d651de075a
[INFO] running `Command { std: "docker" "start" "-a" "cd4709daa233ee1edf876fe0b2f8965c45f9aa38b94be3e21b1f78d651de075a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.42
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling serde_derive v1.0.140
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling serde v1.0.140
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling tokio-openssl v0.6.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling bytestring v1.1.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling pq-sys v0.4.7
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]    Compiling firestorm v0.5.1
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking sha1 v0.10.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.6
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking codepage v0.1.1
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking quick-xml v0.19.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.33
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-web-codegen v4.0.1
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking thiserror v1.0.33
[INFO] [stderr]     Checking zip v0.5.13
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking actix-tls v3.0.3
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking calamine v0.18.0
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.2.1
[INFO] [stderr]     Checking actix-web v4.1.0
[INFO] [stderr]     Checking graham 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/balance/model.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_balance`
[INFO] [stdout] 14 | pub struct Balance {
[INFO] [stdout]    |            ------- `Balance` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/balance/req.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_addbalancereq`
[INFO] [stdout] 6 | pub struct AddBalanceReq {
[INFO] [stdout]   |            ------------- `AddBalanceReq` 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/balance/req.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_updatebalancereq`
[INFO] [stdout] 19 | #[table_name = "balance"]
[INFO] [stdout] 20 | pub struct UpdateBalanceReq {
[INFO] [stdout]    |            ---------------- `UpdateBalanceReq` 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/balance/req.rs:18:59
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updatebalancereq`
[INFO] [stdout] 19 | #[table_name = "balance"]
[INFO] [stdout] 20 | pub struct UpdateBalanceReq {
[INFO] [stdout]    |            ---------------- `UpdateBalanceReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/balance/req.rs:18:59
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^----------
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updatebalancereq`
[INFO] [stdout] 19 | #[table_name = "balance"]
[INFO] [stdout] 20 | pub struct UpdateBalanceReq {
[INFO] [stdout]    |            ---------------- `UpdateBalanceReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/income/model.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_income`
[INFO] [stdout] 14 | pub struct Income {
[INFO] [stdout]    |            ------ `Income` 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/income/req.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_addincomereq`
[INFO] [stdout] 6 | pub struct AddIncomeReq {
[INFO] [stdout]   |            ------------ `AddIncomeReq` 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/income/req.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_updateincomereq`
[INFO] [stdout] 20 | #[table_name = "income"]
[INFO] [stdout] 21 | pub struct UpdateIncomeReq {
[INFO] [stdout]    |            --------------- `UpdateIncomeReq` 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/income/req.rs:19:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updateincomereq`
[INFO] [stdout] 20 | #[table_name = "income"]
[INFO] [stdout] 21 | pub struct UpdateIncomeReq {
[INFO] [stdout]    |            --------------- `UpdateIncomeReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/income/req.rs:19:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^----------
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updateincomereq`
[INFO] [stdout] 20 | #[table_name = "income"]
[INFO] [stdout] 21 | pub struct UpdateIncomeReq {
[INFO] [stdout]    |            --------------- `UpdateIncomeReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/report/model.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Debug, Clone)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_reportidentifier`
[INFO] [stdout] 11 | pub struct ReportIdentifier {
[INFO] [stdout]    |            ---------------- `ReportIdentifier` 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/report/model.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_report`
[INFO] [stdout] 17 | pub struct Report {
[INFO] [stdout]    |            ------ `Report` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout]    | |         -------- `stock_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_stock_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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout]  5 | |         year -> Int4,
[INFO] [stdout]    | |         ---- `year` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_year`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout]  5 | |         year -> Int4,
[INFO] [stdout]  6 | |         cash -> Int8,
[INFO] [stdout]    | |         ---- `cash` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_cash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         receivables -> Int8,
[INFO] [stdout]    | |         ----------- `receivables` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_receivables`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         inventories -> Int8,
[INFO] [stdout]    | |         ----------- `inventories` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_inventories`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         fixed_asset -> Int8,
[INFO] [stdout]    | |         ----------- `fixed_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_fixed_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | |         quick_asset -> Int8,
[INFO] [stdout]    | |         ----------- `quick_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_quick_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |         current_asset -> Int8,
[INFO] [stdout]    | |         ------------- `current_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_current_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         tangible_asset -> Int8,
[INFO] [stdout]    | |         -------------- `tangible_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_tangible_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |         st_liabilities -> Int8,
[INFO] [stdout]    | |         -------------- `st_liabilities` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_st_liabilities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | |         lt_liabilities -> Int8,
[INFO] [stdout]    | |         -------------- `lt_liabilities` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_lt_liabilities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |         total_liabilities -> Int8,
[INFO] [stdout]    | |         ----------------- `total_liabilities` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_liabilities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |         net_cash_asset -> Int8,
[INFO] [stdout]    | |         -------------- `net_cash_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_cash_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |         net_quick_asset -> Int8,
[INFO] [stdout]    | |         --------------- `net_quick_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_quick_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |         net_current_asset -> Int8,
[INFO] [stdout]    | |         ----------------- `net_current_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_current_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | |         net_tangible_asset -> Int8,
[INFO] [stdout]    | |         ------------------ `net_tangible_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_tangible_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | |         share_outstanding -> Int8,
[INFO] [stdout]    | |         ----------------- `share_outstanding` is not local
[INFO] [stdout] 21 | |     }
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_share_outstanding`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout]    | |         -------- `stock_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_stock_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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] 28 | |         year -> Int4,
[INFO] [stdout]    | |         ---- `year` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_year`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] 28 | |         year -> Int4,
[INFO] [stdout] 29 | |         revenue -> Int8,
[INFO] [stdout]    | |         ------- `revenue` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_revenue`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         gross_profit -> Int8,
[INFO] [stdout]    | |         ------------ `gross_profit` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_gross_profit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         operating_profit -> Int8,
[INFO] [stdout]    | |         ---------------- `operating_profit` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_operating_profit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |         net_profit -> Int8,
[INFO] [stdout]    | |         ---------- `net_profit` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_profit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |         customer_cashflow -> Int8,
[INFO] [stdout]    | |         ----------------- `customer_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_customer_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         operating_cashflow -> Int8,
[INFO] [stdout]    | |         ------------------ `operating_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_operating_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |         investing_cashflow -> Int8,
[INFO] [stdout]    | |         ------------------ `investing_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_investing_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |         financing_cashflow -> Int8,
[INFO] [stdout]    | |         ------------------ `financing_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_financing_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         total_cashflow -> Int8,
[INFO] [stdout]    | |         -------------- `total_cashflow` is not local
[INFO] [stdout] 38 | |     }
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | | }
[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:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | | }
[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:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout]    | |         ---- `code` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout] 45 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] 46 | |     }
[INFO] [stdout] 47 | | }
[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/stock/model.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_stock`
[INFO] [stdout] 10 | pub struct Stock {
[INFO] [stdout]    |            ----- `Stock` 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/balance/model.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_balance`
[INFO] [stdout] 14 | pub struct Balance {
[INFO] [stdout]    |            ------- `Balance` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/balance/req.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_addbalancereq`
[INFO] [stdout] 6 | pub struct AddBalanceReq {
[INFO] [stdout]   |            ------------- `AddBalanceReq` 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/balance/req.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_updatebalancereq`
[INFO] [stdout] 19 | #[table_name = "balance"]
[INFO] [stdout] 20 | pub struct UpdateBalanceReq {
[INFO] [stdout]    |            ---------------- `UpdateBalanceReq` 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/balance/req.rs:18:59
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updatebalancereq`
[INFO] [stdout] 19 | #[table_name = "balance"]
[INFO] [stdout] 20 | pub struct UpdateBalanceReq {
[INFO] [stdout]    |            ---------------- `UpdateBalanceReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/balance/req.rs:18:59
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^----------
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updatebalancereq`
[INFO] [stdout] 19 | #[table_name = "balance"]
[INFO] [stdout] 20 | pub struct UpdateBalanceReq {
[INFO] [stdout]    |            ---------------- `UpdateBalanceReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/income/model.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_income`
[INFO] [stdout] 14 | pub struct Income {
[INFO] [stdout]    |            ------ `Income` 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/income/req.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_addincomereq`
[INFO] [stdout] 6 | pub struct AddIncomeReq {
[INFO] [stdout]   |            ------------ `AddIncomeReq` 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/income/req.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_updateincomereq`
[INFO] [stdout] 20 | #[table_name = "income"]
[INFO] [stdout] 21 | pub struct UpdateIncomeReq {
[INFO] [stdout]    |            --------------- `UpdateIncomeReq` 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/income/req.rs:19:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updateincomereq`
[INFO] [stdout] 20 | #[table_name = "income"]
[INFO] [stdout] 21 | pub struct UpdateIncomeReq {
[INFO] [stdout]    |            --------------- `UpdateIncomeReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/income/req.rs:19:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize, AsChangeset)]
[INFO] [stdout]    |                                                           ^----------
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_updateincomereq`
[INFO] [stdout] 20 | #[table_name = "income"]
[INFO] [stdout] 21 | pub struct UpdateIncomeReq {
[INFO] [stdout]    |            --------------- `UpdateIncomeReq` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/report/model.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Debug, Clone)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_reportidentifier`
[INFO] [stdout] 11 | pub struct ReportIdentifier {
[INFO] [stdout]    |            ---------------- `ReportIdentifier` 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/report/model.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_report`
[INFO] [stdout] 17 | pub struct Report {
[INFO] [stdout]    |            ------ `Report` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout]    | |         -------- `stock_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_stock_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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout]  5 | |         year -> Int4,
[INFO] [stdout]    | |         ---- `year` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_year`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout]  5 | |         year -> Int4,
[INFO] [stdout]  6 | |         cash -> Int8,
[INFO] [stdout]    | |         ---- `cash` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_cash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         receivables -> Int8,
[INFO] [stdout]    | |         ----------- `receivables` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_receivables`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         inventories -> Int8,
[INFO] [stdout]    | |         ----------- `inventories` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_inventories`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         fixed_asset -> Int8,
[INFO] [stdout]    | |         ----------- `fixed_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_fixed_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | |         quick_asset -> Int8,
[INFO] [stdout]    | |         ----------- `quick_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_quick_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |         current_asset -> Int8,
[INFO] [stdout]    | |         ------------- `current_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_current_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         tangible_asset -> Int8,
[INFO] [stdout]    | |         -------------- `tangible_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_tangible_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |         st_liabilities -> Int8,
[INFO] [stdout]    | |         -------------- `st_liabilities` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_st_liabilities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | |         lt_liabilities -> Int8,
[INFO] [stdout]    | |         -------------- `lt_liabilities` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_lt_liabilities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |         total_liabilities -> Int8,
[INFO] [stdout]    | |         ----------------- `total_liabilities` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_liabilities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |         net_cash_asset -> Int8,
[INFO] [stdout]    | |         -------------- `net_cash_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_cash_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |         net_quick_asset -> Int8,
[INFO] [stdout]    | |         --------------- `net_quick_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_quick_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |         net_current_asset -> Int8,
[INFO] [stdout]    | |         ----------------- `net_current_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_current_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | |         net_tangible_asset -> Int8,
[INFO] [stdout]    | |         ------------------ `net_tangible_asset` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_tangible_asset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 | |     balance (id) {
[INFO] [stdout]  3 | |         id -> Int4,
[INFO] [stdout]  4 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | |         share_outstanding -> Int8,
[INFO] [stdout]    | |         ----------------- `share_outstanding` is not local
[INFO] [stdout] 21 | |     }
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_share_outstanding`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout]    | |         -------- `stock_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_stock_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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] 28 | |         year -> Int4,
[INFO] [stdout]    | |         ---- `year` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_year`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] 28 | |         year -> Int4,
[INFO] [stdout] 29 | |         revenue -> Int8,
[INFO] [stdout]    | |         ------- `revenue` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_revenue`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         gross_profit -> Int8,
[INFO] [stdout]    | |         ------------ `gross_profit` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_gross_profit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         operating_profit -> Int8,
[INFO] [stdout]    | |         ---------------- `operating_profit` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_operating_profit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |         net_profit -> Int8,
[INFO] [stdout]    | |         ---------- `net_profit` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_net_profit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |         customer_cashflow -> Int8,
[INFO] [stdout]    | |         ----------------- `customer_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_customer_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         operating_cashflow -> Int8,
[INFO] [stdout]    | |         ------------------ `operating_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_operating_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |         investing_cashflow -> Int8,
[INFO] [stdout]    | |         ------------------ `investing_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_investing_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |         financing_cashflow -> Int8,
[INFO] [stdout]    | |         ------------------ `financing_cashflow` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_financing_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | / table! {
[INFO] [stdout] 25 | |     income (id) {
[INFO] [stdout] 26 | |         id -> Int4,
[INFO] [stdout] 27 | |         stock_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         total_cashflow -> Int8,
[INFO] [stdout]    | |         -------------- `total_cashflow` is not local
[INFO] [stdout] 38 | |     }
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_cashflow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | | }
[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:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | | }
[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:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout]    | |         ---- `code` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / table! {
[INFO] [stdout] 42 | |     stocks (id) {
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout] 44 | |         code -> Varchar,
[INFO] [stdout] 45 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] 46 | |     }
[INFO] [stdout] 47 | | }
[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/stock/model.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Queryable, Debug, Clone, Deserialize, Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_stock`
[INFO] [stdout] 10 | pub struct Stock {
[INFO] [stdout]    |            ----- `Stock` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41, quick-xml v0.19.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "cd4709daa233ee1edf876fe0b2f8965c45f9aa38b94be3e21b1f78d651de075a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd4709daa233ee1edf876fe0b2f8965c45f9aa38b94be3e21b1f78d651de075a", kill_on_drop: false }`
[INFO] [stdout] cd4709daa233ee1edf876fe0b2f8965c45f9aa38b94be3e21b1f78d651de075a
