[INFO] cloning repository https://github.com/dmtaylor/freetote
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmtaylor/freetote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a69933e5b95f6de46c5bc7b87a395aae776dfe5
[INFO] checking dmtaylor/freetote against 760e1de835e253bf28bbcbfee38b5e8ed9ffe074 for pr-133502-26
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmtaylor%2Ffreetote" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dmtaylor/freetote
[INFO] finished tweaking git repo https://github.com/dmtaylor/freetote
[INFO] tweaked toml for git repo https://github.com/dmtaylor/freetote written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dmtaylor/freetote on toolchain 760e1de835e253bf28bbcbfee38b5e8ed9ffe074
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dmtaylor/freetote 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" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v1.0.62
[INFO] [stderr]   Downloaded thiserror v1.0.62
[INFO] [stderr]   Downloaded pq-sys v0.4.8
[INFO] [stderr]   Downloaded serde_test v0.8.23
[INFO] [stderr]   Downloaded linked-hash-map v0.3.0
[INFO] [stderr]   Downloaded serde-hjson v0.8.2
[INFO] [stderr]   Downloaded config v0.9.3
[INFO] [stderr]   Downloaded cc v1.1.5
[INFO] [stderr]   Downloaded syn v2.0.71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188
[INFO] running `Command { std: "docker" "start" "7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking serde v0.8.23
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling thiserror v1.0.62
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking rust-ini v0.13.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking serde_test v0.8.23
[INFO] [stderr]     Checking linked-hash-map v0.3.0
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking serde_json v1.0.120
[INFO] [stderr]    Compiling thiserror-impl v1.0.62
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking serde-hjson v0.8.2
[INFO] [stderr]     Checking config v0.9.3
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking freetote v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Environment`
[INFO] [stdout]  --> src/settings.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use config::{Config, ConfigError, Environment, File};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/settings.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/db.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/bets.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/users.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/outcomes.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/winners.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bets::*`
[INFO] [stdout]  --> src/winners.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::bets::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/winners.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::schema::bets`
[INFO] [stdout]   --> src/winners.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         use crate::schema::bets;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Environment`
[INFO] [stdout]  --> src/settings.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use config::{Config, ConfigError, Environment, File};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/settings.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/db.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/bets.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/users.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/outcomes.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::*`
[INFO] [stdout]  --> src/winners.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bets::*`
[INFO] [stdout]  --> src/winners.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::bets::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/winners.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::schema::bets`
[INFO] [stdout]   --> src/winners.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         use crate::schema::bets;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/winners.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut bet: Bet = crate::schema::bets::dsl::bets.find(bet_id).
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/winners.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut bet: Bet = crate::schema::bets::dsl::bets.find(bet_id).
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/main.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn start_cli(db: db::FTDB) {
[INFO] [stdout]    |              ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conn` is never read
[INFO] [stdout]  --> src/db.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FTDB {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 8 |     pub conn: PgConnection,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_bet_by_id`, `get_bet_by_name`, and `new_bet` are never used
[INFO] [stdout]   --> src/bets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FTDB {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout]  7 |     pub fn get_bet_by_id(&self, id: i32) -> QueryResult<Bet> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn get_bet_by_name(&self, name: &str) -> QueryResult<Bet> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn new_bet<'a>(&self,
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_user` and `find_by_username` are never used
[INFO] [stdout]   --> src/users.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FTDB {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout]  7 |     pub fn new_user<'a> (
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn find_by_username(&self, name: &str) -> QueryResult<User> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_wager` and `find_outcome_by_name` are never used
[INFO] [stdout]   --> src/outcomes.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FTDB {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout]  7 |
[INFO] [stdout]  8 |     pub fn new_wager<'a> (
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn find_outcome_by_name(&self, name: &str) -> QueryResult<Outcome> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WinnerError` is never used
[INFO] [stdout]   --> src/winners.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum WinnerError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new_winner` is never used
[INFO] [stdout]   --> src/winners.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl FTDB {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 20 |     pub fn new_winner<'a> (
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     bets (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] ... |
[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: `#[warn(non_local_definitions)]` on by default
[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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout]   | |         ------ `bet_id` is not local
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] ... |
[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_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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout]   | |         -------- `bet_name` is not local
[INFO] [stdout] ... |
[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_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     bets (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] 5 | |         bet_description -> Nullable<Text>,
[INFO] [stdout]   | |         --------------- `bet_description` is not local
[INFO] [stdout] ... |
[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_description`
[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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] 5 | |         bet_description -> Nullable<Text>,
[INFO] [stdout] 6 | |         bet_close -> Nullable<Timestamp>,
[INFO] [stdout]   | |         --------- `bet_close` is not local
[INFO] [stdout] ... |
[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_close`
[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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |         created_on -> Timestamp,
[INFO] [stdout]   | |         ---------- `created_on` 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_created_on`
[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 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[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: unused variable: `db`
[INFO] [stdout]   --> src/main.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn start_cli(db: db::FTDB) {
[INFO] [stdout]    |              ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout]    | |         ---------- `outcome_id` is not local
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout]    | |         ------------ `outcome_name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] 15 | |         outcome_text -> Nullable<Text>,
[INFO] [stdout]    | |         ------------ `outcome_text` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_text`
[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 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] 15 | |         outcome_text -> Nullable<Text>,
[INFO] [stdout] 16 | |         bet_id -> Int4,
[INFO] [stdout]    | |         ------ `bet_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[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_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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[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_on`
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout]    | |         -------- `username` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_username`
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] 25 | |         user_description -> Nullable<Text>,
[INFO] [stdout]    | |         ---------------- `user_description` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[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_description`
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] 25 | |         user_description -> Nullable<Text>,
[INFO] [stdout] 26 | |         is_banned -> Bool,
[INFO] [stdout]    | |         --------- `is_banned` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_is_banned`
[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 `conn` is never read
[INFO] [stdout]  --> src/db.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FTDB {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 8 |     pub conn: PgConnection,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_bet_by_id`, `get_bet_by_name`, and `new_bet` are never used
[INFO] [stdout]   --> src/bets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FTDB {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout]  7 |     pub fn get_bet_by_id(&self, id: i32) -> QueryResult<Bet> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn get_bet_by_name(&self, name: &str) -> QueryResult<Bet> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn new_bet<'a>(&self,
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_user` and `find_by_username` are never used
[INFO] [stdout]   --> src/users.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FTDB {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout]  7 |     pub fn new_user<'a> (
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn find_by_username(&self, name: &str) -> QueryResult<User> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_wager` and `find_outcome_by_name` are never used
[INFO] [stdout]   --> src/outcomes.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl FTDB {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout]  7 |
[INFO] [stdout]  8 |     pub fn new_wager<'a> (
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn find_outcome_by_name(&self, name: &str) -> QueryResult<Outcome> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WinnerError` is never used
[INFO] [stdout]   --> src/winners.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum WinnerError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new_winner` is never used
[INFO] [stdout]   --> src/winners.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl FTDB {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 20 |     pub fn new_winner<'a> (
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 28 | |     }
[INFO] [stdout] 29 | | }
[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_on`
[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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout]    | |         -------- `wager_id` is not local
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_wager_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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout]    | |         ------ `bet_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[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_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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] ... |
[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: `#[warn(non_local_definitions)]` on by default
[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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] 35 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout]   | |         ------ `bet_id` is not local
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] ... |
[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_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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] 35 | |         user_id -> Int4,
[INFO] [stdout] 36 | |         outcome_id -> Int4,
[INFO] [stdout]    | |         ---------- `outcome_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout]   | |         -------- `bet_name` is not local
[INFO] [stdout] ... |
[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_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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         amount -> Int8,
[INFO] [stdout]    | |         ------ `amount` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_amount`
[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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] 5 | |         bet_description -> Nullable<Text>,
[INFO] [stdout]   | |         --------------- `bet_description` is not local
[INFO] [stdout] ... |
[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_description`
[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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 39 | |     }
[INFO] [stdout] 40 | | }
[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_on`
[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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] 5 | |         bet_description -> Nullable<Text>,
[INFO] [stdout] 6 | |         bet_close -> Nullable<Timestamp>,
[INFO] [stdout]   | |         --------- `bet_close` is not local
[INFO] [stdout] ... |
[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_close`
[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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[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 (bet_id) {
[INFO] [stdout] 3 | |         bet_id -> Int4,
[INFO] [stdout] 4 | |         bet_name -> Varchar,
[INFO] [stdout] ... |
[INFO] [stdout] 7 | |         created_on -> Timestamp,
[INFO] [stdout]   | |         ---------- `created_on` 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_created_on`
[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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout]    | |         ------ `bet_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[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_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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout]    | |         ---------- `outcome_id` is not local
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] 46 | |         outcome_id -> Int4,
[INFO] [stdout]    | |         ---------- `outcome_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout]    | |         ------------ `outcome_name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] 46 | |         outcome_id -> Int4,
[INFO] [stdout] 47 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 48 | |     }
[INFO] [stdout] 49 | | }
[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_on`
[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 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] 15 | |         outcome_text -> Nullable<Text>,
[INFO] [stdout]    | |         ------------ `outcome_text` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_text`
[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 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] 15 | |         outcome_text -> Nullable<Text>,
[INFO] [stdout] 16 | |         bet_id -> Int4,
[INFO] [stdout]    | |         ------ `bet_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | }
[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_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:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | / table! {
[INFO] [stdout] 12 | |     outcomes (outcome_id) {
[INFO] [stdout] 13 | |         outcome_id -> Int4,
[INFO] [stdout] 14 | |         outcome_name -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[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_on`
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout]    | |         -------- `username` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_username`
[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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] 25 | |         user_description -> Nullable<Text>,
[INFO] [stdout]    | |         ---------------- `user_description` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[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_description`
[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/models.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |          ^-----------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `HasTable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_identifiable_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Identifiable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_identifiable_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |                        ^--------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `Queryable` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this function `_impl_queryable_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` 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:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` 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/schema.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] 25 | |         user_description -> Nullable<Text>,
[INFO] [stdout] 26 | |         is_banned -> Bool,
[INFO] [stdout]    | |         --------- `is_banned` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_is_banned`
[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/models.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |                                   ^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` 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:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newbet`
[INFO] [stdout] 15 | #[table_name="bets"]
[INFO] [stdout] 16 | pub struct NewBet<'a> {
[INFO] [stdout]    |            ------ `NewBet` 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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / table! {
[INFO] [stdout] 22 | |     users (user_id) {
[INFO] [stdout] 23 | |         user_id -> Int4,
[INFO] [stdout] 24 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 28 | |     }
[INFO] [stdout] 29 | | }
[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_on`
[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/models.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newbet`
[INFO] [stdout] 15 | #[table_name="bets"]
[INFO] [stdout] 16 | pub struct NewBet<'a> {
[INFO] [stdout]    |            ------ `NewBet` 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:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newbet`
[INFO] [stdout] 15 | #[table_name="bets"]
[INFO] [stdout] 16 | pub struct NewBet<'a> {
[INFO] [stdout]    |            ------ `NewBet` 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:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[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/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_queryable_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` 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:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` 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:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` 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:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newoutcome`
[INFO] [stdout] 33 | #[table_name="outcomes"]
[INFO] [stdout] 34 | pub struct NewOutcome<'a> {
[INFO] [stdout]    |            ---------- `NewOutcome` 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:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newoutcome`
[INFO] [stdout] 33 | #[table_name="outcomes"]
[INFO] [stdout] 34 | pub struct NewOutcome<'a> {
[INFO] [stdout]    |            ---------- `NewOutcome` 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:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newoutcome`
[INFO] [stdout] 33 | #[table_name="outcomes"]
[INFO] [stdout] 34 | pub struct NewOutcome<'a> {
[INFO] [stdout]    |            ---------- `NewOutcome` 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:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout]    | |         -------- `wager_id` is not local
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_wager_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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout]    | |         ------ `bet_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[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_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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] 35 | |         user_id -> Int4,
[INFO] [stdout]    | |         ------- `user_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] 35 | |         user_id -> Int4,
[INFO] [stdout] 36 | |         outcome_id -> Int4,
[INFO] [stdout]    | |         ---------- `outcome_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         amount -> Int8,
[INFO] [stdout]    | |         ------ `amount` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_amount`
[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:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | / table! {
[INFO] [stdout] 32 | |     wagers (wager_id) {
[INFO] [stdout] 33 | |         wager_id -> Int4,
[INFO] [stdout] 34 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 39 | |     }
[INFO] [stdout] 40 | | }
[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_on`
[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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[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/models.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, 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] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 51 | #[table_name="users"]
[INFO] [stdout] 52 | pub struct NewUser<'a> {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 51 | #[table_name="users"]
[INFO] [stdout] 52 | pub struct NewUser<'a> {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 51 | #[table_name="users"]
[INFO] [stdout] 52 | pub struct NewUser<'a> {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_queryable_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` 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:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` 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/schema.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[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/models.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` 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/schema.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout]    | |         ------ `bet_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[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_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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] 46 | |         outcome_id -> Int4,
[INFO] [stdout]    | |         ---------- `outcome_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_outcome_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:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / table! {
[INFO] [stdout] 43 | |     winners (id) {
[INFO] [stdout] 44 | |         id -> Int4,
[INFO] [stdout] 45 | |         bet_id -> Int4,
[INFO] [stdout] 46 | |         outcome_id -> Int4,
[INFO] [stdout] 47 | |         created_on -> Timestamp,
[INFO] [stdout]    | |         ---------- `created_on` is not local
[INFO] [stdout] 48 | |     }
[INFO] [stdout] 49 | | }
[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_on`
[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/models.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwager`
[INFO] [stdout] 69 | #[table_name="wagers"]
[INFO] [stdout] 70 | pub struct NewWager<'a> {
[INFO] [stdout]    |            -------- `NewWager` 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:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |          ^-----------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `HasTable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_identifiable_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwager`
[INFO] [stdout] 69 | #[table_name="wagers"]
[INFO] [stdout] 70 | pub struct NewWager<'a> {
[INFO] [stdout]    |            -------- `NewWager` 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:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Identifiable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_identifiable_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwager`
[INFO] [stdout] 69 | #[table_name="wagers"]
[INFO] [stdout] 70 | pub struct NewWager<'a> {
[INFO] [stdout]    |            -------- `NewWager` 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:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |                        ^--------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `Queryable` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this function `_impl_queryable_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` 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:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` 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:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` 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:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                     ^-----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `HasTable` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_identifiable_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]   |                                   ^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `AsChangeset` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this function `_impl_as_changeset_for_bet`
[INFO] [stdout] 5 | #[primary_key(bet_id)]
[INFO] [stdout] 6 | pub struct Bet {
[INFO] [stdout]   |            --- `Bet` 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:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Identifiable` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_identifiable_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newbet`
[INFO] [stdout] 15 | #[table_name="bets"]
[INFO] [stdout] 16 | pub struct NewBet<'a> {
[INFO] [stdout]    |            ------ `NewBet` 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:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newbet`
[INFO] [stdout] 15 | #[table_name="bets"]
[INFO] [stdout] 16 | pub struct NewBet<'a> {
[INFO] [stdout]    |            ------ `NewBet` 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:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newbet`
[INFO] [stdout] 15 | #[table_name="bets"]
[INFO] [stdout] 16 | pub struct NewBet<'a> {
[INFO] [stdout]    |            ------ `NewBet` 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:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:22:24
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_queryable_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` 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:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` 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:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_outcome`
[INFO] [stdout] 23 | #[primary_key(outcome_id)]
[INFO] [stdout] 24 | pub struct Outcome {
[INFO] [stdout]    |            ------- `Outcome` 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:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newoutcome`
[INFO] [stdout] 33 | #[table_name="outcomes"]
[INFO] [stdout] 34 | pub struct NewOutcome<'a> {
[INFO] [stdout]    |            ---------- `NewOutcome` 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:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newoutcome`
[INFO] [stdout] 33 | #[table_name="outcomes"]
[INFO] [stdout] 34 | pub struct NewOutcome<'a> {
[INFO] [stdout]    |            ---------- `NewOutcome` 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:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newoutcome`
[INFO] [stdout] 33 | #[table_name="outcomes"]
[INFO] [stdout] 34 | pub struct NewOutcome<'a> {
[INFO] [stdout]    |            ---------- `NewOutcome` 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:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, 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] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:40:35
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_user`
[INFO] [stdout] 41 | #[primary_key(user_id)]
[INFO] [stdout] 42 | pub struct User {
[INFO] [stdout]    |            ---- `User` 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:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 51 | #[table_name="users"]
[INFO] [stdout] 52 | pub struct NewUser<'a> {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 51 | #[table_name="users"]
[INFO] [stdout] 52 | pub struct NewUser<'a> {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newuser`
[INFO] [stdout] 51 | #[table_name="users"]
[INFO] [stdout] 52 | pub struct NewUser<'a> {
[INFO] [stdout]    |            ------- `NewUser` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `HasTable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Identifiable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_identifiable_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                        ^--------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `Queryable` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this function `_impl_queryable_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` 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:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` 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:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Identifiable, Queryable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_wager`
[INFO] [stdout] 58 | #[primary_key(wager_id)]
[INFO] [stdout] 59 | pub struct Wager {
[INFO] [stdout]    |            ----- `Wager` 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:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwager`
[INFO] [stdout] 69 | #[table_name="wagers"]
[INFO] [stdout] 70 | pub struct NewWager<'a> {
[INFO] [stdout]    |            -------- `NewWager` 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:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwager`
[INFO] [stdout] 69 | #[table_name="wagers"]
[INFO] [stdout] 70 | pub struct NewWager<'a> {
[INFO] [stdout]    |            -------- `NewWager` 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:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` 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:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` 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:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwinner`
[INFO] [stdout] 87 | #[table_name="winners"]
[INFO] [stdout] 88 | pub struct NewWinner<'a> {
[INFO] [stdout]    |            --------- `NewWinner` 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:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwager`
[INFO] [stdout] 69 | #[table_name="wagers"]
[INFO] [stdout] 70 | pub struct NewWager<'a> {
[INFO] [stdout]    |            -------- `NewWager` 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:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwinner`
[INFO] [stdout] 87 | #[table_name="winners"]
[INFO] [stdout] 88 | pub struct NewWinner<'a> {
[INFO] [stdout]    |            --------- `NewWinner` 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:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` 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:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwinner`
[INFO] [stdout] 87 | #[table_name="winners"]
[INFO] [stdout] 88 | pub struct NewWinner<'a> {
[INFO] [stdout]    |            --------- `NewWinner` 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:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                     ^-----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `HasTable` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_identifiable_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Identifiable` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_identifiable_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Identifiable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Identifiable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Identifiable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` 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:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 | #[derive(Queryable, Identifiable, AsChangeset, Debug)]
[INFO] [stdout]    |                                   ^----------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `AsChangeset` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this function `_impl_as_changeset_for_winner`
[INFO] [stdout] 78 | #[primary_key(id)]
[INFO] [stdout] 79 | pub struct Winner {
[INFO] [stdout]    |            ------ `Winner` 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:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwinner`
[INFO] [stdout] 87 | #[table_name="winners"]
[INFO] [stdout] 88 | pub struct NewWinner<'a> {
[INFO] [stdout]    |            --------- `NewWinner` 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:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Insertable)]
[INFO] [stdout]    |          -^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Insertable` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwinner`
[INFO] [stdout] 87 | #[table_name="winners"]
[INFO] [stdout] 88 | pub struct NewWinner<'a> {
[INFO] [stdout]    |            --------- `NewWinner` 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:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Insertable)]
[INFO] [stdout]    |          ^---------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |          `table` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_insertable_for_newwinner`
[INFO] [stdout] 87 | #[table_name="winners"]
[INFO] [stdout] 88 | pub struct NewWinner<'a> {
[INFO] [stdout]    |            --------- `NewWinner` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.00s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: config v0.9.3, nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8`
[INFO] running `Command { std: "docker" "inspect" "7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188", kill_on_drop: false }`
[INFO] [stdout] 7d7081292ceda35500c18df839e8ea5023aafb8a9e532e1969df10ce4f094188
