[INFO] cloning repository https://github.com/weiznich/diesel_benches [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weiznich/diesel_benches" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweiznich%2Fdiesel_benches", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweiznich%2Fdiesel_benches'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e2cdfa8003a9c85117c8f1f8dd55b34611ff97c [INFO] checking weiznich/diesel_benches against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-136776-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweiznich%2Fdiesel_benches" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/weiznich/diesel_benches [INFO] finished tweaking git repo https://github.com/weiznich/diesel_benches [INFO] tweaked toml for git repo https://github.com/weiznich/diesel_benches written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weiznich/diesel_benches on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/weiznich/diesel_benches 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/weiznich/diesel` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded net2 v0.2.33 [INFO] [stderr] Downloaded tokio-util v0.2.0 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded tokio v0.2.6 [INFO] [stderr] Downloaded mio v0.6.21 [INFO] [stderr] Downloaded tokio-postgres v0.5.1 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded lock_api v0.3.2 [INFO] [stderr] Downloaded parking_lot v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded parking_lot_core v0.7.0 [INFO] [stderr] Downloaded hermit-abi v0.1.5 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded sha2 v0.8.0 [INFO] [stderr] Downloaded vcpkg v0.2.8 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.11 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded siphasher v0.3.1 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded bytes v0.5.3 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded postgres-protocol v0.5.0 [INFO] [stderr] Downloaded postgres-types v0.1.0 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded postgres v0.17.0 [INFO] [stderr] Downloaded mio-uds v0.6.7 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded syn v1.0.11 [INFO] [stderr] Downloaded slab v0.4.2 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded matches v0.1.8 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded futures-task v0.3.1 [INFO] [stderr] Downloaded atty v0.2.13 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded futures-channel v0.3.1 [INFO] [stderr] Downloaded futures-util v0.3.1 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded futures-core v0.3.1 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded futures-sink v0.3.1 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded proc-macro-nested v0.1.3 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded futures-io v0.3.1 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded proc-macro-hack v0.5.11 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e96707476cf3530fe721c98d51fadb163ed546668e99e043985bcabee7bc515f [INFO] running `Command { std: "docker" "start" "-a" "e96707476cf3530fe721c98d51fadb163ed546668e99e043985bcabee7bc515f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e96707476cf3530fe721c98d51fadb163ed546668e99e043985bcabee7bc515f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96707476cf3530fe721c98d51fadb163ed546668e99e043985bcabee7bc515f", kill_on_drop: false }` [INFO] [stdout] e96707476cf3530fe721c98d51fadb163ed546668e99e043985bcabee7bc515f [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81c05868fbc197fe06baa988d9339e3b3c9e679dd222a40dddabcc08dabbbae1 [INFO] running `Command { std: "docker" "start" "-a" "81c05868fbc197fe06baa988d9339e3b3c9e679dd222a40dddabcc08dabbbae1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking siphasher v0.3.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking postgres-protocol v0.5.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking postgres-types v0.1.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling diesel_derives v1.4.1 (https://github.com/weiznich/diesel?rev=82be4e1487d09161b9d14b63eff5d9b7c7c7ba2e#82be4e14) [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking tokio-postgres v0.5.1 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] Checking postgres v0.17.0 [INFO] [stderr] Checking diesel v1.4.3 (https://github.com/weiznich/diesel?rev=82be4e1487d09161b9d14b63eff5d9b7c7c7ba2e#82be4e14) [INFO] [stderr] Checking diesel_bench v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name` and `hair_color` are never read [INFO] [stdout] --> benches/diesel_pg_connection.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 32 | id: i32, [INFO] [stdout] 33 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | hair_color: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `body` are never read [INFO] [stdout] --> benches/diesel_pg_connection.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | body: Option, [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] --> benches/diesel_pg_connection.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Queryable, Identifiable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 31 | pub struct User { [INFO] [stdout] | ---- `User` 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] --> benches/diesel_pg_connection.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Queryable, Identifiable)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stdout] 31 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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] --> benches/diesel_pg_connection.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Queryable, Identifiable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_user` [INFO] [stdout] 31 | pub struct User { [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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] --> benches/diesel_pg_connection.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Insertable)] [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_newuser` [INFO] [stdout] 38 | #[table_name = "users"] [INFO] [stdout] 39 | struct NewUser { [INFO] [stdout] | ------- `NewUser` 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] --> benches/diesel_pg_connection.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Insertable)] [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_newuser` [INFO] [stdout] 38 | #[table_name = "users"] [INFO] [stdout] 39 | struct NewUser { [INFO] [stdout] | ------- `NewUser` 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] --> benches/diesel_pg_connection.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Insertable)] [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_newuser` [INFO] [stdout] 38 | #[table_name = "users"] [INFO] [stdout] 39 | struct NewUser { [INFO] [stdout] | ------- `NewUser` 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] --> benches/diesel_pg_connection.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_post` [INFO] [stdout] 45 | #[belongs_to(User)] [INFO] [stdout] 46 | struct Post { [INFO] [stdout] | ---- `Post` 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: 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] --> benches/diesel_pg_connection.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `HasTable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stdout] 45 | #[belongs_to(User)] [INFO] [stdout] 46 | struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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] --> benches/diesel_pg_connection.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Identifiable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_identifiable_for_post` [INFO] [stdout] 45 | #[belongs_to(User)] [INFO] [stdout] 46 | struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Identifiable` 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 `Identifiable` (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] --> benches/diesel_pg_connection.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Queryable, Identifiable, Associations)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `BelongsTo` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_associations_for_post` [INFO] [stdout] 45 | #[belongs_to(User)] [INFO] [stdout] | ---- `User` is not local [INFO] [stdout] 46 | struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Associations` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Associations` 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 `Associations` (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] --> benches/diesel_pg_connection.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Insertable)] [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_newpost` [INFO] [stdout] 54 | #[table_name = "posts"] [INFO] [stdout] 55 | struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` 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] --> benches/diesel_pg_connection.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Insertable)] [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_newpost` [INFO] [stdout] 54 | #[table_name = "posts"] [INFO] [stdout] 55 | struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` 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] --> benches/diesel_pg_connection.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Insertable)] [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_newpost` [INFO] [stdout] 54 | #[table_name = "posts"] [INFO] [stdout] 55 | struct NewPost<'a> { [INFO] [stdout] | ------- `NewPost` 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] --> benches/diesel_pg_connection.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | users { [INFO] [stdout] 9 | | id -> Integer, [INFO] [stdout] 10 | | name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [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 `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] --> benches/diesel_pg_connection.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | users { [INFO] [stdout] 9 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 10 | | name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [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 `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] --> benches/diesel_pg_connection.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | users { [INFO] [stdout] 9 | | id -> Integer, [INFO] [stdout] 10 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [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 `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] --> benches/diesel_pg_connection.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / table! { [INFO] [stdout] 8 | | users { [INFO] [stdout] 9 | | id -> Integer, [INFO] [stdout] 10 | | name -> Text, [INFO] [stdout] 11 | | hair_color -> Nullable, [INFO] [stdout] | | ---------- `hair_color` is not local [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_hair_color` [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 `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] --> benches/diesel_pg_connection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | posts { [INFO] [stdout] 17 | | id -> Integer, [INFO] [stdout] 18 | | user_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [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 `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] --> benches/diesel_pg_connection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | posts { [INFO] [stdout] 17 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 18 | | user_id -> Integer, [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [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 `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] --> benches/diesel_pg_connection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | posts { [INFO] [stdout] 17 | | id -> Integer, [INFO] [stdout] 18 | | user_id -> Integer, [INFO] [stdout] | | ------- `user_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_user_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 `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] --> benches/diesel_pg_connection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | posts { [INFO] [stdout] 17 | | id -> Integer, [INFO] [stdout] 18 | | user_id -> Integer, [INFO] [stdout] 19 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [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 `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] --> benches/diesel_pg_connection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | posts { [INFO] [stdout] 17 | | id -> Integer, [INFO] [stdout] 18 | | user_id -> Integer, [INFO] [stdout] 19 | | title -> Text, [INFO] [stdout] 20 | | body -> Nullable, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | } [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 `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 51.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "81c05868fbc197fe06baa988d9339e3b3c9e679dd222a40dddabcc08dabbbae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c05868fbc197fe06baa988d9339e3b3c9e679dd222a40dddabcc08dabbbae1", kill_on_drop: false }` [INFO] [stdout] 81c05868fbc197fe06baa988d9339e3b3c9e679dd222a40dddabcc08dabbbae1