[INFO] fetching crate rp1 0.3.1... [INFO] testing rp1-0.3.1 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] extracting crate rp1 0.3.1 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rp1 0.3.1 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 265 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.3.5) [INFO] [stderr] Adding diesel_migrations v1.4.0 (available: v2.3.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-stream v0.1.18 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Downloaded dsl_auto_type v0.2.0 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0 [INFO] [stderr] Downloaded rp1-macros v0.3.1 [INFO] [stderr] Downloaded if_chain v1.0.3 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded diesel_derives v2.3.6 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded diesel v2.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbae2cbda1507bf2451891dd25c7c4cef78a44e5e27e2be0d6eb02acc5dfd585 [INFO] running `Command { std: "docker" "start" "-a" "bbae2cbda1507bf2451891dd25c7c4cef78a44e5e27e2be0d6eb02acc5dfd585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbae2cbda1507bf2451891dd25c7c4cef78a44e5e27e2be0d6eb02acc5dfd585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbae2cbda1507bf2451891dd25c7c4cef78a44e5e27e2be0d6eb02acc5dfd585", kill_on_drop: false }` [INFO] [stdout] bbae2cbda1507bf2451891dd25c7c4cef78a44e5e27e2be0d6eb02acc5dfd585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c164487281e6315a29b35a7a2a8a75d5e52988d24edd15dd7b96d7fb63da9f8 [INFO] running `Command { std: "docker" "start" "-a" "9c164487281e6315a29b35a7a2a8a75d5e52988d24edd15dd7b96d7fb63da9f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling rp1-macros v0.3.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml v0.8.23 [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" "9c164487281e6315a29b35a7a2a8a75d5e52988d24edd15dd7b96d7fb63da9f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c164487281e6315a29b35a7a2a8a75d5e52988d24edd15dd7b96d7fb63da9f8", kill_on_drop: false }` [INFO] [stdout] 9c164487281e6315a29b35a7a2a8a75d5e52988d24edd15dd7b96d7fb63da9f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9661cba97bd738f62b9f66d11c3b7fabc9fbdad3bd653480e734dbf0f5b99a90 [INFO] running `Command { std: "docker" "start" "-a" "9661cba97bd738f62b9f66d11c3b7fabc9fbdad3bd653480e734dbf0f5b99a90", kill_on_drop: false }` [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling diesel_derives v2.3.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.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.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling diesel v2.3.5 [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 23.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9661cba97bd738f62b9f66d11c3b7fabc9fbdad3bd653480e734dbf0f5b99a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9661cba97bd738f62b9f66d11c3b7fabc9fbdad3bd653480e734dbf0f5b99a90", kill_on_drop: false }` [INFO] [stdout] 9661cba97bd738f62b9f66d11c3b7fabc9fbdad3bd653480e734dbf0f5b99a90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aca19b3052a5a7bd75c23d794eac3a2cd5c33ecc0356e8a99665140542779ef9 [INFO] running `Command { std: "docker" "start" "-a" "aca19b3052a5a7bd75c23d794eac3a2cd5c33ecc0356e8a99665140542779ef9", 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.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rp1-cabe792651ac23cd) [INFO] [stdout] [INFO] [stderr] Doc-tests rp1 [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 88) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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 file module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: file modules are usually placed outside of blocks, at the top level of the file [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] 96 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] help: item with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.5/src/pg/connection/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: there are multiple different versions of crate `diesel` in the dependency graph [INFO] [stdout] help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/poolable.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl Poolable for diesel::PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 96 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] help: item with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.5/src/pg/connection/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: there are multiple different versions of crate `diesel` in the dependency graph [INFO] [stdout] help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/poolable.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl Poolable for diesel::PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 95 | #[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] 95 | #[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] 95 | #[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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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] 95 | #[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] 95 | #[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] 95 | #[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] 88 + use rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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 file module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: file modules are usually placed outside of blocks, at the top level of the file [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[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] 25 | #[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[E0425]: cannot find type `Db` in this scope [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | #[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] 23 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] help: item with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.5/src/pg/connection/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: there are multiple different versions of crate `diesel` in the dependency graph [INFO] [stdout] help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/poolable.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl Poolable for diesel::PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 23 | struct Db(diesel::PgConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::PgConnection` [INFO] [stdout] | [INFO] [stdout] help: item with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.5/src/pg/connection/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: there are multiple different versions of crate `diesel` in the dependency graph [INFO] [stdout] help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::PgConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_sync_db_pools-0.1.0/src/poolable.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl Poolable for diesel::PgConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 22 | #[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] 22 | #[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] 22 | #[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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[database("diesel")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[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] 25 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[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] 22 | #[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] 22 | #[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] 22 | #[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] 13 + use rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425, 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.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aca19b3052a5a7bd75c23d794eac3a2cd5c33ecc0356e8a99665140542779ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca19b3052a5a7bd75c23d794eac3a2cd5c33ecc0356e8a99665140542779ef9", kill_on_drop: false }` [INFO] [stdout] aca19b3052a5a7bd75c23d794eac3a2cd5c33ecc0356e8a99665140542779ef9