[INFO] fetching crate diesel-citext 0.3.0... [INFO] checking diesel-citext-0.3.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate diesel-citext 0.3.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-citext 0.3.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 225 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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_derive v0.5.6 [INFO] [stderr] Downloaded v_escape v0.7.4 [INFO] [stderr] Downloaded tower-service v0.1.0 [INFO] [stderr] Downloaded ipconfig v0.1.9 [INFO] [stderr] Downloaded tokio-signal v0.2.9 [INFO] [stderr] Downloaded error-chain v0.8.1 [INFO] [stderr] Downloaded winreg v0.5.1 [INFO] [stderr] Downloaded trust-dns-resolver v0.10.3 [INFO] [stderr] Downloaded actix v0.7.9 [INFO] [stderr] Downloaded trust-dns-proto v0.5.0 [INFO] [stderr] Downloaded trust-dns-proto v0.6.3 [INFO] [stderr] Downloaded actix-web v0.7.19 [INFO] [stderr] Downloaded v_htmlescape v0.4.5 [INFO] [stderr] Downloaded actix_derive v0.3.2 [INFO] [stderr] Downloaded actix-net v0.2.6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8120bfedb8b8bdf583177ffeebb1b1839ec70212a0422fbfc93581f717fb3f1c [INFO] running `Command { std: "docker" "start" "-a" "8120bfedb8b8bdf583177ffeebb1b1839ec70212a0422fbfc93581f717fb3f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8120bfedb8b8bdf583177ffeebb1b1839ec70212a0422fbfc93581f717fb3f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8120bfedb8b8bdf583177ffeebb1b1839ec70212a0422fbfc93581f717fb3f1c", kill_on_drop: false }` [INFO] [stdout] 8120bfedb8b8bdf583177ffeebb1b1839ec70212a0422fbfc93581f717fb3f1c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ff1d30a91af76ace6fe207a6311d909a3f192c3af15b6afdab9f6d6ddcaecf0 [INFO] running `Command { std: "docker" "start" "-a" "9ff1d30a91af76ace6fe207a6311d909a3f192c3af15b6afdab9f6d6ddcaecf0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.4.8 [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 serde v1.0.219 [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 20.09s [INFO] running `Command { std: "docker" "inspect" "9ff1d30a91af76ace6fe207a6311d909a3f192c3af15b6afdab9f6d6ddcaecf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff1d30a91af76ace6fe207a6311d909a3f192c3af15b6afdab9f6d6ddcaecf0", kill_on_drop: false }` [INFO] [stdout] 9ff1d30a91af76ace6fe207a6311d909a3f192c3af15b6afdab9f6d6ddcaecf0