[INFO] cloning repository https://github.com/wesley-schrauwen/backend-linker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wesley-schrauwen/backend-linker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-schrauwen%2Fbackend-linker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-schrauwen%2Fbackend-linker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 151812ead6a5d3421ffbf8c27b72aaeaa4a772a1
[INFO] checking wesley-schrauwen/backend-linker against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-schrauwen%2Fbackend-linker" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wesley-schrauwen/backend-linker
[INFO] finished tweaking git repo https://github.com/wesley-schrauwen/backend-linker
[INFO] tweaked toml for git repo https://github.com/wesley-schrauwen/backend-linker written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wesley-schrauwen/backend-linker 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/wesley-schrauwen/backend-linker 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] warning: unused manifest key: build
[INFO] [stderr] help: build is a valid .cargo/config.toml key
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded semver v1.0.7
[INFO] [stderr]   Downloaded migrations_internals v1.4.1
[INFO] [stderr]   Downloaded num_threads v0.1.5
[INFO] [stderr]   Downloaded migrations_macros v1.4.2
[INFO] [stderr]   Downloaded tracing-core v0.1.24
[INFO] [stderr]   Downloaded time v0.3.9
[INFO] [stderr]   Downloaded parking_lot_core v0.9.2
[INFO] [stderr]   Downloaded tracing v0.1.33
[INFO] [stderr]   Downloaded actix-http v3.0.4
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] [stderr]   Downloaded libc v0.2.122
[INFO] [stderr]   Downloaded windows-sys v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 862348d04df440be863508984790a56ab3d0169e30e16e5884ded053ee70bf0c
[INFO] running `Command { std: "docker" "start" "-a" "862348d04df440be863508984790a56ab3d0169e30e16e5884ded053ee70bf0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "862348d04df440be863508984790a56ab3d0169e30e16e5884ded053ee70bf0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "862348d04df440be863508984790a56ab3d0169e30e16e5884ded053ee70bf0c", kill_on_drop: false }`
[INFO] [stdout] 862348d04df440be863508984790a56ab3d0169e30e16e5884ded053ee70bf0c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38e6ace6ef63e7e983e94ec1079c135d45d1074b08a550d3ed4bea03984d5612
[INFO] running `Command { std: "docker" "start" "-a" "38e6ace6ef63e7e983e94ec1079c135d45d1074b08a550d3ed4bea03984d5612", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: build
[INFO] [stderr] help: build is a valid .cargo/config.toml key
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking tracing-core v0.1.24
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling zstd-safe v4.1.4+zstd.1.5.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]     Checking local-waker v0.1.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking bytestring v1.0.0
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling firestorm v0.5.0
[INFO] [stderr]     Checking num_threads v0.1.5
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.5
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking r2d2 v0.8.9
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking time v0.3.9
[INFO] [stderr]    Compiling zstd-sys v1.6.3+zstd.1.5.2
[INFO] [stderr]     Checking local-channel v0.1.2
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-web-codegen v4.0.0
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking tracing v0.1.33
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]    Compiling diesel v1.4.8
[INFO] [stderr]    Compiling migrations_internals v1.4.1
[INFO] [stderr]    Compiling migrations_macros v1.4.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking uuid v0.6.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.79
[INFO] [stderr]     Checking zstd v0.10.0+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.0.4
[INFO] [stderr]     Checking actix-web v4.0.1
[INFO] [stderr]     Checking diesel_migrations v1.4.0
[INFO] [stderr]     Checking backend-linker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `routes::init_routes`
[INFO] [stdout]  --> src/users/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use routes::init_routes;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage` and `Responder`
[INFO] [stdout]  --> src/links/routes.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{HttpResponse, Responder, web, get, post, put, delete, HttpMessage};
[INFO] [stdout]   |                               ^^^^^^^^^                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/links/routes.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpResponse`
[INFO] [stdout]  --> src/links/model.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{HttpResponse, web};
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::dsl::Nullable`
[INFO] [stdout]  --> src/links/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use diesel::dsl::Nullable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Timestamptz`
[INFO] [stdout]  --> src/links/model.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::sql_types::{Timestamptz};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serializer`
[INFO] [stdout]  --> src/links/model.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Serializer, Deserialize};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::types::Bool`
[INFO] [stdout]   --> src/links/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::types::Bool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UuidVersion`
[INFO] [stdout]   --> src/links/model.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use uuid::{Uuid, UuidVersion};
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::body::BoxBody`
[INFO] [stdout]  --> src/errors.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::body::BoxBody;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `diesel::types::Bool`: Use `sql_types::Bool` instead
[INFO] [stdout]   --> src/links/model.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::types::Bool;
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `routes::init_routes`
[INFO] [stdout]  --> src/users/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use routes::init_routes;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage` and `Responder`
[INFO] [stdout]  --> src/links/routes.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{HttpResponse, Responder, web, get, post, put, delete, HttpMessage};
[INFO] [stdout]   |                               ^^^^^^^^^                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/links/routes.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpResponse`
[INFO] [stdout]  --> src/links/model.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{HttpResponse, web};
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::dsl::Nullable`
[INFO] [stdout]  --> src/links/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use diesel::dsl::Nullable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Timestamptz`
[INFO] [stdout]  --> src/links/model.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::sql_types::{Timestamptz};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serializer`
[INFO] [stdout]  --> src/links/model.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Serializer, Deserialize};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::types::Bool`
[INFO] [stdout]   --> src/links/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::types::Bool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UuidVersion`
[INFO] [stdout]   --> src/links/model.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use uuid::{Uuid, UuidVersion};
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::body::BoxBody`
[INFO] [stdout]  --> src/errors.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::body::BoxBody;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `diesel::types::Bool`: Use `sql_types::Bool` instead
[INFO] [stdout]   --> src/links/model.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::types::Bool;
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/links/model.rs:43:26
[INFO] [stdout]    |
[INFO] [stdout] 43 |         ).await.map_err(|e| {
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/links/model.rs:66:27
[INFO] [stdout]    |
[INFO] [stdout] 66 |         }).await.map_err(|e| {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/links/model.rs:87:26
[INFO] [stdout]    |
[INFO] [stdout] 87 |         ).await.map_err(|e| {
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/links/model.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |         ).await.map_err(|e| {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_routes` is never used
[INFO] [stdout]  --> src/users/routes.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn init_routes(config: &mut web::ServiceConfig) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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/links/model.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, Insertable)]
[INFO] [stdout]    |                                  ^--------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `Queryable` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_queryable_for_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, 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_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, 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_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, 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_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Deserialize, 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_updatelinkpayload`
[INFO] [stdout] 31 | #[table_name = "links"]
[INFO] [stdout] 32 | pub struct UpdateLinkPayload {
[INFO] [stdout]    |            ----------------- `UpdateLinkPayload` 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/links/model.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Deserialize, 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_updatelinkpayload`
[INFO] [stdout] 31 | #[table_name = "links"]
[INFO] [stdout] 32 | pub struct UpdateLinkPayload {
[INFO] [stdout]    |            ----------------- `UpdateLinkPayload` 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: variable `dieselError` should have a snake case name
[INFO] [stdout]   --> src/errors.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             dieselError => ApiError::new(500, format!("Diesel error: {}", dieselError))
[INFO] [stdout]    |             ^^^^^^^^^^^ help: convert the identifier to snake case: `diesel_error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout]  5 | |         target_url -> Text,
[INFO] [stdout]    | |         ---------- `target_url` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_target_url`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout]  5 | |         target_url -> Text,
[INFO] [stdout]  6 | |         shortened_url -> Text,
[INFO] [stdout]    | |         ------------- `shortened_url` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_shortened_url`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         created_at -> Timestamptz,
[INFO] [stdout]    | |         ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         deleted_at -> Nullable<Timestamp>,
[INFO] [stdout]    | |         ---------- `deleted_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_deleted_at`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         version -> Int4,
[INFO] [stdout]    | |         ------- `version` is not local
[INFO] [stdout] 10 | |     }
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_version`
[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: unused variable: `e`
[INFO] [stdout]   --> src/links/model.rs:43:26
[INFO] [stdout]    |
[INFO] [stdout] 43 |         ).await.map_err(|e| {
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/links/model.rs:66:27
[INFO] [stdout]    |
[INFO] [stdout] 66 |         }).await.map_err(|e| {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/links/model.rs:87:26
[INFO] [stdout]    |
[INFO] [stdout] 87 |         ).await.map_err(|e| {
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/links/model.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |         ).await.map_err(|e| {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_routes` is never used
[INFO] [stdout]  --> src/users/routes.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn init_routes(config: &mut web::ServiceConfig) {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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/links/model.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, Insertable)]
[INFO] [stdout]    |                                  ^--------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `Queryable` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_queryable_for_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, 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_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, 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_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Queryable, 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_link`
[INFO] [stdout] 14 | pub struct Link {
[INFO] [stdout]    |            ---- `Link` 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/links/model.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Deserialize, 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_updatelinkpayload`
[INFO] [stdout] 31 | #[table_name = "links"]
[INFO] [stdout] 32 | pub struct UpdateLinkPayload {
[INFO] [stdout]    |            ----------------- `UpdateLinkPayload` 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/links/model.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Deserialize, 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_updatelinkpayload`
[INFO] [stdout] 31 | #[table_name = "links"]
[INFO] [stdout] 32 | pub struct UpdateLinkPayload {
[INFO] [stdout]    |            ----------------- `UpdateLinkPayload` 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: variable `dieselError` should have a snake case name
[INFO] [stdout]   --> src/errors.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             dieselError => ApiError::new(500, format!("Diesel error: {}", dieselError))
[INFO] [stdout]    |             ^^^^^^^^^^^ help: convert the identifier to snake case: `diesel_error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout]  5 | |         target_url -> Text,
[INFO] [stdout]    | |         ---------- `target_url` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_target_url`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout]  5 | |         target_url -> Text,
[INFO] [stdout]  6 | |         shortened_url -> Text,
[INFO] [stdout]    | |         ------------- `shortened_url` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_shortened_url`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         created_at -> Timestamptz,
[INFO] [stdout]    | |         ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         deleted_at -> Nullable<Timestamp>,
[INFO] [stdout]    | |         ---------- `deleted_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_deleted_at`
[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/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     links (id) {
[INFO] [stdout]  3 | |         id -> Uuid,
[INFO] [stdout]  4 | |         name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         version -> Int4,
[INFO] [stdout]    | |         ------- `version` is not local
[INFO] [stdout] 10 | |     }
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_version`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "38e6ace6ef63e7e983e94ec1079c135d45d1074b08a550d3ed4bea03984d5612", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38e6ace6ef63e7e983e94ec1079c135d45d1074b08a550d3ed4bea03984d5612", kill_on_drop: false }`
[INFO] [stdout] 38e6ace6ef63e7e983e94ec1079c135d45d1074b08a550d3ed4bea03984d5612
