[INFO] cloning repository https://github.com/cyobero/drosmokers-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyobero/drosmokers-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyobero%2Fdrosmokers-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyobero%2Fdrosmokers-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 68916fbb8ea61e0d6082bdfa9bc564f4962fd171
[INFO] checking cyobero/drosmokers-api against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyobero%2Fdrosmokers-api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cyobero/drosmokers-api
[INFO] finished tweaking git repo https://github.com/cyobero/drosmokers-api
[INFO] tweaked toml for git repo https://github.com/cyobero/drosmokers-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cyobero/drosmokers-api on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cyobero/drosmokers-api 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" "+011c518242557d21690f7936b5812318dc2fec47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded diesel-derive-enum v0.4.4
[INFO] [stderr]   Downloaded pq-sys v0.4.6
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.80
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.80
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.80
[INFO] [stderr]   Downloaded httparse v1.7.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.37
[INFO] [stderr]   Downloaded pin-project-internal v0.4.29
[INFO] [stderr]   Downloaded pin-project-internal v1.0.10
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]   Downloaded enum-as-inner v0.3.4
[INFO] [stderr]   Downloaded semver v1.0.7
[INFO] [stderr]   Downloaded pin-project v1.0.10
[INFO] [stderr]   Downloaded pin-project v0.4.29
[INFO] [stderr]   Downloaded miniz_oxide v0.5.1
[INFO] [stderr]   Downloaded tracing-core v0.1.25
[INFO] [stderr]   Downloaded flate2 v1.0.23
[INFO] [stderr]   Downloaded tracing v0.1.33
[INFO] [stderr]   Downloaded syn v1.0.91
[INFO] [stderr]   Downloaded http v0.2.6
[INFO] [stderr]   Downloaded actix-web v3.3.3
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.80
[INFO] [stderr]   Downloaded actix-http v2.2.2
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] [stderr]   Downloaded regex v1.5.5
[INFO] [stderr]   Downloaded libc v0.2.123
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753
[INFO] running `Command { std: "docker" "start" "2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753", 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" "2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling libc v0.2.123
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]    Compiling pin-project-internal v0.4.29
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling const_fn v0.4.9
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tracing-core v0.1.25
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking tracing v0.1.33
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling httparse v1.7.0
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking flate2 v1.0.23
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.5
[INFO] [stderr]     Checking bytestring v1.0.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking r2d2 v0.8.9
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]    Compiling diesel-derive-enum v0.4.4
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking pin-project v0.4.29
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]     Checking actix-codec v0.3.0
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking actix-threadpool v0.3.3
[INFO] [stderr]     Checking actix-service v1.0.6
[INFO] [stderr]     Checking actix-rt v1.1.1
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking trust-dns-proto v0.19.7
[INFO] [stderr]     Checking actix-utils v2.0.0
[INFO] [stderr]     Checking actix-server v1.0.4
[INFO] [stderr]     Checking actix-tls v2.0.0
[INFO] [stderr]     Checking actix-testing v1.0.1
[INFO] [stderr]     Checking trust-dns-resolver v0.19.7
[INFO] [stderr]     Checking actix-connect v2.0.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.2.7
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking actix-http v2.2.2
[INFO] [stderr]     Checking awc v2.0.3
[INFO] [stderr]     Checking actix-web v3.3.3
[INFO] [stderr]     Checking drosmokers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cbd_content`, `final_test_date`, `grower_id`, `harvest_date`, `id as bid`, `package_date`, `strain_id`, and `thc_content`
[INFO] [stdout]  --> src/db.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     batches, cbd_content, final_test_date, grower_id, harvest_date, id as bid, package_date,
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 4 |     strain_id, thc_content,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name as grower_name`
[INFO] [stdout]  --> src/db.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::schema::growers::dsl::{growers, id as gid, name as grower_name};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name`
[INFO] [stdout]  --> src/db.rs:7:46
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::schema::strains::dsl::{id as sid, name, species, strains};
[INFO] [stdout]   |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Queryable`
[INFO] [stdout]   --> src/db.rs:16:74
[INFO] [stdout]    |
[INFO] [stdout] 16 |     sql_query, Connection, ConnectionError, ExpressionMethods, QueryDsl, Queryable, RunQueryDsl,
[INFO] [stdout]    |                                                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `id as gid`
[INFO] [stdout]  --> src/handlers.rs:3:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::schema::growers::dsl::{growers, id as gid};
[INFO] [stdout]   |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `id as sid`
[INFO] [stdout]  --> src/handlers.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::schema::strains::dsl::{id as sid, strains};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionMethods`
[INFO] [stdout]  --> src/handlers.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use diesel::{ExpressionMethods, QueryDsl, RunQueryDsl};
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::sql_query`
[INFO] [stdout]  --> src/handlers.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::sql_query;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::sql_types::Integer`
[INFO] [stdout]   --> src/handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::sql_types::Integer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::NaiveDate`
[INFO] [stdout]   --> src/handlers.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use chrono::NaiveDate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/handlers.rs:14:26
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::deserialize::FromSql`
[INFO] [stdout]  --> src/models.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::deserialize::FromSql;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `QueryDsl` and `RunQueryDsl`
[INFO] [stdout]  --> src/models.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::{QueryDsl, Queryable, QueryableByName, RunQueryDsl};
[INFO] [stdout]   |              ^^^^^^^^                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::exports::*`
[INFO] [stdout]  --> src/schema.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::exports::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::exports::*`
[INFO] [stdout]   --> src/schema.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use crate::exports::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::exports::*`
[INFO] [stdout]   --> src/schema.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use crate::exports::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use actix_web::{web, App, HttpServer};
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cbd_content`, `final_test_date`, `grower_id`, `harvest_date`, `id as bid`, `package_date`, `strain_id`, and `thc_content`
[INFO] [stdout]  --> src/db.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     batches, cbd_content, final_test_date, grower_id, harvest_date, id as bid, package_date,
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 4 |     strain_id, thc_content,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name as grower_name`
[INFO] [stdout]  --> src/db.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::schema::growers::dsl::{growers, id as gid, name as grower_name};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name`
[INFO] [stdout]  --> src/db.rs:7:46
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::schema::strains::dsl::{id as sid, name, species, strains};
[INFO] [stdout]   |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `id as gid`
[INFO] [stdout]  --> src/handlers.rs:3:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::schema::growers::dsl::{growers, id as gid};
[INFO] [stdout]   |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `id as sid`
[INFO] [stdout]  --> src/handlers.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::schema::strains::dsl::{id as sid, strains};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionMethods`
[INFO] [stdout]  --> src/handlers.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use diesel::{ExpressionMethods, QueryDsl, RunQueryDsl};
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::sql_query`
[INFO] [stdout]  --> src/handlers.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::sql_query;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::sql_types::Integer`
[INFO] [stdout]   --> src/handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::sql_types::Integer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::NaiveDate`
[INFO] [stdout]   --> src/handlers.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use chrono::NaiveDate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/handlers.rs:14:26
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::deserialize::FromSql`
[INFO] [stdout]  --> src/models.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::deserialize::FromSql;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `QueryDsl` and `RunQueryDsl`
[INFO] [stdout]  --> src/models.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::{QueryDsl, Queryable, QueryableByName, RunQueryDsl};
[INFO] [stdout]   |              ^^^^^^^^                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::exports::*`
[INFO] [stdout]  --> src/schema.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::exports::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::exports::*`
[INFO] [stdout]   --> src/schema.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use crate::exports::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::exports::*`
[INFO] [stdout]   --> src/schema.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use crate::exports::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use actix_web::{web, App, HttpServer};
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Queryable`
[INFO] [stdout]   --> src/db.rs:16:74
[INFO] [stdout]    |
[INFO] [stdout] 16 |     sql_query, Connection, ConnectionError, ExpressionMethods, QueryDsl, Queryable, RunQueryDsl,
[INFO] [stdout]    |                                                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grower`
[INFO] [stdout]    --> src/db.rs:370:13
[INFO] [stdout]     |
[INFO] [stdout] 370 |         let grower = new.create(&conn);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_grower`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/db.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum BatchField<'b> {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 23 |     Id(i32),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     Strain(&'b str),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     StrainID(i32),
[INFO] [stdout] 26 |     HarvestDate(NaiveDate),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 27 |     FinalTestDate(NaiveDate),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 28 |     PackageDate(NaiveDate),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 29 |     GrowerID(i32),
[INFO] [stdout] 30 |     Grower(&'b str),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 31 |     THCContent(f32),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 32 |     CBDContent(f32),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BatchField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Id` is never constructed
[INFO] [stdout]   --> src/db.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum GrowerField<I = i32, N = String> {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 37 |     Id(I),
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrowerField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Id` is never constructed
[INFO] [stdout]   --> src/db.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum StrainField<I = i32, N = String, S = Species> {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 43 |     Id(I),
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StrainField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `establish_connection` is never used
[INFO] [stdout]   --> src/db.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn establish_connection() -> Result<PgConnection, ConnectionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Deletable` is never used
[INFO] [stdout]   --> src/db.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub trait Deletable<C = PgConnection, E = Error> {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newstrain`
[INFO] [stdout] 21 | #[table_name = "strains"]
[INFO] [stdout] 22 | pub struct NewStrain {
[INFO] [stdout]    |            --------- `NewStrain` 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:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         -^^^^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newstrain`
[INFO] [stdout] 21 | #[table_name = "strains"]
[INFO] [stdout] 22 | pub struct NewStrain {
[INFO] [stdout]    |            --------- `NewStrain` 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:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newstrain`
[INFO] [stdout] 21 | #[table_name = "strains"]
[INFO] [stdout] 22 | pub struct NewStrain {
[INFO] [stdout]    |            --------- `NewStrain` 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:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newbatch`
[INFO] [stdout] 29 | #[table_name = "batches"]
[INFO] [stdout] 30 | pub struct NewBatch {
[INFO] [stdout]    |            -------- `NewBatch` 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:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         -^^^^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newbatch`
[INFO] [stdout] 29 | #[table_name = "batches"]
[INFO] [stdout] 30 | pub struct NewBatch {
[INFO] [stdout]    |            -------- `NewBatch` 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:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newbatch`
[INFO] [stdout] 29 | #[table_name = "batches"]
[INFO] [stdout] 30 | pub struct NewBatch {
[INFO] [stdout]    |            -------- `NewBatch` 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:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newgrower`
[INFO] [stdout] 42 | #[table_name = "growers"]
[INFO] [stdout] 43 | pub struct NewGrower {
[INFO] [stdout]    |            --------- `NewGrower` 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:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                -^^^^^^^^^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newgrower`
[INFO] [stdout] 42 | #[table_name = "growers"]
[INFO] [stdout] 43 | pub struct NewGrower {
[INFO] [stdout]    |            --------- `NewGrower` 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:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newgrower`
[INFO] [stdout] 42 | #[table_name = "growers"]
[INFO] [stdout] 43 | pub struct NewGrower {
[INFO] [stdout]    |            --------- `NewGrower` 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:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newterpenes`
[INFO] [stdout] 48 | #[table_name = "terpenes"]
[INFO] [stdout] 49 | pub struct NewTerpenes {
[INFO] [stdout]    |            ----------- `NewTerpenes` 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:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                -^^^^^^^^^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newterpenes`
[INFO] [stdout] 48 | #[table_name = "terpenes"]
[INFO] [stdout] 49 | pub struct NewTerpenes {
[INFO] [stdout]    |            ----------- `NewTerpenes` 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:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newterpenes`
[INFO] [stdout] 48 | #[table_name = "terpenes"]
[INFO] [stdout] 49 | pub struct NewTerpenes {
[INFO] [stdout]    |            ----------- `NewTerpenes` 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:59:48
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, Clone, Deserialize, Serialize, Queryable)]
[INFO] [stdout]    |                                                ^--------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Queryable` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_queryable_for_terpenes`
[INFO] [stdout] 60 | pub struct Terpenes {
[INFO] [stdout]    |            -------- `Terpenes` 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:71:48
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[derive(Debug, Clone, Deserialize, Serialize, QueryableByName)]
[INFO] [stdout]    |                                                ^--------------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `QueryableByName` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_queryable_by_name_for_batchresponse`
[INFO] [stdout] 72 | pub struct BatchResponse {
[INFO] [stdout]    |            ------------- `BatchResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:96:41
[INFO] [stdout]    |
[INFO] [stdout] 96 | #[derive(Clone, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]    |                                         ^--------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `QueryableByName` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_queryable_by_name_for_grower`
[INFO] [stdout] 97 | #[table_name = "growers"]
[INFO] [stdout] 98 | pub struct Grower {
[INFO] [stdout]    |            ------ `Grower` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 96 | #[derive(Clone, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]    |                                                          ^--------
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          `Queryable` is not local
[INFO] [stdout]    |                                                          move the `impl` block outside of this function `_impl_queryable_for_grower`
[INFO] [stdout] 97 | #[table_name = "growers"]
[INFO] [stdout] 98 | pub struct Grower {
[INFO] [stdout]    |            ------ `Grower` 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:106:41
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                         ^--------------
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         `QueryableByName` is not local
[INFO] [stdout]     |                                         move the `impl` block outside of this function `_impl_queryable_by_name_for_batch`
[INFO] [stdout] 107 | #[table_name = "batches"]
[INFO] [stdout] 108 | pub struct Batch {
[INFO] [stdout]     |            ----- `Batch` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models.rs:106:58
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                                          ^--------
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          `Queryable` is not local
[INFO] [stdout]     |                                                          move the `impl` block outside of this function `_impl_queryable_for_batch`
[INFO] [stdout] 107 | #[table_name = "batches"]
[INFO] [stdout] 108 | pub struct Batch {
[INFO] [stdout]     |            ----- `Batch` 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:134:41
[INFO] [stdout]     |
[INFO] [stdout] 134 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                         ^--------------
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         `QueryableByName` is not local
[INFO] [stdout]     |                                         move the `impl` block outside of this function `_impl_queryable_by_name_for_strain`
[INFO] [stdout] 135 | pub struct Strain {
[INFO] [stdout]     |            ------ `Strain` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models.rs:134:58
[INFO] [stdout]     |
[INFO] [stdout] 134 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                                          ^--------
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          `Queryable` is not local
[INFO] [stdout]     |                                                          move the `impl` block outside of this function `_impl_queryable_for_strain`
[INFO] [stdout] 135 | pub struct Strain {
[INFO] [stdout]     |            ------ `Strain` 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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  6 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         strain_id -> Int4,
[INFO] [stdout]    | |         --------- `strain_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_strain_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         harvest_date -> Nullable<Date>,
[INFO] [stdout]    | |         ------------ `harvest_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_harvest_date`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         final_test_date -> Nullable<Date>,
[INFO] [stdout]    | |         --------------- `final_test_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_final_test_date`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | |         package_date -> Nullable<Date>,
[INFO] [stdout]    | |         ------------ `package_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_package_date`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |         grower_id -> Int4,
[INFO] [stdout]    | |         --------- `grower_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_grower_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         thc_content -> Float4,
[INFO] [stdout]    | |         ----------- `thc_content` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_thc_content`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |         cbd_content -> Float4,
[INFO] [stdout]    | |         ----------- `cbd_content` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_cbd_content`
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     use diesel::sql_types::*;
[INFO] [stdout] 19 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     use diesel::sql_types::*;
[INFO] [stdout] 19 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     use diesel::sql_types::*;
[INFO] [stdout] 19 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] 24 | |     }
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | | }
[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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         species -> Species,
[INFO] [stdout]    | |         ------- `species` is not local
[INFO] [stdout] 35 | |     }
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_species`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         batch_id -> Int4,
[INFO] [stdout]    | |         -------- `batch_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_batch_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |         caryophyllene -> Nullable<Float4>,
[INFO] [stdout]    | |         ------------- `caryophyllene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_caryophyllene`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |         humulene -> Nullable<Float4>,
[INFO] [stdout]    | |         -------- `humulene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_humulene`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |         limonene -> Nullable<Float4>,
[INFO] [stdout]    | |         -------- `limonene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_limonene`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |         linalool -> Nullable<Float4>,
[INFO] [stdout]    | |         -------- `linalool` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_linalool`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         myrcene -> Nullable<Float4>,
[INFO] [stdout]    | |         ------- `myrcene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_myrcene`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |         pinene -> Nullable<Float4>,
[INFO] [stdout]    | |         ------ `pinene` is not local
[INFO] [stdout] 51 | |     }
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_pinene`
[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: variants `Id`, `FinalTestDate`, `PackageDate`, `THCContent`, and `CBDContent` are never constructed
[INFO] [stdout]   --> src/db.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum BatchField<'b> {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 23 |     Id(i32),
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     FinalTestDate(NaiveDate),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 28 |     PackageDate(NaiveDate),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     THCContent(f32),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 32 |     CBDContent(f32),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BatchField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Id` is never constructed
[INFO] [stdout]   --> src/db.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum GrowerField<I = i32, N = String> {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 37 |     Id(I),
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrowerField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [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:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newstrain`
[INFO] [stdout] 21 | #[table_name = "strains"]
[INFO] [stdout] 22 | pub struct NewStrain {
[INFO] [stdout]    |            --------- `NewStrain` 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:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         -^^^^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newstrain`
[INFO] [stdout] 21 | #[table_name = "strains"]
[INFO] [stdout] 22 | pub struct NewStrain {
[INFO] [stdout]    |            --------- `NewStrain` 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:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newstrain`
[INFO] [stdout] 21 | #[table_name = "strains"]
[INFO] [stdout] 22 | pub struct NewStrain {
[INFO] [stdout]    |            --------- `NewStrain` 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:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newbatch`
[INFO] [stdout] 29 | #[table_name = "batches"]
[INFO] [stdout] 30 | pub struct NewBatch {
[INFO] [stdout]    |            -------- `NewBatch` 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:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         -^^^^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `Insertable` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newbatch`
[INFO] [stdout] 29 | #[table_name = "batches"]
[INFO] [stdout] 30 | pub struct NewBatch {
[INFO] [stdout]    |            -------- `NewBatch` 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:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                         ^---------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                         `table` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_insertable_for_newbatch`
[INFO] [stdout] 29 | #[table_name = "batches"]
[INFO] [stdout] 30 | pub struct NewBatch {
[INFO] [stdout]    |            -------- `NewBatch` 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:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newgrower`
[INFO] [stdout] 42 | #[table_name = "growers"]
[INFO] [stdout] 43 | pub struct NewGrower {
[INFO] [stdout]    |            --------- `NewGrower` 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:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                -^^^^^^^^^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newgrower`
[INFO] [stdout] 42 | #[table_name = "growers"]
[INFO] [stdout] 43 | pub struct NewGrower {
[INFO] [stdout]    |            --------- `NewGrower` 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:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newgrower`
[INFO] [stdout] 42 | #[table_name = "growers"]
[INFO] [stdout] 43 | pub struct NewGrower {
[INFO] [stdout]    |            --------- `NewGrower` 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:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newterpenes`
[INFO] [stdout] 48 | #[table_name = "terpenes"]
[INFO] [stdout] 49 | pub struct NewTerpenes {
[INFO] [stdout]    |            ----------- `NewTerpenes` 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:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                -^^^^^^^^^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Insertable` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newterpenes`
[INFO] [stdout] 48 | #[table_name = "terpenes"]
[INFO] [stdout] 49 | pub struct NewTerpenes {
[INFO] [stdout]    |            ----------- `NewTerpenes` 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:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize, Serialize, Insertable)]
[INFO] [stdout]    |                                                ^---------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                                `table` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_insertable_for_newterpenes`
[INFO] [stdout] 48 | #[table_name = "terpenes"]
[INFO] [stdout] 49 | pub struct NewTerpenes {
[INFO] [stdout]    |            ----------- `NewTerpenes` 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:59:48
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, Clone, Deserialize, Serialize, Queryable)]
[INFO] [stdout]    |                                                ^--------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `Queryable` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_queryable_for_terpenes`
[INFO] [stdout] 60 | pub struct Terpenes {
[INFO] [stdout]    |            -------- `Terpenes` 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:71:48
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[derive(Debug, Clone, Deserialize, Serialize, QueryableByName)]
[INFO] [stdout]    |                                                ^--------------
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                `QueryableByName` is not local
[INFO] [stdout]    |                                                move the `impl` block outside of this function `_impl_queryable_by_name_for_batchresponse`
[INFO] [stdout] 72 | pub struct BatchResponse {
[INFO] [stdout]    |            ------------- `BatchResponse` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:96:41
[INFO] [stdout]    |
[INFO] [stdout] 96 | #[derive(Clone, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]    |                                         ^--------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `QueryableByName` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this function `_impl_queryable_by_name_for_grower`
[INFO] [stdout] 97 | #[table_name = "growers"]
[INFO] [stdout] 98 | pub struct Grower {
[INFO] [stdout]    |            ------ `Grower` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 96 | #[derive(Clone, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]    |                                                          ^--------
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          `Queryable` is not local
[INFO] [stdout]    |                                                          move the `impl` block outside of this function `_impl_queryable_for_grower`
[INFO] [stdout] 97 | #[table_name = "growers"]
[INFO] [stdout] 98 | pub struct Grower {
[INFO] [stdout]    |            ------ `Grower` 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:106:41
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                         ^--------------
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         `QueryableByName` is not local
[INFO] [stdout]     |                                         move the `impl` block outside of this function `_impl_queryable_by_name_for_batch`
[INFO] [stdout] 107 | #[table_name = "batches"]
[INFO] [stdout] 108 | pub struct Batch {
[INFO] [stdout]     |            ----- `Batch` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models.rs:106:58
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                                          ^--------
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          `Queryable` is not local
[INFO] [stdout]     |                                                          move the `impl` block outside of this function `_impl_queryable_for_batch`
[INFO] [stdout] 107 | #[table_name = "batches"]
[INFO] [stdout] 108 | pub struct Batch {
[INFO] [stdout]     |            ----- `Batch` 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:134:41
[INFO] [stdout]     |
[INFO] [stdout] 134 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                         ^--------------
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         `QueryableByName` is not local
[INFO] [stdout]     |                                         move the `impl` block outside of this function `_impl_queryable_by_name_for_strain`
[INFO] [stdout] 135 | pub struct Strain {
[INFO] [stdout]     |            ------ `Strain` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/models.rs:134:58
[INFO] [stdout]     |
[INFO] [stdout] 134 | #[derive(Debug, Deserialize, Serialize, QueryableByName, Queryable)]
[INFO] [stdout]     |                                                          ^--------
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          `Queryable` is not local
[INFO] [stdout]     |                                                          move the `impl` block outside of this function `_impl_queryable_for_strain`
[INFO] [stdout] 135 | pub struct Strain {
[INFO] [stdout]     |            ------ `Strain` 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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  6 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         strain_id -> Int4,
[INFO] [stdout]    | |         --------- `strain_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_strain_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         harvest_date -> Nullable<Date>,
[INFO] [stdout]    | |         ------------ `harvest_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_harvest_date`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout]  9 | |         final_test_date -> Nullable<Date>,
[INFO] [stdout]    | |         --------------- `final_test_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_final_test_date`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | |         package_date -> Nullable<Date>,
[INFO] [stdout]    | |         ------------ `package_date` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_package_date`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |         grower_id -> Int4,
[INFO] [stdout]    | |         --------- `grower_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_grower_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         thc_content -> Float4,
[INFO] [stdout]    | |         ----------- `thc_content` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_thc_content`
[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 | |     use diesel::sql_types::*;
[INFO] [stdout]  3 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | |         cbd_content -> Float4,
[INFO] [stdout]    | |         ----------- `cbd_content` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_cbd_content`
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     use diesel::sql_types::*;
[INFO] [stdout] 19 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[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:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     use diesel::sql_types::*;
[INFO] [stdout] 19 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     use diesel::sql_types::*;
[INFO] [stdout] 19 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] 24 | |     }
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | | }
[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:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |         name -> Varchar,
[INFO] [stdout]    | |         ---- `name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / table! {
[INFO] [stdout] 28 | |     use diesel::sql_types::*;
[INFO] [stdout] 29 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         species -> Species,
[INFO] [stdout]    | |         ------- `species` is not local
[INFO] [stdout] 35 | |     }
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_species`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |         id -> Int4,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         batch_id -> Int4,
[INFO] [stdout]    | |         -------- `batch_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_batch_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |         caryophyllene -> Nullable<Float4>,
[INFO] [stdout]    | |         ------------- `caryophyllene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_caryophyllene`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |         humulene -> Nullable<Float4>,
[INFO] [stdout]    | |         -------- `humulene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_humulene`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |         limonene -> Nullable<Float4>,
[INFO] [stdout]    | |         -------- `limonene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_limonene`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |         linalool -> Nullable<Float4>,
[INFO] [stdout]    | |         -------- `linalool` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_linalool`
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         myrcene -> Nullable<Float4>,
[INFO] [stdout]    | |         ------- `myrcene` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_myrcene`
[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 19s
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / table! {
[INFO] [stdout] 39 | |     use diesel::sql_types::*;
[INFO] [stdout] 40 | |     use crate::exports::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |         pinene -> Nullable<Float4>,
[INFO] [stdout]    | |         ------ `pinene` is not local
[INFO] [stdout] 51 | |     }
[INFO] [stdout] 52 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_pinene`
[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] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.11.11
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753", kill_on_drop: false }`
[INFO] [stdout] 2fb740bd231b7dac3a880a86236fc2449c510a9ea297e0febd6f81661ad6a753
