[INFO] fetching crate diesel-citext 0.3.0... [INFO] checking diesel-citext-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate diesel-citext 0.3.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate diesel-citext 0.3.0 [INFO] finished tweaking crates.io crate diesel-citext 0.3.0 [INFO] tweaked toml for crates.io crate diesel-citext 0.3.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-citext 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 224 packages to latest compatible versions [INFO] [stderr] Adding actix-web v0.7.19 (available: v4.11.0) [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.12) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded v_escape v0.7.4 [INFO] [stderr] Downloaded v_htmlescape v0.4.5 [INFO] [stderr] Downloaded tower-service v0.1.0 [INFO] [stderr] Downloaded actix-net v0.2.6 [INFO] [stderr] Downloaded v_escape_derive v0.5.6 [INFO] [stderr] Downloaded actix-web v0.7.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91346ce31c3def474a95829e33916cb30f89067ce79701dbd798ad10292221e0 [INFO] running `Command { std: "docker" "start" "-a" "91346ce31c3def474a95829e33916cb30f89067ce79701dbd798ad10292221e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91346ce31c3def474a95829e33916cb30f89067ce79701dbd798ad10292221e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91346ce31c3def474a95829e33916cb30f89067ce79701dbd798ad10292221e0", kill_on_drop: false }` [INFO] [stdout] 91346ce31c3def474a95829e33916cb30f89067ce79701dbd798ad10292221e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28509d34fe30309a14002928f72eae138c7a0b8e0c5e8022d553c33b345d5dcf [INFO] running `Command { std: "docker" "start" "-a" "28509d34fe30309a14002928f72eae138c7a0b8e0c5e8022d553c33b345d5dcf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking diesel-citext v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:143:45 [INFO] [stdout] | [INFO] [stdout] 143 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:167:45 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NotNull` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `SingleValue` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Pg` is not local [INFO] [stdout] | `HasSqlType` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:143:45 [INFO] [stdout] | [INFO] [stdout] 143 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:167:45 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| Box::new(e) as Box) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NotNull` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `SingleValue` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sql_types.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(QueryId, SqlType)] [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Pg` is not local [INFO] [stdout] | `HasSqlType` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stdout] 2 | #[postgres(type_name = "citext")] [INFO] [stdout] 3 | pub struct Citext; [INFO] [stdout] | ------ `Citext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SqlType` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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/types.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stdout] 22 | #[sql_type = "Citext"] [INFO] [stdout] | -------- `Citext` is not local [INFO] [stdout] 23 | pub struct CiString { [INFO] [stdout] | -------- `CiString` 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 30.63s [INFO] running `Command { std: "docker" "inspect" "28509d34fe30309a14002928f72eae138c7a0b8e0c5e8022d553c33b345d5dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28509d34fe30309a14002928f72eae138c7a0b8e0c5e8022d553c33b345d5dcf", kill_on_drop: false }` [INFO] [stdout] 28509d34fe30309a14002928f72eae138c7a0b8e0c5e8022d553c33b345d5dcf