[INFO] fetching crate diesel-citext 0.3.0... [INFO] testing diesel-citext-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate diesel-citext 0.3.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-citext 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 219 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.3.3) [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded v_escape v0.7.4 [INFO] [stderr] Downloaded sha1 v0.6.1 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded actix_derive v0.3.2 [INFO] [stderr] Downloaded tokio-codec v0.1.2 [INFO] [stderr] Downloaded tower-service v0.1.0 [INFO] [stderr] Downloaded cpuid-bool v0.2.0 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded widestring v0.2.2 [INFO] [stderr] Downloaded error-chain v0.8.1 [INFO] [stderr] Downloaded lock_api v0.1.5 [INFO] [stderr] Downloaded crossbeam-utils v0.6.6 [INFO] [stderr] Downloaded trust-dns-resolver v0.10.3 [INFO] [stderr] Downloaded brotli2 v0.3.2 [INFO] [stderr] Downloaded tokio-signal v0.2.9 [INFO] [stderr] Downloaded ipconfig v0.1.9 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded actix v0.7.9 [INFO] [stderr] Downloaded trust-dns-proto v0.6.3 [INFO] [stderr] Downloaded brotli-sys v0.3.2 [INFO] [stderr] Downloaded actix-web v0.7.19 [INFO] [stderr] Downloaded trust-dns-proto v0.5.0 [INFO] [stderr] Downloaded cookie v0.11.5 [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded aead v0.3.2 [INFO] [stderr] Downloaded hkdf v0.10.0 [INFO] [stderr] Downloaded string v0.2.1 [INFO] [stderr] Downloaded h2 v0.1.26 [INFO] [stderr] Downloaded tokio-fs v0.1.7 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded unicode-normalization v0.1.25 [INFO] [stderr] Downloaded aes-gcm v0.8.0 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded tokio-udp v0.1.6 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded aes-soft v0.6.4 [INFO] [stderr] Downloaded aesni v0.10.0 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded futures-cpupool v0.1.8 [INFO] [stderr] Downloaded http v0.1.21 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded tokio v0.1.22 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded actix-net v0.2.6 [INFO] [stderr] Downloaded aes v0.6.0 [INFO] [stderr] Downloaded parking_lot v0.9.0 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded ghash v0.3.1 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded lock_api v0.3.4 [INFO] [stderr] Downloaded parking_lot_core v0.6.3 [INFO] [stderr] Downloaded tokio-io v0.1.13 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded resolv-conf v0.6.3 [INFO] [stderr] Downloaded ctr v0.6.0 [INFO] [stderr] Downloaded universal-hash v0.4.1 [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded winreg v0.5.1 [INFO] [stderr] Downloaded cipher v0.2.5 [INFO] [stderr] Downloaded polyval v0.4.5 [INFO] [stderr] Downloaded crypto-mac v0.10.1 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded serde_urlencoded v0.5.5 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded v_escape_derive v0.5.6 [INFO] [stderr] Downloaded v_htmlescape v0.4.5 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded matches v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a49a623fe5b39d626d33e713d059af75b3c471f5faf350ec43692c42b136b2b6 [INFO] running `Command { std: "docker" "start" "-a" "a49a623fe5b39d626d33e713d059af75b3c471f5faf350ec43692c42b136b2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a49a623fe5b39d626d33e713d059af75b3c471f5faf350ec43692c42b136b2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a49a623fe5b39d626d33e713d059af75b3c471f5faf350ec43692c42b136b2b6", kill_on_drop: false }` [INFO] [stdout] a49a623fe5b39d626d33e713d059af75b3c471f5faf350ec43692c42b136b2b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c0165f7c839cdbe79b07a142622e9cebe07f53e26d3a53aefca2a8323352276 [INFO] running `Command { std: "docker" "start" "-a" "6c0165f7c839cdbe79b07a142622e9cebe07f53e26d3a53aefca2a8323352276", kill_on_drop: false }` [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 26.68s [INFO] running `Command { std: "docker" "inspect" "6c0165f7c839cdbe79b07a142622e9cebe07f53e26d3a53aefca2a8323352276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0165f7c839cdbe79b07a142622e9cebe07f53e26d3a53aefca2a8323352276", kill_on_drop: false }` [INFO] [stdout] 6c0165f7c839cdbe79b07a142622e9cebe07f53e26d3a53aefca2a8323352276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 377aa13f0c4e135f6e6af81dde9d6d2a16598b334fb91a45b9622bc28cfb9db2 [INFO] running `Command { std: "docker" "start" "-a" "377aa13f0c4e135f6e6af81dde9d6d2a16598b334fb91a45b9622bc28cfb9db2", kill_on_drop: false }` [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Compiling diesel-citext v0.3.0 (/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/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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "377aa13f0c4e135f6e6af81dde9d6d2a16598b334fb91a45b9622bc28cfb9db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377aa13f0c4e135f6e6af81dde9d6d2a16598b334fb91a45b9622bc28cfb9db2", kill_on_drop: false }` [INFO] [stdout] 377aa13f0c4e135f6e6af81dde9d6d2a16598b334fb91a45b9622bc28cfb9db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8324748ef9dbaf42be364c578ae40342ecf98a0741a7ebe92ecb8b0a76bda401 [INFO] running `Command { std: "docker" "start" "-a" "8324748ef9dbaf42be364c578ae40342ecf98a0741a7ebe92ecb8b0a76bda401", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:143:45 [INFO] [stderr] | [INFO] [stderr] 143 | .map_err(|e| Box::new(e) as Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 143 | .map_err(|e| Box::new(e) as Box) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:159:45 [INFO] [stderr] | [INFO] [stderr] 159 | .map_err(|e| Box::new(e) as Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 159 | .map_err(|e| Box::new(e) as Box) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:167:45 [INFO] [stderr] | [INFO] [stderr] 167 | .map_err(|e| Box::new(e) as Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 167 | .map_err(|e| Box::new(e) as Box) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/sql_types.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(QueryId, SqlType)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_citext` [INFO] [stderr] 2 | #[postgres(type_name = "citext")] [INFO] [stderr] 3 | pub struct Citext; [INFO] [stderr] | ------ `Citext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `QueryId` (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/sql_types.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(QueryId, SqlType)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `NotNull` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stderr] 2 | #[postgres(type_name = "citext")] [INFO] [stderr] 3 | pub struct Citext; [INFO] [stderr] | ------ `Citext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `SqlType` (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/sql_types.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(QueryId, SqlType)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `SingleValue` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stderr] 2 | #[postgres(type_name = "citext")] [INFO] [stderr] 3 | pub struct Citext; [INFO] [stderr] | ------ `Citext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `SqlType` (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/sql_types.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(QueryId, SqlType)] [INFO] [stderr] | -^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Pg` is not local [INFO] [stderr] | `HasSqlType` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_sql_type_for_citext` [INFO] [stderr] 2 | #[postgres(type_name = "citext")] [INFO] [stderr] 3 | pub struct Citext; [INFO] [stderr] | ------ `Citext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SqlType` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `SqlType` (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/types.rs:21:48 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stderr] 22 | #[sql_type = "Citext"] [INFO] [stderr] 23 | pub struct CiString { [INFO] [stderr] | -------- `CiString` 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/types.rs:21:48 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stderr] 22 | #[sql_type = "Citext"] [INFO] [stderr] 23 | pub struct CiString { [INFO] [stderr] | -------- `CiString` 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/types.rs:21:60 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stderr] 22 | #[sql_type = "Citext"] [INFO] [stderr] | -------- `Citext` is not local [INFO] [stderr] 23 | pub struct CiString { [INFO] [stderr] | -------- `CiString` 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/types.rs:21:60 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stderr] 22 | #[sql_type = "Citext"] [INFO] [stderr] | -------- `Citext` is not local [INFO] [stderr] 23 | pub struct CiString { [INFO] [stderr] | -------- `CiString` 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/types.rs:21:60 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stderr] 22 | #[sql_type = "Citext"] [INFO] [stderr] | -------- `Citext` is not local [INFO] [stderr] 23 | pub struct CiString { [INFO] [stderr] | -------- `CiString` 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/types.rs:21:60 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stderr] 22 | #[sql_type = "Citext"] [INFO] [stderr] | -------- `Citext` is not local [INFO] [stderr] 23 | pub struct CiString { [INFO] [stderr] | -------- `CiString` 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/types.rs:21:60 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone, Debug, Serialize, Deserialize, 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_cistring` [INFO] [stderr] 22 | #[sql_type = "Citext"] [INFO] [stderr] | -------- `Citext` is not local [INFO] [stderr] 23 | pub struct CiString { [INFO] [stderr] | -------- `CiString` 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: `diesel-citext` (lib) generated 14 warnings (run `cargo fix --lib -p diesel-citext` to apply 3 suggestions) [INFO] [stderr] warning: `diesel-citext` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diesel_citext-6130bfbe1a36b7cb) [INFO] [stderr] Doc-tests diesel_citext [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8324748ef9dbaf42be364c578ae40342ecf98a0741a7ebe92ecb8b0a76bda401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8324748ef9dbaf42be364c578ae40342ecf98a0741a7ebe92ecb8b0a76bda401", kill_on_drop: false }` [INFO] [stdout] 8324748ef9dbaf42be364c578ae40342ecf98a0741a7ebe92ecb8b0a76bda401