[INFO] cloning repository https://github.com/schoenenberg/eloop-revenue-db
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/schoenenberg/eloop-revenue-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschoenenberg%2Feloop-revenue-db", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschoenenberg%2Feloop-revenue-db'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b27c4664d7fd974e9025e6ca94f2cf9ddee0b49d
[INFO] testing schoenenberg/eloop-revenue-db against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschoenenberg%2Feloop-revenue-db" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/schoenenberg/eloop-revenue-db
[INFO] finished tweaking git repo https://github.com/schoenenberg/eloop-revenue-db
[INFO] tweaked toml for git repo https://github.com/schoenenberg/eloop-revenue-db written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/schoenenberg/eloop-revenue-db on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/schoenenberg/eloop-revenue-db already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c
[INFO] running `Command { std: "docker" "start" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c", 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" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling libc v0.2.106
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.2
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling http v0.2.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.29
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dirs-sys v0.3.6
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling tokio v1.16.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling tokio-util v0.7.2
[INFO] [stderr]    Compiling h2 v0.3.17
[INFO] [stderr]    Compiling diesel v1.4.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling migrations_internals v1.4.1
[INFO] [stderr]    Compiling migrations_macros v1.4.2
[INFO] [stderr]    Compiling hyper v0.14.14
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling diesel_migrations v1.4.0
[INFO] [stderr]    Compiling reqwest v0.11.6
[INFO] [stderr]    Compiling eloop-revenue-db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `sum` is ambiguous
[INFO] [stdout]    --> src/main.rs:178:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |     use diesel::dsl::sum;
[INFO] [stdout]     |                      ^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `sum` could refer to the type alias defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub use helper_types::*;
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout]     = help: consider updating this dependency to resolve this error
[INFO] [stdout]     = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate
[INFO] [stdout] note: `sum` could also refer to the module defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub use expression::dsl::*;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: `#[warn(ambiguous_glob_imports)]` (part of `#[warn(future_incompatible)]`) 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/models.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[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_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[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_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` 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:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[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_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` 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:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[INFO] [stdout]   |                      ^--------
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      `Queryable` is not local
[INFO] [stdout]   |                      move the `impl` block outside of this function `_impl_queryable_for_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` 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:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[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_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` 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:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[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_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` 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:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[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_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` 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:9:22
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[INFO] [stdout]    |                      ^--------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Queryable` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_queryable_for_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[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_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[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_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[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_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[INFO] [stdout]    |                      ^--------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Queryable` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_queryable_for_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` 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/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     configs (key) {
[INFO] [stdout] 3 | |         key -> Text,
[INFO] [stdout] 4 | |         value -> Text,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[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 | |     configs (key) {
[INFO] [stdout] 3 | |         key -> Text,
[INFO] [stdout]   | |         --- `key` is not local
[INFO] [stdout] 4 | |         value -> Text,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_key`
[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 | |     configs (key) {
[INFO] [stdout] 3 | |         key -> Text,
[INFO] [stdout] 4 | |         value -> Text,
[INFO] [stdout]   | |         ----- `value` is not local
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     net_profits (day) {
[INFO] [stdout] 10 | |         day -> Date,
[INFO] [stdout] 11 | |         value -> Float,
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     net_profits (day) {
[INFO] [stdout] 10 | |         day -> Date,
[INFO] [stdout]    | |         --- `day` is not local
[INFO] [stdout] 11 | |         value -> Float,
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     net_profits (day) {
[INFO] [stdout] 10 | |         day -> Date,
[INFO] [stdout] 11 | |         value -> Float,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     revenues (day) {
[INFO] [stdout] 17 | |         day -> Date,
[INFO] [stdout] 18 | |         value -> Float,
[INFO] [stdout] 19 | |     }
[INFO] [stdout] 20 | | }
[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:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     revenues (day) {
[INFO] [stdout] 17 | |         day -> Date,
[INFO] [stdout]    | |         --- `day` is not local
[INFO] [stdout] 18 | |         value -> Float,
[INFO] [stdout] 19 | |     }
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[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:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     revenues (day) {
[INFO] [stdout] 17 | |         day -> Date,
[INFO] [stdout] 18 | |         value -> Float,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] 19 | |     }
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: eloop-revenue-db v0.1.0 (/opt/rustwide/workdir), migrations_internals v1.4.1, openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling eloop-revenue-db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `sum` is ambiguous
[INFO] [stdout]    --> src/main.rs:178:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |     use diesel::dsl::sum;
[INFO] [stdout]     |                      ^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `sum` could refer to the type alias defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub use helper_types::*;
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout]     = help: consider updating this dependency to resolve this error
[INFO] [stdout]     = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate
[INFO] [stdout] note: `sum` could also refer to the module defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub use expression::dsl::*;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: `#[warn(ambiguous_glob_imports)]` (part of `#[warn(future_incompatible)]`) 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/models.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[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_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/models.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[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_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` 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:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[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_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` 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:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Insertable, Queryable)]
[INFO] [stdout]   |                      ^--------
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      `Queryable` is not local
[INFO] [stdout]   |                      move the `impl` block outside of this function `_impl_queryable_for_netprofit`
[INFO] [stdout] 4 | pub struct NetProfit {
[INFO] [stdout]   |            --------- `NetProfit` 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:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[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_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` 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:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[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_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` 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:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[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_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` 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:9:22
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Insertable, Queryable)]
[INFO] [stdout]    |                      ^--------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Queryable` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_queryable_for_revenue`
[INFO] [stdout] 10 | pub struct Revenue {
[INFO] [stdout]    |            ------- `Revenue` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[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_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[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_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[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_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Insertable, Queryable)]
[INFO] [stdout]    |                      ^--------
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `Queryable` is not local
[INFO] [stdout]    |                      move the `impl` block outside of this function `_impl_queryable_for_config`
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ `Config` 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/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     configs (key) {
[INFO] [stdout] 3 | |         key -> Text,
[INFO] [stdout] 4 | |         value -> Text,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[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 | |     configs (key) {
[INFO] [stdout] 3 | |         key -> Text,
[INFO] [stdout]   | |         --- `key` is not local
[INFO] [stdout] 4 | |         value -> Text,
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_key`
[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 | |     configs (key) {
[INFO] [stdout] 3 | |         key -> Text,
[INFO] [stdout] 4 | |         value -> Text,
[INFO] [stdout]   | |         ----- `value` is not local
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     net_profits (day) {
[INFO] [stdout] 10 | |         day -> Date,
[INFO] [stdout] 11 | |         value -> Float,
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     net_profits (day) {
[INFO] [stdout] 10 | |         day -> Date,
[INFO] [stdout]    | |         --- `day` is not local
[INFO] [stdout] 11 | |         value -> Float,
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[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:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / table! {
[INFO] [stdout]  9 | |     net_profits (day) {
[INFO] [stdout] 10 | |         day -> Date,
[INFO] [stdout] 11 | |         value -> Float,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] 12 | |     }
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     revenues (day) {
[INFO] [stdout] 17 | |         day -> Date,
[INFO] [stdout] 18 | |         value -> Float,
[INFO] [stdout] 19 | |     }
[INFO] [stdout] 20 | | }
[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:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     revenues (day) {
[INFO] [stdout] 17 | |         day -> Date,
[INFO] [stdout]    | |         --- `day` is not local
[INFO] [stdout] 18 | |         value -> Float,
[INFO] [stdout] 19 | |     }
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[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:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / table! {
[INFO] [stdout] 16 | |     revenues (day) {
[INFO] [stdout] 17 | |         day -> Date,
[INFO] [stdout] 18 | |         value -> Float,
[INFO] [stdout]    | |         ----- `value` is not local
[INFO] [stdout] 19 | |     }
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: eloop-revenue-db v0.1.0 (/opt/rustwide/workdir), migrations_internals v1.4.1, openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: `sum` is ambiguous
[INFO] [stderr]    --> src/main.rs:178:22
[INFO] [stderr]     |
[INFO] [stderr] 178 |     use diesel::dsl::sum;
[INFO] [stderr]     |                      ^^^ ambiguous name
[INFO] [stderr]     |
[INFO] [stderr]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stderr] note: `sum` could refer to the type alias defined here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:221:13
[INFO] [stderr]     |
[INFO] [stderr] 221 |     pub use helper_types::*;
[INFO] [stderr]     |             ^^^^^^^^^^^^
[INFO] [stderr]     = help: consider updating this dependency to resolve this error
[INFO] [stderr]     = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate
[INFO] [stderr] note: `sum` could also refer to the module defined here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.8/src/lib.rs:224:13
[INFO] [stderr]     |
[INFO] [stderr] 224 |     pub use expression::dsl::*;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stderr]     = note: `#[warn(ambiguous_glob_imports)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Insertable, Queryable)]
[INFO] [stderr]   |          ^---------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Insertable` is not local
[INFO] [stderr]   |          `table` is not local
[INFO] [stderr]   |          move the `impl` block outside of this function `_impl_insertable_for_netprofit`
[INFO] [stderr] 4 | pub struct NetProfit {
[INFO] [stderr]   |            --------- `NetProfit` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Insertable, Queryable)]
[INFO] [stderr]   |          -^^^^^^^^^
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Insertable` is not local
[INFO] [stderr]   |          `table` is not local
[INFO] [stderr]   |          move the `impl` block outside of this function `_impl_insertable_for_netprofit`
[INFO] [stderr] 4 | pub struct NetProfit {
[INFO] [stderr]   |            --------- `NetProfit` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Insertable, Queryable)]
[INFO] [stderr]   |          ^---------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `UndecoratedInsertRecord` is not local
[INFO] [stderr]   |          `table` is not local
[INFO] [stderr]   |          move the `impl` block outside of this function `_impl_insertable_for_netprofit`
[INFO] [stderr] 4 | pub struct NetProfit {
[INFO] [stderr]   |            --------- `NetProfit` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/models.rs:3:22
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Insertable, Queryable)]
[INFO] [stderr]   |                      ^--------
[INFO] [stderr]   |                      |
[INFO] [stderr]   |                      `Queryable` is not local
[INFO] [stderr]   |                      move the `impl` block outside of this function `_impl_queryable_for_netprofit`
[INFO] [stderr] 4 | pub struct NetProfit {
[INFO] [stderr]   |            --------- `NetProfit` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |          ^---------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Insertable` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_revenue`
[INFO] [stderr] 10 | pub struct Revenue {
[INFO] [stderr]    |            ------- `Revenue` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |          -^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Insertable` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_revenue`
[INFO] [stderr] 10 | pub struct Revenue {
[INFO] [stderr]    |            ------- `Revenue` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |          ^---------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_revenue`
[INFO] [stderr] 10 | pub struct Revenue {
[INFO] [stderr]    |            ------- `Revenue` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:9:22
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |                      ^--------
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      `Queryable` is not local
[INFO] [stderr]    |                      move the `impl` block outside of this function `_impl_queryable_for_revenue`
[INFO] [stderr] 10 | pub struct Revenue {
[INFO] [stderr]    |            ------- `Revenue` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |          ^---------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Insertable` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_config`
[INFO] [stderr] 16 | pub struct Config {
[INFO] [stderr]    |            ------ `Config` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |          -^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Insertable` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_config`
[INFO] [stderr] 16 | pub struct Config {
[INFO] [stderr]    |            ------ `Config` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |          ^---------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |          `table` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_insertable_for_config`
[INFO] [stderr] 16 | pub struct Config {
[INFO] [stderr]    |            ------ `Config` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/models.rs:15:22
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[derive(Insertable, Queryable)]
[INFO] [stderr]    |                      ^--------
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      `Queryable` is not local
[INFO] [stderr]    |                      move the `impl` block outside of this function `_impl_queryable_for_config`
[INFO] [stderr] 16 | pub struct Config {
[INFO] [stderr]    |            ------ `Config` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     configs (key) {
[INFO] [stderr] 3 | |         key -> Text,
[INFO] [stderr] 4 | |         value -> Text,
[INFO] [stderr] 5 | |     }
[INFO] [stderr] 6 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | | `table` is not local
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     configs (key) {
[INFO] [stderr] 3 | |         key -> Text,
[INFO] [stderr]   | |         --- `key` is not local
[INFO] [stderr] 4 | |         value -> Text,
[INFO] [stderr] 5 | |     }
[INFO] [stderr] 6 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_key`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     configs (key) {
[INFO] [stderr] 3 | |         key -> Text,
[INFO] [stderr] 4 | |         value -> Text,
[INFO] [stderr]   | |         ----- `value` is not local
[INFO] [stderr] 5 | |     }
[INFO] [stderr] 6 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = 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] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     net_profits (day) {
[INFO] [stderr] 10 | |         day -> Date,
[INFO] [stderr] 11 | |         value -> Float,
[INFO] [stderr] 12 | |     }
[INFO] [stderr] 13 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     net_profits (day) {
[INFO] [stderr] 10 | |         day -> Date,
[INFO] [stderr]    | |         --- `day` is not local
[INFO] [stderr] 11 | |         value -> Float,
[INFO] [stderr] 12 | |     }
[INFO] [stderr] 13 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | / table! {
[INFO] [stderr]  9 | |     net_profits (day) {
[INFO] [stderr] 10 | |         day -> Date,
[INFO] [stderr] 11 | |         value -> Float,
[INFO] [stderr]    | |         ----- `value` is not local
[INFO] [stderr] 12 | |     }
[INFO] [stderr] 13 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | / table! {
[INFO] [stderr] 16 | |     revenues (day) {
[INFO] [stderr] 17 | |         day -> Date,
[INFO] [stderr] 18 | |         value -> Float,
[INFO] [stderr] 19 | |     }
[INFO] [stderr] 20 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | / table! {
[INFO] [stderr] 16 | |     revenues (day) {
[INFO] [stderr] 17 | |         day -> Date,
[INFO] [stderr]    | |         --- `day` is not local
[INFO] [stderr] 18 | |         value -> Float,
[INFO] [stderr] 19 | |     }
[INFO] [stderr] 20 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_day`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | / table! {
[INFO] [stderr] 16 | |     revenues (day) {
[INFO] [stderr] 17 | |         day -> Date,
[INFO] [stderr] 18 | |         value -> Float,
[INFO] [stderr]    | |         ----- `value` is not local
[INFO] [stderr] 19 | |     }
[INFO] [stderr] 20 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_value`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: `eloop-revenue-db` (bin "eloop-revenue-db" test) generated 22 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: eloop-revenue-db v0.1.0 (/opt/rustwide/workdir), migrations_internals v1.4.1, openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/eloop-revenue-db/1c677f4e3ff92dd1/out/eloop_revenue_db-1c677f4e3ff92dd1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c", kill_on_drop: false }`
[INFO] [stdout] 8559d395558842926ab6d62a382f63d7a4f6cbac7896c3625e63a77cd5b6533c
