[INFO] cloning repository https://github.com/leijianxiong/learn-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leijianxiong/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleijianxiong%2Flearn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleijianxiong%2Flearn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 160043c17e8e13bbefddbaae5dcf233156971442
[INFO] checking leijianxiong/learn-rust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleijianxiong%2Flearn-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/leijianxiong/learn-rust
[INFO] finished tweaking git repo https://github.com/leijianxiong/learn-rust
[INFO] tweaked toml for git repo https://github.com/leijianxiong/learn-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leijianxiong/learn-rust 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/leijianxiong/learn-rust 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: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mysqlclient-sys v0.2.5
[INFO] [stderr]   Downloaded mio v0.8.7
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b9960e62cfdebf7bc07b8a7e0e1a19665f4441e61b0e1a4ae1795cee6853191e
[INFO] running `Command { std: "docker" "start" "-a" "b9960e62cfdebf7bc07b8a7e0e1a19665f4441e61b0e1a4ae1795cee6853191e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9960e62cfdebf7bc07b8a7e0e1a19665f4441e61b0e1a4ae1795cee6853191e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9960e62cfdebf7bc07b8a7e0e1a19665f4441e61b0e1a4ae1795cee6853191e", kill_on_drop: false }`
[INFO] [stdout] b9960e62cfdebf7bc07b8a7e0e1a19665f4441e61b0e1a4ae1795cee6853191e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c21818e227a767c533699a0b483899482cd8a6a8fadfa7bbd1f950fa4c728c2b
[INFO] running `Command { std: "docker" "start" "-a" "c21818e227a767c533699a0b483899482cd8a6a8fadfa7bbd1f950fa4c728c2b", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking regex-syntax v0.7.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking aho-corasick v1.0.1
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling serde v1.0.163
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]     Checking os_str_bytes v6.5.0
[INFO] [stderr]    Compiling mysqlclient-sys v0.2.5
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking mio v0.8.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking unsafe-libyaml v0.2.8
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking classes_02 v0.1.0 (/opt/rustwide/workdir/01_chentian_geektime/02_classes)
[INFO] [stdout] warning: variants `Circle` and `Triangle` are never constructed
[INFO] [stdout]   --> 01_chentian_geektime/02_classes/src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum Shape {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 15 |     Rectangle(Rectangle),
[INFO] [stdout] 16 |     Circle(Circle),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     Triangle(Triangle),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Circle` and `Triangle` are never constructed
[INFO] [stdout]   --> 01_chentian_geektime/02_classes/src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum Shape {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 15 |     Rectangle(Rectangle),
[INFO] [stdout] 16 |     Circle(Circle),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     Triangle(Triangle),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking regex v1.8.3
[INFO] [stderr]     Checking codewars v0.1.0 (/opt/rustwide/workdir/codewars)
[INFO] [stdout] warning: function `unique_in_order2` is never used
[INFO] [stdout]  --> codewars/src/unique_in_order.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn unique_in_order2<T>(sequence: T) -> Vec<T::Item>
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> codewars/src/unique_in_order.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[warn(dead_code)]
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> codewars/bin/gen_weibo_expire.rs:340:10
[INFO] [stdout]     |
[INFO] [stdout] 340 |     for (i, mut line) in conf.split("\n").into_iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> codewars/bin/gen_weibo_expire.rs:340:10
[INFO] [stdout]     |
[INFO] [stdout] 340 |     for (i, mut line) in conf.split("\n").into_iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.163
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling clap_derive v3.2.25
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking serde_yaml v0.9.21
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking basic v0.1.0 (/opt/rustwide/workdir/basic)
[INFO] [stdout] warning: unused macro definition: `compare`
[INFO] [stdout]   --> basic/src/bin/codewars_solution_03.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | macro_rules! compare {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rgb` is never used
[INFO] [stdout]  --> basic/src/bin/codewars_solution_03.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn rgb(r: i32, g: i32, b: i32) -> String {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `divs` is never used
[INFO] [stdout]  --> basic/src/bin/test_div.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn divs(n: i32) -> Result<Vec<i32>, String> {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `List` is never constructed
[INFO] [stdout]  --> basic/src/bin/class14_think03.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct List<T>(LinkedList<T>);
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sudoku` is never constructed
[INFO] [stdout]  --> basic/src/bin/codewars_solution_02.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Sudoku {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_valid` is never used
[INFO] [stdout]   --> basic/src/bin/codewars_solution_02.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Sudoku {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn is_valid(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]   --> basic/src/bin/test_trait_like_controller_action.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct GetUserResp{
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 37 |     id: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 38 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GetUserResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> basic/src/bin/test_api_rest.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> basic/src/bin/test_trait_like_abstruct_class.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct User {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 26 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `blog` is never read
[INFO] [stdout]   --> basic/src/bin/test_trait_like_abstruct_class.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Article {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 38 |     blog: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Article` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> basic/src/bin/test_api_rest.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct User {
[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]   --> basic/src/bin/test_api_rest.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[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_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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: `#[warn(non_local_definitions)]` on by default
[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]   --> basic/src/bin/test_api_rest.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[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_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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]   --> basic/src/bin/test_api_rest.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[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_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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]   --> basic/src/bin/test_api_rest.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[INFO] [stdout]    |                      ^--------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Queryable` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_queryable_for_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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]   --> basic/src/bin/test_api_rest.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, 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_userform`
[INFO] [stdout] 68 | #[table_name = "users"]
[INFO] [stdout] 69 | pub struct UserForm<'a> {
[INFO] [stdout]    |            -------- `UserForm` 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]   --> basic/src/bin/test_api_rest.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, 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_userform`
[INFO] [stdout] 68 | #[table_name = "users"]
[INFO] [stdout] 69 | pub struct UserForm<'a> {
[INFO] [stdout]    |            -------- `UserForm` 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]   --> basic/src/bin/test_api_rest.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, 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_userform`
[INFO] [stdout] 68 | #[table_name = "users"]
[INFO] [stdout] 69 | pub struct UserForm<'a> {
[INFO] [stdout]    |            -------- `UserForm` 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]   --> basic/src/bin/test_api_rest.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Queryable, PartialEq, Debug)]
[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] 75 | 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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout]    | |             -- `id` is not local
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[INFO] [stdout]    | |             ----- `gh_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_gh_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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[INFO] [stdout] 26 | |             // date -> Date,
[INFO] [stdout] 27 | |             title -> Text,
[INFO] [stdout]    | |             ----- `title` 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_title`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |             pict_url -> Varchar,
[INFO] [stdout]    | |             -------- `pict_url` 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_pict_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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout]    | |             -- `id` is not local
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout]    | |             ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] 38 | |             hair_color -> Nullable<Text>,
[INFO] [stdout]    | |             ---------- `hair_color` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____`QueryId` is not local
[INFO] [stdout]    |       move the `impl` block outside of this function `_impl_query_id_for_hair_color`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] 38 | |             hair_color -> Nullable<Text>,
[INFO] [stdout] 39 | |             created_at -> Timestamp,
[INFO] [stdout]    | |             ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |             updated_at -> Timestamp,
[INFO] [stdout]    | |             ---------- `updated_at` is not local
[INFO] [stdout] 41 | |         }
[INFO] [stdout] 42 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____`QueryId` is not local
[INFO] [stdout]    |       move the `impl` block outside of this function `_impl_query_id_for_updated_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: field `name` is never read
[INFO] [stdout]   --> basic/src/bin/test_trait_like_abstruct_class.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct User {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 26 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `blog` is never read
[INFO] [stdout]   --> basic/src/bin/test_trait_like_abstruct_class.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Article {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 38 |     blog: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Article` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]   --> basic/src/bin/test_trait_like_controller_action.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct GetUserResp{
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 37 |     id: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 38 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GetUserResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> basic/src/bin/test_api_rest.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct User {
[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]   --> basic/src/bin/test_api_rest.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[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_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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: `#[warn(non_local_definitions)]` on by default
[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]   --> basic/src/bin/test_api_rest.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[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_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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]   --> basic/src/bin/test_api_rest.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[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_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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]   --> basic/src/bin/test_api_rest.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Insertable, Queryable, Default)]
[INFO] [stdout]    |                      ^--------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Queryable` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_queryable_for_itempublish`
[INFO] [stdout] 53 | #[table_name = "xs_item_publish"]
[INFO] [stdout] 54 | struct ItemPublish {
[INFO] [stdout]    |        ----------- `ItemPublish` 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]   --> basic/src/bin/test_api_rest.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, 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_userform`
[INFO] [stdout] 68 | #[table_name = "users"]
[INFO] [stdout] 69 | pub struct UserForm<'a> {
[INFO] [stdout]    |            -------- `UserForm` 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]   --> basic/src/bin/test_api_rest.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, 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_userform`
[INFO] [stdout] 68 | #[table_name = "users"]
[INFO] [stdout] 69 | pub struct UserForm<'a> {
[INFO] [stdout]    |            -------- `UserForm` 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]   --> basic/src/bin/test_api_rest.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 | #[derive(Deserialize, 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_userform`
[INFO] [stdout] 68 | #[table_name = "users"]
[INFO] [stdout] 69 | pub struct UserForm<'a> {
[INFO] [stdout]    |            -------- `UserForm` 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]   --> basic/src/bin/test_api_rest.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Queryable, PartialEq, Debug)]
[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] 75 | 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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout]    | |             -- `id` is not local
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[INFO] [stdout]    | |             ----- `gh_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_gh_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]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[INFO] [stdout] 26 | |             // date -> Date,
[INFO] [stdout] 27 | |             title -> Text,
[INFO] [stdout]    | |             ----- `title` 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_title`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> basic/src/bin/test_api_rest.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     table! {
[INFO] [stdout] 23 | |         xs_item_publish {
[INFO] [stdout] 24 | |             id -> Bigint,
[INFO] [stdout] 25 | |             gh_id -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |             pict_url -> Varchar,
[INFO] [stdout]    | |             -------- `pict_url` 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_pict_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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout]    | |             -- `id` is not local
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout]    | |             ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] 38 | |             hair_color -> Nullable<Text>,
[INFO] [stdout]    | |             ---------- `hair_color` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____`QueryId` is not local
[INFO] [stdout]    |       move the `impl` block outside of this function `_impl_query_id_for_hair_color`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] 38 | |             hair_color -> Nullable<Text>,
[INFO] [stdout] 39 | |             created_at -> Timestamp,
[INFO] [stdout]    | |             ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     }
[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]   --> basic/src/bin/test_api_rest.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     table! {
[INFO] [stdout] 35 | |         users {
[INFO] [stdout] 36 | |             id -> Integer,
[INFO] [stdout] 37 | |             name -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |             updated_at -> Timestamp,
[INFO] [stdout]    | |             ---------- `updated_at` is not local
[INFO] [stdout] 41 | |         }
[INFO] [stdout] 42 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____`QueryId` is not local
[INFO] [stdout]    |       move the `impl` block outside of this function `_impl_query_id_for_updated_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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.96s
[INFO] running `Command { std: "docker" "inspect" "c21818e227a767c533699a0b483899482cd8a6a8fadfa7bbd1f950fa4c728c2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c21818e227a767c533699a0b483899482cd8a6a8fadfa7bbd1f950fa4c728c2b", kill_on_drop: false }`
[INFO] [stdout] c21818e227a767c533699a0b483899482cd8a6a8fadfa7bbd1f950fa4c728c2b
