[INFO] fetching crate diesel_geometry 1.4.0... [INFO] checking diesel_geometry-1.4.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate diesel_geometry 1.4.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate diesel_geometry 1.4.0 [INFO] finished tweaking crates.io crate diesel_geometry 1.4.0 [INFO] tweaked toml for crates.io crate diesel_geometry 1.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel_geometry 1.4.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.3) [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.12) [INFO] [stderr] Adding dotenv v0.13.0 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff432f0927848e60f1d7a90637ad9d5e816f75fce2a4faedca10a6448af1b85e [INFO] running `Command { std: "docker" "start" "-a" "ff432f0927848e60f1d7a90637ad9d5e816f75fce2a4faedca10a6448af1b85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff432f0927848e60f1d7a90637ad9d5e816f75fce2a4faedca10a6448af1b85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff432f0927848e60f1d7a90637ad9d5e816f75fce2a4faedca10a6448af1b85e", kill_on_drop: false }` [INFO] [stdout] ff432f0927848e60f1d7a90637ad9d5e816f75fce2a4faedca10a6448af1b85e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6e8d59699a3c7a6d913dbc3776d36a58399990e87c0cba8074a6023433fa37e [INFO] running `Command { std: "docker" "start" "-a" "a6e8d59699a3c7a6d913dbc3776d36a58399990e87c0cba8074a6023433fa37e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking diesel_geometry v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pg::expression::dsl::*` [INFO] [stdout] --> src/expression/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pg::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::bound::Bound` [INFO] [stdout] --> src/pg/types/geometric.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::expression::bound::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::AsExpression` [INFO] [stdout] --> src/pg/types/geometric.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::expression::AsExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Nullable` [INFO] [stdout] --> src/pg/types/geometric.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::sql_types::Nullable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression::dsl::*` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | pub use expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg::expression::dsl::*` [INFO] [stdout] --> src/expression/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pg::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::bound::Bound` [INFO] [stdout] --> src/pg/types/geometric.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::expression::bound::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::AsExpression` [INFO] [stdout] --> src/pg/types/geometric.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::expression::AsExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Nullable` [INFO] [stdout] --> src/pg/types/geometric.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::sql_types::Nullable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/test_helpers.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "clippy", allow(invalid_ref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `postgres`, and `serde` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression::dsl::*` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | pub use expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Add` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Sub` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Mul` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Div` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/geometric.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [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_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [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_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [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_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow)] [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_pgbox` [INFO] [stdout] ... [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow)] [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_pgbox` [INFO] [stdout] ... [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] ... [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] ... [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/mod.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` 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/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` 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/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` 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/pg/types/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` 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/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` 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/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/test_helpers.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | Output::new(Vec::new(), unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/pg/types/mod.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` 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/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` 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/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` 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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pg/types/geometric.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | uuid.unwrap_err().description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `location` are never read [INFO] [stdout] --> src/pg/types/geometric.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 232 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 233 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 234 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 235 | location: ::pg::types::geometric::PgPoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Add` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Sub` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Mul` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SameAs` is not local [INFO] [stdout] | `Div` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `DieselNumericOps` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `DieselNumericOps` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/geometric.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgpoint` [INFO] [stdout] 17 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | #[sql_type = "Point"] [INFO] [stdout] | ------- `Point` is not local [INFO] [stdout] 19 | pub struct PgPoint(pub f64, pub f64); [INFO] [stdout] | ------- `PgPoint` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [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_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [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_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [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_pgbox` [INFO] [stdout] 43 | #[sql_type = "sql_types::Box"] [INFO] [stdout] | ---------------- `Box` is not local [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow)] [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_pgbox` [INFO] [stdout] ... [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow)] [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_pgbox` [INFO] [stdout] ... [INFO] [stdout] 44 | pub struct PgBox(pub PgPoint, pub PgPoint); [INFO] [stdout] | ----- `PgBox` 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/pg/types/geometric.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] ... [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] ... [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [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_pgcircle` [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 117 | #[sql_type = "Circle"] [INFO] [stdout] | -------- `Circle` is not local [INFO] [stdout] 118 | pub struct PgCircle(pub PgPoint, pub f64); [INFO] [stdout] | -------- `PgCircle` 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/pg/types/geometric.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug, Clone, Copy, 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_newitem` and up 2 bodies [INFO] [stdout] 214 | #[table_name = "items"] [INFO] [stdout] 215 | struct NewItem { [INFO] [stdout] | ------- `NewItem` 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/pg/types/geometric.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug, Clone, Copy, 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_newitem` and up 2 bodies [INFO] [stdout] 214 | #[table_name = "items"] [INFO] [stdout] 215 | struct NewItem { [INFO] [stdout] | ------- `NewItem` 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/pg/types/geometric.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug, Clone, Copy, 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_newitem` and up 2 bodies [INFO] [stdout] 214 | #[table_name = "items"] [INFO] [stdout] 215 | struct NewItem { [INFO] [stdout] | ------- `NewItem` 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/pg/types/geometric.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(Debug, Clone, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_item` and up 2 bodies [INFO] [stdout] 232 | struct Item { [INFO] [stdout] | ---- `Item` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/geometric.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Insertable, Queryable)] [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_roundtrip` and up 2 bodies [INFO] [stdout] 256 | #[table_name = "box_roundtrip"] [INFO] [stdout] 257 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` 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/pg/types/geometric.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Insertable, Queryable)] [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_roundtrip` and up 2 bodies [INFO] [stdout] 256 | #[table_name = "box_roundtrip"] [INFO] [stdout] 257 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` 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/pg/types/geometric.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Insertable, Queryable)] [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_roundtrip` and up 2 bodies [INFO] [stdout] 256 | #[table_name = "box_roundtrip"] [INFO] [stdout] 257 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` 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/pg/types/geometric.rs:255:48 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Insertable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_roundtrip` and up 2 bodies [INFO] [stdout] 256 | #[table_name = "box_roundtrip"] [INFO] [stdout] 257 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/geometric.rs:310:36 [INFO] [stdout] | [INFO] [stdout] 310 | #[derive(Debug, PartialEq, Insertable, Queryable)] [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_roundtrip` and up 2 bodies [INFO] [stdout] 311 | #[table_name = "circle_roundtrip"] [INFO] [stdout] 312 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` 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/pg/types/geometric.rs:310:36 [INFO] [stdout] | [INFO] [stdout] 310 | #[derive(Debug, PartialEq, Insertable, Queryable)] [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_roundtrip` and up 2 bodies [INFO] [stdout] 311 | #[table_name = "circle_roundtrip"] [INFO] [stdout] 312 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` 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/pg/types/geometric.rs:310:36 [INFO] [stdout] | [INFO] [stdout] 310 | #[derive(Debug, PartialEq, Insertable, Queryable)] [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_roundtrip` and up 2 bodies [INFO] [stdout] 311 | #[table_name = "circle_roundtrip"] [INFO] [stdout] 312 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` 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/pg/types/geometric.rs:310:48 [INFO] [stdout] | [INFO] [stdout] 310 | #[derive(Debug, PartialEq, Insertable, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_roundtrip` and up 2 bodies [INFO] [stdout] 311 | #[table_name = "circle_roundtrip"] [INFO] [stdout] 312 | struct Roundtrip { [INFO] [stdout] | --------- `Roundtrip` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] ... | [INFO] [stdout] 189 | | } [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/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] 185 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 189 | | } [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/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] 185 | | id -> Integer, [INFO] [stdout] 186 | | name -> VarChar, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 189 | | } [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/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] ... | [INFO] [stdout] 187 | | location -> Point, [INFO] [stdout] | | -------- `location` is not local [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_location` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/geometric.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / table! { [INFO] [stdout] 192 | | use diesel::sql_types::*; [INFO] [stdout] 193 | | use sql_types::Box; [INFO] [stdout] 194 | | box_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 198 | | } [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/pg/types/geometric.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / table! { [INFO] [stdout] 192 | | use diesel::sql_types::*; [INFO] [stdout] 193 | | use sql_types::Box; [INFO] [stdout] 194 | | box_roundtrip { [INFO] [stdout] 195 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 198 | | } [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/pg/types/geometric.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / table! { [INFO] [stdout] 192 | | use diesel::sql_types::*; [INFO] [stdout] 193 | | use sql_types::Box; [INFO] [stdout] 194 | | box_roundtrip { [INFO] [stdout] 195 | | id -> Integer, [INFO] [stdout] 196 | | boxes -> Nullable, [INFO] [stdout] | | ----- `boxes` is not local [INFO] [stdout] 197 | | } [INFO] [stdout] 198 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_boxes` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/geometric.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / table! { [INFO] [stdout] 200 | | use diesel::sql_types::*; [INFO] [stdout] 201 | | use sql_types::Circle; [INFO] [stdout] 202 | | circle_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [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/pg/types/geometric.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / table! { [INFO] [stdout] 200 | | use diesel::sql_types::*; [INFO] [stdout] 201 | | use sql_types::Circle; [INFO] [stdout] 202 | | circle_roundtrip { [INFO] [stdout] 203 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [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/pg/types/geometric.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / table! { [INFO] [stdout] 200 | | use diesel::sql_types::*; [INFO] [stdout] 201 | | use sql_types::Circle; [INFO] [stdout] 202 | | circle_roundtrip { [INFO] [stdout] 203 | | id -> Integer, [INFO] [stdout] 204 | | circles -> Nullable, [INFO] [stdout] | | ------- `circles` is not local [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_circles` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/mod.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` 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/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` 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/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_point` [INFO] [stdout] 54 | #[postgres(oid = "600", array_oid = "1017")] [INFO] [stdout] 55 | pub struct Point; [INFO] [stdout] | ----- `Point` 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/pg/types/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` 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/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` 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/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_box` [INFO] [stdout] 114 | #[postgres(oid = "603", array_oid = "1020")] [INFO] [stdout] 115 | pub struct Box; [INFO] [stdout] | --- `Box` 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/pg/types/mod.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` 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/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` 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/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, 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_circle` [INFO] [stdout] 166 | #[postgres(oid = "718", array_oid = "719")] [INFO] [stdout] 167 | pub struct Circle; [INFO] [stdout] | ------ `Circle` 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: the type `&::MetadataLookup` does not permit being left uninitialized [INFO] [stdout] --> src/test_helpers.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | Output::new(Vec::new(), unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.05s [INFO] running `Command { std: "docker" "inspect" "a6e8d59699a3c7a6d913dbc3776d36a58399990e87c0cba8074a6023433fa37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e8d59699a3c7a6d913dbc3776d36a58399990e87c0cba8074a6023433fa37e", kill_on_drop: false }` [INFO] [stdout] a6e8d59699a3c7a6d913dbc3776d36a58399990e87c0cba8074a6023433fa37e