[INFO] fetching crate fulgurobot_db 0.4.5...
[INFO] checking fulgurobot_db-0.4.5 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate fulgurobot_db 0.4.5 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate fulgurobot_db 0.4.5 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fulgurobot_db 0.4.5
[INFO] finished tweaking crates.io crate fulgurobot_db 0.4.5
[INFO] tweaked toml for crates.io crate fulgurobot_db 0.4.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 39 packages to latest compatible versions
[INFO] [stderr]       Adding diesel v1.4.8 (available: v2.2.5)
[INFO] [stderr]       Adding dotenv v0.14.1 (available: v0.15.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 133b42b3e50622c7e0e125fd5b60ebc26d35b525eec782ed77bd055e92220865
[INFO] running `Command { std: "docker" "start" "-a" "133b42b3e50622c7e0e125fd5b60ebc26d35b525eec782ed77bd055e92220865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "133b42b3e50622c7e0e125fd5b60ebc26d35b525eec782ed77bd055e92220865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "133b42b3e50622c7e0e125fd5b60ebc26d35b525eec782ed77bd055e92220865", kill_on_drop: false }`
[INFO] [stdout] 133b42b3e50622c7e0e125fd5b60ebc26d35b525eec782ed77bd055e92220865
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5645fdffb5f285d0695368e9a2495ae583a6bae267b7198a9006459b5c2b67f
[INFO] running `Command { std: "docker" "start" "-a" "e5645fdffb5f285d0695368e9a2495ae583a6bae267b7198a9006459b5c2b67f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.2
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking dotenv v0.14.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking fulgurobot_db v0.4.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Insertable, AsChangeset)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_bets`
[INFO] [stdout] 6 | #[table_name= "bets"]
[INFO] [stdout] 7 | pub struct Bets {
[INFO] [stdout]   |            ---- `Bets` 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/models.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Insertable, AsChangeset)]
[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_bets`
[INFO] [stdout] 6 | #[table_name= "bets"]
[INFO] [stdout] 7 | pub struct Bets {
[INFO] [stdout]   |            ---- `Bets` 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/models.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Insertable, AsChangeset)]
[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_bets`
[INFO] [stdout] 6 | #[table_name= "bets"]
[INFO] [stdout] 7 | pub struct Bets {
[INFO] [stdout]   |            ---- `Bets` 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/models.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Insertable, AsChangeset)]
[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_bets`
[INFO] [stdout] 6 | #[table_name= "bets"]
[INFO] [stdout] 7 | pub struct Bets {
[INFO] [stdout]   |            ---- `Bets` 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/models.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Insertable, 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_bets`
[INFO] [stdout] 6 | #[table_name= "bets"]
[INFO] [stdout] 7 | pub struct Bets {
[INFO] [stdout]   |            ---- `Bets` 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/models.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Queryable, Insertable, 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_bets`
[INFO] [stdout] 6 | #[table_name= "bets"]
[INFO] [stdout] 7 | pub struct Bets {
[INFO] [stdout]   |            ---- `Bets` 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/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(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_game`
[INFO] [stdout] 16 | #[table_name = "game"]
[INFO] [stdout] 17 | pub struct Game {
[INFO] [stdout]    |            ---- `Game` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(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_game`
[INFO] [stdout] 16 | #[table_name = "game"]
[INFO] [stdout] 17 | pub struct Game {
[INFO] [stdout]    |            ---- `Game` 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/models.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(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_game`
[INFO] [stdout] 16 | #[table_name = "game"]
[INFO] [stdout] 17 | pub struct Game {
[INFO] [stdout]    |            ---- `Game` 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/models.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(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_game`
[INFO] [stdout] 16 | #[table_name = "game"]
[INFO] [stdout] 17 | pub struct Game {
[INFO] [stdout]    |            ---- `Game` 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/models.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, PartialEq, Queryable, QueryableByName, Insertable)]
[INFO] [stdout]    |                            ^--------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Queryable` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this function `_impl_queryable_for_users`
[INFO] [stdout] 25 | #[table_name = "users"]
[INFO] [stdout] 26 | pub struct Users {
[INFO] [stdout]    |            ----- `Users` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:24:39
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, PartialEq, Queryable, QueryableByName, Insertable)]
[INFO] [stdout]    |                                       ^--------------
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       `QueryableByName` is not local
[INFO] [stdout]    |                                       move the `impl` block outside of this function `_impl_queryable_by_name_for_users`
[INFO] [stdout] 25 | #[table_name = "users"]
[INFO] [stdout] 26 | pub struct Users {
[INFO] [stdout]    |            ----- `Users` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:24:56
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, PartialEq, Queryable, QueryableByName, 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_users`
[INFO] [stdout] 25 | #[table_name = "users"]
[INFO] [stdout] 26 | pub struct Users {
[INFO] [stdout]    |            ----- `Users` 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/models.rs:24:56
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, PartialEq, Queryable, QueryableByName, 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_users`
[INFO] [stdout] 25 | #[table_name = "users"]
[INFO] [stdout] 26 | pub struct Users {
[INFO] [stdout]    |            ----- `Users` 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/models.rs:24:56
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, PartialEq, Queryable, QueryableByName, 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_users`
[INFO] [stdout] 25 | #[table_name = "users"]
[INFO] [stdout] 26 | pub struct Users {
[INFO] [stdout]    |            ----- `Users` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     bets (user_id, black, white) {
[INFO] [stdout] 3 | |         user_id -> Text,
[INFO] [stdout] 4 | |         black -> Text,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | |     }
[INFO] [stdout] 9 | | }
[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 | |     bets (user_id, black, white) {
[INFO] [stdout] 3 | |         user_id -> Text,
[INFO] [stdout]   | |         ------- `user_id` is not local
[INFO] [stdout] 4 | |         black -> Text,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | |     }
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_user_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     bets (user_id, black, white) {
[INFO] [stdout] 3 | |         user_id -> Text,
[INFO] [stdout] 4 | |         black -> Text,
[INFO] [stdout]   | |         ----- `black` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | |     }
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_black`
[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 | |     bets (user_id, black, white) {
[INFO] [stdout] 3 | |         user_id -> Text,
[INFO] [stdout] 4 | |         black -> Text,
[INFO] [stdout] 5 | |         white -> Text,
[INFO] [stdout]   | |         ----- `white` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | |     }
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_white`
[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 | |     bets (user_id, black, white) {
[INFO] [stdout] 3 | |         user_id -> Text,
[INFO] [stdout] 4 | |         black -> Text,
[INFO] [stdout] 5 | |         white -> Text,
[INFO] [stdout] 6 | |         bet -> Integer,
[INFO] [stdout]   | |         --- `bet` is not local
[INFO] [stdout] 7 | |         color -> Text,
[INFO] [stdout] 8 | |     }
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_bet`
[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 | |     bets (user_id, black, white) {
[INFO] [stdout] 3 | |         user_id -> Text,
[INFO] [stdout] 4 | |         black -> Text,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |         color -> Text,
[INFO] [stdout]   | |         ----- `color` is not local
[INFO] [stdout] 8 | |     }
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_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]   --> src/schema.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     game (black, white) {
[INFO] [stdout] 13 | |         black -> Text,
[INFO] [stdout] 14 | |         white -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |     }
[INFO] [stdout] 18 | | }
[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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     game (black, white) {
[INFO] [stdout] 13 | |         black -> Text,
[INFO] [stdout]    | |         ----- `black` is not local
[INFO] [stdout] 14 | |         white -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |     }
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_black`
[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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     game (black, white) {
[INFO] [stdout] 13 | |         black -> Text,
[INFO] [stdout] 14 | |         white -> Text,
[INFO] [stdout]    | |         ----- `white` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |     }
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_white`
[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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     game (black, white) {
[INFO] [stdout] 13 | |         black -> Text,
[INFO] [stdout] 14 | |         white -> Text,
[INFO] [stdout] 15 | |         black_bet -> Integer,
[INFO] [stdout]    | |         --------- `black_bet` is not local
[INFO] [stdout] 16 | |         white_bet -> Integer,
[INFO] [stdout] 17 | |     }
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_black_bet`
[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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     game (black, white) {
[INFO] [stdout] 13 | |         black -> Text,
[INFO] [stdout] 14 | |         white -> Text,
[INFO] [stdout] 15 | |         black_bet -> Integer,
[INFO] [stdout] 16 | |         white_bet -> Integer,
[INFO] [stdout]    | |         --------- `white_bet` is not local
[INFO] [stdout] 17 | |     }
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_white_bet`
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / table! {
[INFO] [stdout] 21 | |     users (id) {
[INFO] [stdout] 22 | |         id -> Text,
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout] 24 | |         nb_coq -> Integer,
[INFO] [stdout] 25 | |     }
[INFO] [stdout] 26 | | }
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / table! {
[INFO] [stdout] 21 | |     users (id) {
[INFO] [stdout] 22 | |         id -> Text,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout] 24 | |         nb_coq -> Integer,
[INFO] [stdout] 25 | |     }
[INFO] [stdout] 26 | | }
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / table! {
[INFO] [stdout] 21 | |     users (id) {
[INFO] [stdout] 22 | |         id -> Text,
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] 24 | |         nb_coq -> Integer,
[INFO] [stdout] 25 | |     }
[INFO] [stdout] 26 | | }
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / table! {
[INFO] [stdout] 21 | |     users (id) {
[INFO] [stdout] 22 | |         id -> Text,
[INFO] [stdout] 23 | |         name -> Text,
[INFO] [stdout] 24 | |         nb_coq -> Integer,
[INFO] [stdout]    | |         ------ `nb_coq` is not local
[INFO] [stdout] 25 | |     }
[INFO] [stdout] 26 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_nb_coq`
[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] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:227:17
[INFO] [stdout]     |
[INFO] [stdout] 227 |     create_user(0, "Romain Fecher".to_string(), &conn);
[INFO] [stdout]     |     ----------- ^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |     |           |
[INFO] [stdout]     |     |           expected `String`, found integer
[INFO] [stdout]     |     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:37:8
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub fn create_user(id: String, name: String, conn: &SqliteConnection) {
[INFO] [stdout]     |        ^^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |     add_bet(0, "gne".to_string(), "gne".to_string(), 42, "blanc".to_string(), &conn);
[INFO] [stdout]     |     ------- ^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |     |       |
[INFO] [stdout]     |     |       expected `String`, found integer
[INFO] [stdout]     |     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:87:4
[INFO] [stdout]     |
[INFO] [stdout] 87  | fn add_bet(user_id: String, black: String, white: String, bet: i32, color: String, conn: &SqliteConnection) {
[INFO] [stdout]     |    ^^^^^^^ ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |         id: 0,
[INFO] [stdout]     |             ^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             expected `String`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fulgurobot_db` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "e5645fdffb5f285d0695368e9a2495ae583a6bae267b7198a9006459b5c2b67f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5645fdffb5f285d0695368e9a2495ae583a6bae267b7198a9006459b5c2b67f", kill_on_drop: false }`
[INFO] [stdout] e5645fdffb5f285d0695368e9a2495ae583a6bae267b7198a9006459b5c2b67f
