[INFO] cloning repository https://github.com/mattn/ntex-bbs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattn/ntex-bbs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattn%2Fntex-bbs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattn%2Fntex-bbs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 009bcc772b5265c7408dc9c49b468cb542c4718b [INFO] checking mattn/ntex-bbs against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattn%2Fntex-bbs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattn/ntex-bbs on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattn/ntex-bbs [INFO] finished tweaking git repo https://github.com/mattn/ntex-bbs [INFO] tweaked toml for git repo https://github.com/mattn/ntex-bbs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mattn/ntex-bbs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oneshot v0.1.6 [INFO] [stderr] Downloaded ntex-files v1.0.0 [INFO] [stderr] Downloaded ntex-util v1.0.1 [INFO] [stderr] Downloaded ntex-rt v0.4.13 [INFO] [stderr] Downloaded ntex-service v2.0.1 [INFO] [stderr] Downloaded ntex-router v0.5.3 [INFO] [stderr] Downloaded ntex-server v1.0.5 [INFO] [stderr] Downloaded ntex-tls v1.1.0 [INFO] [stderr] Downloaded ntex-bytes v0.1.27 [INFO] [stderr] Downloaded ntex-net v1.0.2 [INFO] [stderr] Downloaded ntex-io v1.0.2 [INFO] [stderr] Downloaded ntex-tokio v0.4.0 [INFO] [stderr] Downloaded ntex-h2 v0.5.2 [INFO] [stderr] Downloaded ntex-http v0.1.12 [INFO] [stderr] Downloaded ntex v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bb2e887f8e2b1d10f3a3bca7a053f2518ef65ab900886d6d2db373d68087605 [INFO] running `Command { std: "docker" "start" "-a" "5bb2e887f8e2b1d10f3a3bca7a053f2518ef65ab900886d6d2db373d68087605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bb2e887f8e2b1d10f3a3bca7a053f2518ef65ab900886d6d2db373d68087605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb2e887f8e2b1d10f3a3bca7a053f2518ef65ab900886d6d2db373d68087605", kill_on_drop: false }` [INFO] [stdout] 5bb2e887f8e2b1d10f3a3bca7a053f2518ef65ab900886d6d2db373d68087605 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a946b61ff6a62953d87cd1ea750854ab7b1338617dd2a8622f928a887b966566 [INFO] running `Command { std: "docker" "start" "-a" "a946b61ff6a62953d87cd1ea750854ab7b1338617dd2a8622f928a887b966566", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking oneshot v0.1.6 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ntex-service v2.0.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking event-listener-strategy v0.5.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking async-broadcast v0.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking ntex-rt v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking ntex-util v1.0.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v1.0.2 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking ntex-tokio v0.4.0 [INFO] [stderr] Checking ntex-net v1.0.2 [INFO] [stderr] Checking ntex-h2 v0.5.2 [INFO] [stderr] Checking ntex-tls v1.1.0 [INFO] [stderr] Checking ntex-server v1.0.5 [INFO] [stderr] Checking ntex v1.2.1 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking ntex-files v1.0.0 [INFO] [stderr] Checking ntex-bbs v0.1.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/entry.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which 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 `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/entry.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/entry.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/entry.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | entries (id) { [INFO] [stdout] 5 | | id -> Nullable, [INFO] [stdout] 6 | | body -> Text, [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | entries (id) { [INFO] [stdout] 5 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 6 | | body -> Text, [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | entries (id) { [INFO] [stdout] 5 | | id -> Nullable, [INFO] [stdout] 6 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/entry.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which 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 `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/entry.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/entry.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/entry.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Insertable, Debug, Clone)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_entry` [INFO] [stdout] 8 | #[table_name = "entries"] [INFO] [stdout] 9 | pub struct Entry { [INFO] [stdout] | ----- `Entry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | entries (id) { [INFO] [stdout] 5 | | id -> Nullable, [INFO] [stdout] 6 | | body -> Text, [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | entries (id) { [INFO] [stdout] 5 | | id -> Nullable, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 6 | | body -> Text, [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | entries (id) { [INFO] [stdout] 5 | | id -> Nullable, [INFO] [stdout] 6 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::table` (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 40.05s [INFO] running `Command { std: "docker" "inspect" "a946b61ff6a62953d87cd1ea750854ab7b1338617dd2a8622f928a887b966566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a946b61ff6a62953d87cd1ea750854ab7b1338617dd2a8622f928a887b966566", kill_on_drop: false }` [INFO] [stdout] a946b61ff6a62953d87cd1ea750854ab7b1338617dd2a8622f928a887b966566