[INFO] cloning repository https://github.com/BudiNverse/diesel-postgres-composite-types-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BudiNverse/diesel-postgres-composite-types-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fdiesel-postgres-composite-types-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fdiesel-postgres-composite-types-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f931f809fcb2002c25cd04d31165143bb75d1743
[INFO] checking BudiNverse/diesel-postgres-composite-types-demo against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fdiesel-postgres-composite-types-demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BudiNverse/diesel-postgres-composite-types-demo on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BudiNverse/diesel-postgres-composite-types-demo
[INFO] finished tweaking git repo https://github.com/BudiNverse/diesel-postgres-composite-types-demo
[INFO] tweaked toml for git repo https://github.com/BudiNverse/diesel-postgres-composite-types-demo written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/BudiNverse/diesel-postgres-composite-types-demo 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5aa698cc722883036ff6098c2e387da2507873f3c7c37fb962350ea373ec713
[INFO] running `Command { std: "docker" "start" "-a" "b5aa698cc722883036ff6098c2e387da2507873f3c7c37fb962350ea373ec713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5aa698cc722883036ff6098c2e387da2507873f3c7c37fb962350ea373ec713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5aa698cc722883036ff6098c2e387da2507873f3c7c37fb962350ea373ec713", kill_on_drop: false }`
[INFO] [stdout] b5aa698cc722883036ff6098c2e387da2507873f3c7c37fb962350ea373ec713
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 54acb59b865d95b8e2b7402a0cb3de53988418e28b15cf316f4c7c6f3a1706f8
[INFO] running `Command { std: "docker" "start" "-a" "54acb59b865d95b8e2b7402a0cb3de53988418e28b15cf316f4c7c6f3a1706f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking diesel v1.4.4
[INFO] [stderr]     Checking postgres-diesel-composite-types v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Varchar`
[INFO] [stdout]   --> src/main.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::sql_types::{Varchar, Text};
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Varchar`
[INFO] [stdout]   --> src/main.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::sql_types::{Varchar, Text};
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone, Queryable, Identifiable)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_queryable_for_person`
[INFO] [stdout] 22 | pub struct Person {
[INFO] [stdout]    |            ------ `Person` 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/main.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone, Queryable, Identifiable)]
[INFO] [stdout]    |                                   ^-----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `HasTable` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_identifiable_for_person`
[INFO] [stdout] 22 | pub struct Person {
[INFO] [stdout]    |            ------ `Person` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone, Queryable, Identifiable)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Identifiable` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_identifiable_for_person`
[INFO] [stdout] 22 | pub struct Person {
[INFO] [stdout]    |            ------ `Person` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Insertable)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Insertable` is not local
[INFO] [stdout]    |                        `table` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_insertable_for_newperson`
[INFO] [stdout] 30 | #[table_name = "persons"]
[INFO] [stdout] 31 | pub struct NewPerson {
[INFO] [stdout]    |            --------- `NewPerson` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Insertable)]
[INFO] [stdout]    |                        -^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Insertable` is not local
[INFO] [stdout]    |                        `table` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_insertable_for_newperson`
[INFO] [stdout] 30 | #[table_name = "persons"]
[INFO] [stdout] 31 | pub struct NewPerson {
[INFO] [stdout]    |            --------- `NewPerson` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Insertable)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                        `table` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_insertable_for_newperson`
[INFO] [stdout] 30 | #[table_name = "persons"]
[INFO] [stdout] 31 | pub struct NewPerson {
[INFO] [stdout]    |            --------- `NewPerson` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `NotNull` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pganimaltype`
[INFO] [stdout] 48 | #[postgres(type_name = "animal_type")]
[INFO] [stdout] 49 | pub struct PgAnimalType;
[INFO] [stdout]    |            ------------ `PgAnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `SingleValue` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pganimaltype`
[INFO] [stdout] 48 | #[postgres(type_name = "animal_type")]
[INFO] [stdout] 49 | pub struct PgAnimalType;
[INFO] [stdout]    |            ------------ `PgAnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(SqlType)]
[INFO] [stdout]    |          -^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Pg` is not local
[INFO] [stdout]    |          `HasSqlType` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pganimaltype`
[INFO] [stdout] 48 | #[postgres(type_name = "animal_type")]
[INFO] [stdout] 49 | pub struct PgAnimalType;
[INFO] [stdout]    |            ------------ `PgAnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromSqlRow` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `ToSql` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromSqlRow` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `ToSql` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `NotNull` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pgpet`
[INFO] [stdout] 76 | #[postgres(type_name = "pet")]
[INFO] [stdout] 77 | pub struct PgPet;
[INFO] [stdout]    |            ----- `PgPet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `SingleValue` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pgpet`
[INFO] [stdout] 76 | #[postgres(type_name = "pet")]
[INFO] [stdout] 77 | pub struct PgPet;
[INFO] [stdout]    |            ----- `PgPet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | #[derive(SqlType)]
[INFO] [stdout]    |          -^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Pg` is not local
[INFO] [stdout]    |          `HasSqlType` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pgpet`
[INFO] [stdout] 76 | #[postgres(type_name = "pet")]
[INFO] [stdout] 77 | pub struct PgPet;
[INFO] [stdout]    |            ----- `PgPet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] 5  | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_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  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] 5  | |         id -> Int4,
[INFO] [stdout] 6  | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |         age -> Int4,
[INFO] [stdout]    | |         --- `age` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_age`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 8  | |         pets -> Array<PgPet>,
[INFO] [stdout]    | |         ---- `pets` is not local
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_pets`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone, Queryable, Identifiable)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_queryable_for_person`
[INFO] [stdout] 22 | pub struct Person {
[INFO] [stdout]    |            ------ `Person` 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/main.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone, Queryable, Identifiable)]
[INFO] [stdout]    |                                   ^-----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `HasTable` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_identifiable_for_person`
[INFO] [stdout] 22 | pub struct Person {
[INFO] [stdout]    |            ------ `Person` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone, Queryable, Identifiable)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `Identifiable` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_identifiable_for_person`
[INFO] [stdout] 22 | pub struct Person {
[INFO] [stdout]    |            ------ `Person` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Insertable)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Insertable` is not local
[INFO] [stdout]    |                        `table` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_insertable_for_newperson`
[INFO] [stdout] 30 | #[table_name = "persons"]
[INFO] [stdout] 31 | pub struct NewPerson {
[INFO] [stdout]    |            --------- `NewPerson` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Insertable)]
[INFO] [stdout]    |                        -^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Insertable` is not local
[INFO] [stdout]    |                        `table` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_insertable_for_newperson`
[INFO] [stdout] 30 | #[table_name = "persons"]
[INFO] [stdout] 31 | pub struct NewPerson {
[INFO] [stdout]    |            --------- `NewPerson` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Debug, Clone, Insertable)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                        `table` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_insertable_for_newperson`
[INFO] [stdout] 30 | #[table_name = "persons"]
[INFO] [stdout] 31 | pub struct NewPerson {
[INFO] [stdout]    |            --------- `NewPerson` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `NotNull` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pganimaltype`
[INFO] [stdout] 48 | #[postgres(type_name = "animal_type")]
[INFO] [stdout] 49 | pub struct PgAnimalType;
[INFO] [stdout]    |            ------------ `PgAnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `SingleValue` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pganimaltype`
[INFO] [stdout] 48 | #[postgres(type_name = "animal_type")]
[INFO] [stdout] 49 | pub struct PgAnimalType;
[INFO] [stdout]    |            ------------ `PgAnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(SqlType)]
[INFO] [stdout]    |          -^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Pg` is not local
[INFO] [stdout]    |          `HasSqlType` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pganimaltype`
[INFO] [stdout] 48 | #[postgres(type_name = "animal_type")]
[INFO] [stdout] 49 | pub struct PgAnimalType;
[INFO] [stdout]    |            ------------ `PgAnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromSqlRow` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `ToSql` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_animaltype`
[INFO] [stdout] 52 | #[sql_type = "PgAnimalType"]
[INFO] [stdout]    |              -------------- `PgAnimalType` is not local
[INFO] [stdout] 53 | pub enum AnimalType {
[INFO] [stdout]    |          ---------- `AnimalType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `FromSqlRow` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                        ^---------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_from_sql_row_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    -^^^^^^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `ToSql` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, FromSqlRow, AsExpression, PartialEq)]
[INFO] [stdout]    |                                    ^-----------
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    `AsExpression` is not local
[INFO] [stdout]    |                                    `Nullable` is not local
[INFO] [stdout]    |                                    move the `impl` block outside of this function `_impl_as_expression_for_pet`
[INFO] [stdout] 69 | #[sql_type = "PgPet"]
[INFO] [stdout]    |              ------- `PgPet` is not local
[INFO] [stdout] 70 | pub struct Pet {
[INFO] [stdout]    |            --- `Pet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `NotNull` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pgpet`
[INFO] [stdout] 76 | #[postgres(type_name = "pet")]
[INFO] [stdout] 77 | pub struct PgPet;
[INFO] [stdout]    |            ----- `PgPet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | #[derive(SqlType)]
[INFO] [stdout]    |          ^------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `SingleValue` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pgpet`
[INFO] [stdout] 76 | #[postgres(type_name = "pet")]
[INFO] [stdout] 77 | pub struct PgPet;
[INFO] [stdout]    |            ----- `PgPet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | #[derive(SqlType)]
[INFO] [stdout]    |          -^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Pg` is not local
[INFO] [stdout]    |          `HasSqlType` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_sql_type_for_pgpet`
[INFO] [stdout] 76 | #[postgres(type_name = "pet")]
[INFO] [stdout] 77 | pub struct PgPet;
[INFO] [stdout]    |            ----- `PgPet` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] 5  | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_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  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] 5  | |         id -> Int4,
[INFO] [stdout] 6  | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |         age -> Int4,
[INFO] [stdout]    | |         --- `age` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_age`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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  | |     use diesel::sql_types::*;
[INFO] [stdout] 3  | |     use crate::PgPet;
[INFO] [stdout] 4  | |     persons (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 8  | |         pets -> Array<PgPet>,
[INFO] [stdout]    | |         ---- `pets` is not local
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_pets`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.23s
[INFO] running `Command { std: "docker" "inspect" "54acb59b865d95b8e2b7402a0cb3de53988418e28b15cf316f4c7c6f3a1706f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54acb59b865d95b8e2b7402a0cb3de53988418e28b15cf316f4c7c6f3a1706f8", kill_on_drop: false }`
[INFO] [stdout] 54acb59b865d95b8e2b7402a0cb3de53988418e28b15cf316f4c7c6f3a1706f8
