[INFO] fetching crate rp1 0.3.1... [INFO] testing rp1-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rp1 0.3.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rp1 0.3.1 [INFO] finished tweaking crates.io crate rp1 0.3.1 [INFO] tweaked toml for crates.io crate rp1 0.3.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rp1 0.3.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 272 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.12) [INFO] [stderr] Adding diesel_migrations v1.4.0 (available: v2.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding validator v0.14.0 (available: v0.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4b801816ddb7bc572ddcb06a76a9641a6fe9e4b7aaff918ba88da0713350ae0 [INFO] running `Command { std: "docker" "start" "-a" "d4b801816ddb7bc572ddcb06a76a9641a6fe9e4b7aaff918ba88da0713350ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4b801816ddb7bc572ddcb06a76a9641a6fe9e4b7aaff918ba88da0713350ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b801816ddb7bc572ddcb06a76a9641a6fe9e4b7aaff918ba88da0713350ae0", kill_on_drop: false }` [INFO] [stdout] d4b801816ddb7bc572ddcb06a76a9641a6fe9e4b7aaff918ba88da0713350ae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 041b4c0921c9fb9f70048db9473962659a79c09c720eb2372fc8ed35951d6051 [INFO] running `Command { std: "docker" "start" "-a" "041b4c0921c9fb9f70048db9473962659a79c09c720eb2372fc8ed35951d6051", kill_on_drop: false }` [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] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rp1-macros v0.3.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling rp1 v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/datetime/date.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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: `#[warn(non_local_definitions)]` on by default [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/datetime/date.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/offset_date_time.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/primitive_date_time.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/time.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "041b4c0921c9fb9f70048db9473962659a79c09c720eb2372fc8ed35951d6051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "041b4c0921c9fb9f70048db9473962659a79c09c720eb2372fc8ed35951d6051", kill_on_drop: false }` [INFO] [stdout] 041b4c0921c9fb9f70048db9473962659a79c09c720eb2372fc8ed35951d6051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21590a7c6b6ef90726792ff7c846ef6c80316a1a82c2215abe6c0a1243ef3242 [INFO] running `Command { std: "docker" "start" "-a" "21590a7c6b6ef90726792ff7c846ef6c80316a1a82c2215abe6c0a1243ef3242", kill_on_drop: false }` [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/datetime/date.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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: `#[warn(non_local_definitions)]` on by default [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/datetime/date.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/offset_date_time.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/primitive_date_time.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/time.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Compiling diesel v2.2.12 [INFO] [stderr] Compiling rp1 v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/datetime/date.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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: `#[warn(non_local_definitions)]` on by default [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/datetime/date.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/date.rs:19:68 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_date` [INFO] [stdout] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stdout] | ------------------------- `Date` is not local [INFO] [stdout] 21 | pub struct Date(time::Date); [INFO] [stdout] | ---- `Date` 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/datetime/offset_date_time.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/offset_date_time.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_offsetdatetime` [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stdout] | -------------- `OffsetDateTime` 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/datetime/primitive_date_time.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] | ------------------------------ `Timestamp` is not local [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/primitive_date_time.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_primitivedatetime` [INFO] [stdout] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stdout] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stdout] | -------------------------------- `Timestamptz` is not local [INFO] [stdout] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stdout] | ----------------- `PrimitiveDateTime` 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/datetime/time.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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/datetime/time.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, 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_time` [INFO] [stdout] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stdout] | ------------------------- `Time` is not local [INFO] [stdout] 20 | pub struct Time(time::Time); [INFO] [stdout] | ---- `Time` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.94s [INFO] running `Command { std: "docker" "inspect" "21590a7c6b6ef90726792ff7c846ef6c80316a1a82c2215abe6c0a1243ef3242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21590a7c6b6ef90726792ff7c846ef6c80316a1a82c2215abe6c0a1243ef3242", kill_on_drop: false }` [INFO] [stdout] 21590a7c6b6ef90726792ff7c846ef6c80316a1a82c2215abe6c0a1243ef3242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cdbe073b047613fa9b8a7971eb9f8a2a2d51873351347eae5bfc27bda24ca6d5 [INFO] running `Command { std: "docker" "start" "-a" "cdbe073b047613fa9b8a7971eb9f8a2a2d51873351347eae5bfc27bda24ca6d5", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/date.rs:19:56 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `FromSqlRow` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_date` [INFO] [stderr] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stderr] 21 | pub struct Date(time::Date); [INFO] [stderr] | ---- `Date` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/date.rs:19:56 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_date` [INFO] [stderr] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stderr] 21 | pub struct Date(time::Date); [INFO] [stderr] | ---- `Date` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/date.rs:19:68 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_date` [INFO] [stderr] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stderr] | ------------------------- `Date` is not local [INFO] [stderr] 21 | pub struct Date(time::Date); [INFO] [stderr] | ---- `Date` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/date.rs:19:68 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_date` [INFO] [stderr] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stderr] | ------------------------- `Date` is not local [INFO] [stderr] 21 | pub struct Date(time::Date); [INFO] [stderr] | ---- `Date` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/date.rs:19:68 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `ToSql` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_date` [INFO] [stderr] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stderr] | ------------------------- `Date` is not local [INFO] [stderr] 21 | pub struct Date(time::Date); [INFO] [stderr] | ---- `Date` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/date.rs:19:68 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_date` [INFO] [stderr] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stderr] | ------------------------- `Date` is not local [INFO] [stderr] 21 | pub struct Date(time::Date); [INFO] [stderr] | ---- `Date` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/date.rs:19:68 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_date` [INFO] [stderr] 20 | #[sql_type = "diesel::sql_types::Date"] [INFO] [stderr] | ------------------------- `Date` is not local [INFO] [stderr] 21 | pub struct Date(time::Date); [INFO] [stderr] | ---- `Date` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/offset_date_time.rs:23:56 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `FromSqlRow` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_offsetdatetime` [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stderr] | -------------- `OffsetDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/offset_date_time.rs:23:56 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_offsetdatetime` [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stderr] | -------------- `OffsetDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/offset_date_time.rs:23:68 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_offsetdatetime` [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stderr] | -------------- `OffsetDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/offset_date_time.rs:23:68 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_offsetdatetime` [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stderr] | -------------- `OffsetDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/offset_date_time.rs:23:68 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `ToSql` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_offsetdatetime` [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stderr] | -------------- `OffsetDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/offset_date_time.rs:23:68 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_offsetdatetime` [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stderr] | -------------- `OffsetDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/offset_date_time.rs:23:68 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_offsetdatetime` [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct OffsetDateTime(time::OffsetDateTime); [INFO] [stderr] | -------------- `OffsetDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:56 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `FromSqlRow` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_primitivedatetime` [INFO] [stderr] ... [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:56 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_primitivedatetime` [INFO] [stderr] ... [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] | ------------------------------ `Timestamp` is not local [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] | ------------------------------ `Timestamp` is not local [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `ToSql` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] | ------------------------------ `Timestamp` is not local [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] | ------------------------------ `Timestamp` is not local [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] | ------------------------------ `Timestamp` is not local [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `ToSql` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/primitive_date_time.rs:22:68 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_primitivedatetime` [INFO] [stderr] 23 | #[sql_type = "diesel::sql_types::Timestamp"] [INFO] [stderr] 24 | #[sql_type = "diesel::sql_types::Timestamptz"] [INFO] [stderr] | -------------------------------- `Timestamptz` is not local [INFO] [stderr] 25 | pub struct PrimitiveDateTime(time::PrimitiveDateTime); [INFO] [stderr] | ----------------- `PrimitiveDateTime` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/time.rs:18:56 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `FromSqlRow` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_time` [INFO] [stderr] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stderr] 20 | pub struct Time(time::Time); [INFO] [stderr] | ---- `Time` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/time.rs:18:56 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_time` [INFO] [stderr] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stderr] 20 | pub struct Time(time::Time); [INFO] [stderr] | ---- `Time` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/time.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_time` [INFO] [stderr] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stderr] | ------------------------- `Time` is not local [INFO] [stderr] 20 | pub struct Time(time::Time); [INFO] [stderr] | ---- `Time` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/time.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_time` [INFO] [stderr] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stderr] | ------------------------- `Time` is not local [INFO] [stderr] 20 | pub struct Time(time::Time); [INFO] [stderr] | ---- `Time` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/time.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `ToSql` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_time` [INFO] [stderr] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stderr] | ------------------------- `Time` is not local [INFO] [stderr] 20 | pub struct Time(time::Time); [INFO] [stderr] | ---- `Time` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/time.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_time` [INFO] [stderr] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stderr] | ------------------------- `Time` is not local [INFO] [stderr] 20 | pub struct Time(time::Time); [INFO] [stderr] | ---- `Time` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/datetime/time.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, FromSqlRow, AsExpression)] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_time` [INFO] [stderr] 19 | #[sql_type = "diesel::sql_types::Time"] [INFO] [stderr] | ------------------------- `Time` is not local [INFO] [stderr] 20 | pub struct Time(time::Time); [INFO] [stderr] | ---- `Time` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rp1` (lib) generated 33 warnings [INFO] [stderr] warning: `rp1` (lib test) generated 33 warnings (33 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rp1-9133d50ff519f5ee) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rp1 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 88) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::PgConnection: Poolable` is not satisfied [INFO] [stdout] --> src/lib.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 10 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] note: required by a bound in `rocket_sync_db_pools::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Connection` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::PgConnection: Poolable` is not satisfied [INFO] [stdout] --> src/lib.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 10 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] note: required by a bound in `ConnectionPool` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConnectionPool { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ConnectionPool` [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `fairing` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `rocket_sync_db_pools::Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `get_one` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `pool` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `rocket_sync_db_pools::Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: FromRequest<'_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: FromRequest<'_>` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `abort` exists for struct `rocket_sync_db_pools::Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: Sentinel` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: Sentinel` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `DefaultSentinel` which provides `abort` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `schema` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `schema` in the crate root [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `schema` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Db` in this scope [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::PgConnection: Poolable` is not satisfied [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 12 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] note: required by a bound in `rocket_sync_db_pools::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Connection` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::PgConnection: Poolable` is not satisfied [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 12 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] note: required by a bound in `ConnectionPool` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConnectionPool { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ConnectionPool` [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `fairing` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `rocket_sync_db_pools::Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `get_one` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `pool` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `rocket_sync_db_pools::Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: FromRequest<'_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: FromRequest<'_>` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `abort` exists for struct `rocket_sync_db_pools::Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: Sentinel` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- doesn't satisfy `diesel::PgConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::PgConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: Sentinel` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `DefaultSentinel` which provides `abort` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.77s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cdbe073b047613fa9b8a7971eb9f8a2a2d51873351347eae5bfc27bda24ca6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdbe073b047613fa9b8a7971eb9f8a2a2d51873351347eae5bfc27bda24ca6d5", kill_on_drop: false }` [INFO] [stdout] cdbe073b047613fa9b8a7971eb9f8a2a2d51873351347eae5bfc27bda24ca6d5