[INFO] cloning repository https://github.com/jpypi/rustix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpypi/rustix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpypi%2Frustix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpypi%2Frustix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 453a9ca5352fbcb09ec1b82811188b0ac96208ca
[INFO] checking jpypi/rustix against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpypi%2Frustix" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jpypi/rustix
[INFO] finished tweaking git repo https://github.com/jpypi/rustix
[INFO] tweaked toml for git repo https://github.com/jpypi/rustix written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jpypi/rustix on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jpypi/rustix 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://gitlab.com/jpypi/bf-lang/`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ahash v0.8.6
[INFO] [stderr]   Downloaded cpufeatures v0.2.11
[INFO] [stderr]   Downloaded keccak v0.1.4
[INFO] [stderr]   Downloaded thiserror-impl v1.0.51
[INFO] [stderr]   Downloaded pq-sys v0.4.8
[INFO] [stderr]   Downloaded futures-sink v0.3.29
[INFO] [stderr]   Downloaded futures-core v0.3.29
[INFO] [stderr]   Downloaded futures-task v0.3.29
[INFO] [stderr]   Downloaded futures-io v0.3.29
[INFO] [stderr]   Downloaded thiserror v1.0.51
[INFO] [stderr]   Downloaded iana-time-zone v0.1.58
[INFO] [stderr]   Downloaded schannel v0.1.22
[INFO] [stderr]   Downloaded futures-channel v0.3.29
[INFO] [stderr]   Downloaded windows-core v0.51.1
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.17
[INFO] [stderr]   Downloaded base64 v0.21.5
[INFO] [stderr]   Downloaded rayon-core v1.12.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.97
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.16
[INFO] [stderr]   Downloaded tempfile v3.8.1
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.4
[INFO] [stderr]   Downloaded rayon v1.8.0
[INFO] [stderr]   Downloaded rust_tokenizers v8.1.1
[INFO] [stderr]   Downloaded futures-util v0.3.29
[INFO] [stderr]   Downloaded h2 v0.3.22
[INFO] [stderr]   Downloaded zerocopy v0.7.31
[INFO] [stderr]   Downloaded openssl v0.10.61
[INFO] [stderr]   Downloaded diesel-derive-enum v1.1.2
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.31
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25389e3fca2344301908a7eed0ebc89018dee67432912c34758d99e4be2be730
[INFO] running `Command { std: "docker" "start" "-a" "25389e3fca2344301908a7eed0ebc89018dee67432912c34758d99e4be2be730", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25389e3fca2344301908a7eed0ebc89018dee67432912c34758d99e4be2be730", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25389e3fca2344301908a7eed0ebc89018dee67432912c34758d99e4be2be730", kill_on_drop: false }`
[INFO] [stdout] 25389e3fca2344301908a7eed0ebc89018dee67432912c34758d99e4be2be730
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1905285b00aa58c15db1e586fc23c77162bcf499d3ad47fc85d73d42e6f7fd77
[INFO] running `Command { std: "docker" "start" "-a" "1905285b00aa58c15db1e586fc23c77162bcf499d3ad47fc85d73d42e6f7fd77", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking zerocopy v0.7.31
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.17
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling openssl v0.10.61
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking futures-io v0.3.29
[INFO] [stderr]     Checking futures-sink v0.3.29
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling thiserror v1.0.51
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking unicode-bidi v0.3.14
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling rust_tokenizers v8.1.1
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.16
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.4
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking keccak v0.1.4
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking base16ct v0.1.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking bf v0.1.0 (https://gitlab.com/jpypi/bf-lang/#5caf12e5)
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking rayon v1.8.0
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling openssl-sys v0.9.97
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.51
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling diesel-derive-enum v1.1.2
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking h2 v0.3.22
[INFO] [stderr]     Checking serde v1.0.193
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking toml_datetime v0.6.5
[INFO] [stderr]     Checking serde_json v1.0.108
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking toml_edit v0.19.15
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.23
[INFO] [stderr]     Checking toml v0.7.8
[INFO] [stderr]     Checking rustix v0.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bot.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn client(&self) -> RwLockWriteGuard<MatrixClient> {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn client(&self) -> RwLockWriteGuard<'_, MatrixClient> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bot.rs:136:24
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_service(&self, name: &str) -> Option<RefMut<Box<dyn Node<'a>>>> {
[INFO] [stdout]     |                        ^^^^^                        ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_service(&self, name: &str) -> Option<RefMut<'_, Box<dyn Node<'a>>>> {
[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/services/karma/models.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` 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/services/karma/models.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                     ^-----------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `HasTable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` 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]  --> src/services/karma/models.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Identifiable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` 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]  --> src/services/karma/models.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                                   ^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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_newvoteable`
[INFO] [stdout] 12 | #[table_name="voteables"]
[INFO] [stdout] 13 | pub struct NewVoteable<'a> {
[INFO] [stdout]    |            ----------- `NewVoteable` 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/services/karma/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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_newvoteable`
[INFO] [stdout] 12 | #[table_name="voteables"]
[INFO] [stdout] 13 | pub struct NewVoteable<'a> {
[INFO] [stdout]    |            ----------- `NewVoteable` 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/services/karma/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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_newvoteable`
[INFO] [stdout] 12 | #[table_name="voteables"]
[INFO] [stdout] 13 | pub struct NewVoteable<'a> {
[INFO] [stdout]    |            ----------- `NewVoteable` 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/services/karma/models.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(AsChangeset)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `AsChangeset` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_as_changeset_for_vote`
[INFO] [stdout] 24 | #[primary_key(user_id, voteable_id)]
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(AsChangeset)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `AsChangeset` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_as_changeset_for_vote`
[INFO] [stdout] 24 | #[primary_key(user_id, voteable_id)]
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_vote`
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` 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]   --> src/services/karma/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_vote`
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` 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]   --> src/services/karma/models.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Queryable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_vote`
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` 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]   --> src/services/karma/models.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[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_newvote`
[INFO] [stdout] 33 | #[table_name="votes"]
[INFO] [stdout] 34 | pub struct NewVote {
[INFO] [stdout]    |            ------- `NewVote` 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/services/karma/models.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[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_newvote`
[INFO] [stdout] 33 | #[table_name="votes"]
[INFO] [stdout] 34 | pub struct NewVote {
[INFO] [stdout]    |            ------- `NewVote` 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/services/karma/models.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[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_newvote`
[INFO] [stdout] 33 | #[table_name="votes"]
[INFO] [stdout] 34 | pub struct NewVote {
[INFO] [stdout]    |            ------- `NewVote` 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/services/quote/models.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, 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_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` 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]  --> src/services/quote/models.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                     ^-----------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `HasTable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` 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]  --> src/services/quote/models.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Identifiable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` 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]  --> src/services/quote/models.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/quote/models.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                                   ^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/quote/models.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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_newquote`
[INFO] [stdout] 13 | #[table_name="quotes"]
[INFO] [stdout] 14 | pub struct NewQuote<'a> {
[INFO] [stdout]    |            -------- `NewQuote` 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/services/quote/models.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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_newquote`
[INFO] [stdout] 13 | #[table_name="quotes"]
[INFO] [stdout] 14 | pub struct NewQuote<'a> {
[INFO] [stdout]    |            -------- `NewQuote` 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/services/quote/models.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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_newquote`
[INFO] [stdout] 13 | #[table_name="quotes"]
[INFO] [stdout] 14 | pub struct NewQuote<'a> {
[INFO] [stdout]    |            -------- `NewQuote` 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/services/factoid/models.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                 ^--------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Queryable` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_queryable_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` 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]   --> src/services/factoid/models.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                            ^--------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `QueryableByName` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this function `_impl_queryable_by_name_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryableByName` 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 `QueryableByName` (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/services/factoid/models.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                             ^-----------
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `HasTable` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this function `_impl_identifiable_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` 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]   --> src/services/factoid/models.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `Identifiable` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this function `_impl_identifiable_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` 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]   --> src/services/factoid/models.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/factoid/models.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                                           ^----------
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/factoid/models.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_newfactoid`
[INFO] [stdout] 38 | #[table_name = "factoids"]
[INFO] [stdout] 39 | pub struct NewFactoid<'a> {
[INFO] [stdout]    |            ---------- `NewFactoid` 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/services/factoid/models.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_newfactoid`
[INFO] [stdout] 38 | #[table_name = "factoids"]
[INFO] [stdout] 39 | pub struct NewFactoid<'a> {
[INFO] [stdout]    |            ---------- `NewFactoid` 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/services/factoid/models.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_newfactoid`
[INFO] [stdout] 38 | #[table_name = "factoids"]
[INFO] [stdout] 39 | pub struct NewFactoid<'a> {
[INFO] [stdout]    |            ---------- `NewFactoid` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bot.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn client(&self) -> RwLockWriteGuard<MatrixClient> {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn client(&self) -> RwLockWriteGuard<'_, MatrixClient> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bot.rs:136:24
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_service(&self, name: &str) -> Option<RefMut<Box<dyn Node<'a>>>> {
[INFO] [stdout]     |                        ^^^^^                        ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn get_service(&self, name: &str) -> Option<RefMut<'_, Box<dyn Node<'a>>>> {
[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/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[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]  --> src/services/karma/models.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` 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/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  6 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` 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_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]  --> src/services/karma/models.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                     ^-----------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `HasTable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` 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]  --> src/services/karma/models.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Identifiable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` 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]  --> src/services/karma/models.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Identifiable, AsChangeset)]
[INFO] [stdout]   |                                   ^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_voteable`
[INFO] [stdout] 4 | pub struct Voteable {
[INFO] [stdout]   |            -------- `Voteable` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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_newvoteable`
[INFO] [stdout] 12 | #[table_name="voteables"]
[INFO] [stdout] 13 | pub struct NewVoteable<'a> {
[INFO] [stdout]    |            ----------- `NewVoteable` 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/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         time -> Timestamp,
[INFO] [stdout]    | |         ---- `time` 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_time`
[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]   --> src/services/karma/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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_newvoteable`
[INFO] [stdout] 12 | #[table_name="voteables"]
[INFO] [stdout] 13 | pub struct NewVoteable<'a> {
[INFO] [stdout]    |            ----------- `NewVoteable` 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/services/karma/models.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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_newvoteable`
[INFO] [stdout] 12 | #[table_name="voteables"]
[INFO] [stdout] 13 | pub struct NewVoteable<'a> {
[INFO] [stdout]    |            ----------- `NewVoteable` 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/services/karma/models.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(AsChangeset)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `AsChangeset` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_as_changeset_for_vote`
[INFO] [stdout] 24 | #[primary_key(user_id, voteable_id)]
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(AsChangeset)]
[INFO] [stdout]    |          ^----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `AsChangeset` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_as_changeset_for_vote`
[INFO] [stdout] 24 | #[primary_key(user_id, voteable_id)]
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/karma/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_vote`
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` 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]   --> src/services/karma/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_vote`
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` 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]   --> src/services/karma/models.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Queryable)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_vote`
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub struct Vote {
[INFO] [stdout]    |            ---- `Vote` 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]   --> src/services/karma/models.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[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_newvote`
[INFO] [stdout] 33 | #[table_name="votes"]
[INFO] [stdout] 34 | pub struct NewVote {
[INFO] [stdout]    |            ------- `NewVote` 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/services/karma/models.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[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_newvote`
[INFO] [stdout] 33 | #[table_name="votes"]
[INFO] [stdout] 34 | pub struct NewVote {
[INFO] [stdout]    |            ------- `NewVote` 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/services/karma/models.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[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_newvote`
[INFO] [stdout] 33 | #[table_name="votes"]
[INFO] [stdout] 34 | pub struct NewVote {
[INFO] [stdout]    |            ------- `NewVote` 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/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` 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_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]  --> src/services/quote/models.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, 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_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` 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]  --> src/services/quote/models.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                     ^-----------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `HasTable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` 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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         pattern -> Text,
[INFO] [stdout]    | |         ------- `pattern` 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_pattern`
[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]  --> src/services/quote/models.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Identifiable` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_identifiable_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` 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]  --> src/services/quote/models.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/quote/models.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Queryable, Identifiable, AsChangeset, Debug, Clone)]
[INFO] [stdout]   |                                   ^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_quote`
[INFO] [stdout] 5 | pub struct Quote {
[INFO] [stdout]   |            ----- `Quote` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/quote/models.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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_newquote`
[INFO] [stdout] 13 | #[table_name="quotes"]
[INFO] [stdout] 14 | pub struct NewQuote<'a> {
[INFO] [stdout]    |            -------- `NewQuote` 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/services/quote/models.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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_newquote`
[INFO] [stdout] 13 | #[table_name="quotes"]
[INFO] [stdout] 14 | pub struct NewQuote<'a> {
[INFO] [stdout]    |            -------- `NewQuote` 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/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | |         kind -> Factoid_kind,
[INFO] [stdout]    | |         ---- `kind` 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_kind`
[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]   --> src/services/quote/models.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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_newquote`
[INFO] [stdout] 13 | #[table_name="quotes"]
[INFO] [stdout] 14 | pub struct NewQuote<'a> {
[INFO] [stdout]    |            -------- `NewQuote` 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/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |         value -> Text,
[INFO] [stdout]    | |         ----- `value` 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_value`
[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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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]   --> src/services/factoid/models.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                 ^--------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Queryable` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this function `_impl_queryable_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` 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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] 19 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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]   --> src/services/factoid/models.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                            ^--------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `QueryableByName` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this function `_impl_queryable_by_name_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryableByName` 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 `QueryableByName` (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/services/factoid/models.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                             ^-----------
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `HasTable` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this function `_impl_identifiable_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` 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]   --> src/services/factoid/models.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `Identifiable` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this function `_impl_identifiable_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` 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]   --> src/services/factoid/models.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                                           ^^^^^^^^^^^
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/factoid/models.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, Queryable, QueryableByName, Identifiable, AsChangeset)]
[INFO] [stdout]    |                                                           ^----------
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           `AsChangeset` is not local
[INFO] [stdout]    |                                                           move the `impl` block outside of this function `_impl_as_changeset_for_factoid`
[INFO] [stdout] 27 | #[table_name = "factoids"]
[INFO] [stdout] 28 | pub struct Factoid {
[INFO] [stdout]    |            ------- `Factoid` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/services/factoid/models.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_newfactoid`
[INFO] [stdout] 38 | #[table_name = "factoids"]
[INFO] [stdout] 39 | pub struct NewFactoid<'a> {
[INFO] [stdout]    |            ---------- `NewFactoid` 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/services/factoid/models.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_newfactoid`
[INFO] [stdout] 38 | #[table_name = "factoids"]
[INFO] [stdout] 39 | pub struct NewFactoid<'a> {
[INFO] [stdout]    |            ---------- `NewFactoid` 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/services/factoid/models.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_newfactoid`
[INFO] [stdout] 38 | #[table_name = "factoids"]
[INFO] [stdout] 39 | pub struct NewFactoid<'a> {
[INFO] [stdout]    |            ---------- `NewFactoid` 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/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] 19 | |         id -> Int4,
[INFO] [stdout] 20 | |         quoter_id -> Int4,
[INFO] [stdout]    | |         --------- `quoter_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_quoter_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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |         time -> Timestamp,
[INFO] [stdout]    | |         ---- `time` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_time`
[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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |         value -> Text,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[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]   --> src/services/db/schema.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / table! {
[INFO] [stdout] 27 | |     use diesel::sql_types::*;
[INFO] [stdout] 28 | |
[INFO] [stdout] 29 | |     users (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | | }
[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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[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]   --> src/services/db/schema.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / table! {
[INFO] [stdout] 27 | |     use diesel::sql_types::*;
[INFO] [stdout] 28 | |
[INFO] [stdout] 29 | |     users (id) {
[INFO] [stdout] 30 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | | }
[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]   --> src/services/db/schema.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / table! {
[INFO] [stdout] 27 | |     use diesel::sql_types::*;
[INFO] [stdout] 28 | |
[INFO] [stdout] 29 | |     users (id) {
[INFO] [stdout] 30 | |         id -> Int4,
[INFO] [stdout] 31 | |         user_id -> Text,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] 32 | |     }
[INFO] [stdout] 33 | | }
[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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  6 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` 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_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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         time -> Timestamp,
[INFO] [stdout]    | |         ---- `time` 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_time`
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` 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_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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] 39 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         pattern -> Text,
[INFO] [stdout]    | |         ------- `pattern` 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_pattern`
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] 39 | |         id -> Int4,
[INFO] [stdout] 40 | |         value -> Varchar,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | |         kind -> Factoid_kind,
[INFO] [stdout]    | |         ---- `kind` 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_kind`
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 41 | |         total_up -> Int4,
[INFO] [stdout]    | |         -------- `total_up` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_up`
[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]   --> src/services/db/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::services::factoid::models::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |         value -> Text,
[INFO] [stdout]    | |         ----- `value` 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_value`
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         total_down -> Int4,
[INFO] [stdout]    | |         ---------- `total_down` is not local
[INFO] [stdout] 43 | |     }
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_down`
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] 50 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] 19 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] 19 | |         id -> Int4,
[INFO] [stdout] 20 | |         quoter_id -> Int4,
[INFO] [stdout]    | |         --------- `quoter_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_quoter_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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] 50 | |         user_id -> Int4,
[INFO] [stdout] 51 | |         voteable_id -> Int4,
[INFO] [stdout]    | |         ----------- `voteable_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_voteable_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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |         time -> Timestamp,
[INFO] [stdout]    | |         ---- `time` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_time`
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |         up -> Int4,
[INFO] [stdout]    | |         -- `up` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_up`
[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]   --> src/services/db/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     use diesel::sql_types::*;
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |     quotes (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |         value -> Text,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[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]   --> src/services/db/schema.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / table! {
[INFO] [stdout] 27 | |     use diesel::sql_types::*;
[INFO] [stdout] 28 | |
[INFO] [stdout] 29 | |     users (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | | }
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |         down -> Int4,
[INFO] [stdout]    | |         ---- `down` is not local
[INFO] [stdout] 54 | |     }
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_down`
[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]  --> src/services/db/user.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Identifiable, 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_user`
[INFO] [stdout] 7 | 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: 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/services/db/user.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Identifiable, Debug, Clone)]
[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] 7 | 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]  --> src/services/db/user.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Identifiable, Debug, Clone)]
[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] 7 | 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]   --> src/services/db/schema.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / table! {
[INFO] [stdout] 27 | |     use diesel::sql_types::*;
[INFO] [stdout] 28 | |
[INFO] [stdout] 29 | |     users (id) {
[INFO] [stdout] 30 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | | }
[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]   --> src/services/db/user.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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] 13 | #[table_name = "users"]
[INFO] [stdout] 14 | pub struct NewUser<'a> {
[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]   --> src/services/db/user.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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] 13 | #[table_name = "users"]
[INFO] [stdout] 14 | pub struct NewUser<'a> {
[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]   --> src/services/db/user.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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] 13 | #[table_name = "users"]
[INFO] [stdout] 14 | pub struct NewUser<'a> {
[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]   --> src/services/db/schema.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / table! {
[INFO] [stdout] 27 | |     use diesel::sql_types::*;
[INFO] [stdout] 28 | |
[INFO] [stdout] 29 | |     users (id) {
[INFO] [stdout] 30 | |         id -> Int4,
[INFO] [stdout] 31 | |         user_id -> Text,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] 32 | |     }
[INFO] [stdout] 33 | | }
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] 39 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] 39 | |         id -> Int4,
[INFO] [stdout] 40 | |         value -> Varchar,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 41 | |         total_up -> Int4,
[INFO] [stdout]    | |         -------- `total_up` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_up`
[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]   --> src/services/db/schema.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | / table! {
[INFO] [stdout] 36 | |     use diesel::sql_types::*;
[INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |     voteables (id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         total_down -> Int4,
[INFO] [stdout]    | |         ---------- `total_down` is not local
[INFO] [stdout] 43 | |     }
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_total_down`
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] 50 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] 50 | |         user_id -> Int4,
[INFO] [stdout] 51 | |         voteable_id -> Int4,
[INFO] [stdout]    | |         ----------- `voteable_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_voteable_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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |         up -> Int4,
[INFO] [stdout]    | |         -- `up` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_up`
[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]   --> src/services/db/schema.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / table! {
[INFO] [stdout] 47 | |     use diesel::sql_types::*;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     votes (user_id, voteable_id) {
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |         down -> Int4,
[INFO] [stdout]    | |         ---- `down` is not local
[INFO] [stdout] 54 | |     }
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_down`
[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]  --> src/services/db/user.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Identifiable, 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_user`
[INFO] [stdout] 7 | 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: 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/services/db/user.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Identifiable, Debug, Clone)]
[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] 7 | 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]  --> src/services/db/user.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Queryable, Identifiable, Debug, Clone)]
[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] 7 | 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]   --> src/services/db/user.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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] 13 | #[table_name = "users"]
[INFO] [stdout] 14 | pub struct NewUser<'a> {
[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]   --> src/services/db/user.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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] 13 | #[table_name = "users"]
[INFO] [stdout] 14 | pub struct NewUser<'a> {
[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]   --> src/services/db/user.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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] 13 | #[table_name = "users"]
[INFO] [stdout] 14 | pub struct NewUser<'a> {
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.27s
[INFO] running `Command { std: "docker" "inspect" "1905285b00aa58c15db1e586fc23c77162bcf499d3ad47fc85d73d42e6f7fd77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1905285b00aa58c15db1e586fc23c77162bcf499d3ad47fc85d73d42e6f7fd77", kill_on_drop: false }`
[INFO] [stdout] 1905285b00aa58c15db1e586fc23c77162bcf499d3ad47fc85d73d42e6f7fd77
