[INFO] updating cached repository https://github.com/internet-of-plants/server
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ad2431ff9b905fe215cf5bf30439f47cc66a0d8a
[INFO] checking internet-of-plants/server against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finternet-of-plants%2Fserver" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/internet-of-plants/server on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/internet-of-plants/server
[INFO] removed path dependency codegen from git repo https://github.com/internet-of-plants/server
[INFO] finished tweaking git repo https://github.com/internet-of-plants/server
[INFO] tweaked toml for git repo https://github.com/internet-of-plants/server written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/internet-of-plants/server already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (codegen) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (codegen) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 0e2d58db5cc1ada232d87bc83c32ddc8b31353ea374524c1ec41b051746b9cb8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "0e2d58db5cc1ada232d87bc83c32ddc8b31353ea374524c1ec41b051746b9cb8"`
[INFO] [stderr] warning: dependency (codegen) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling if_chain v0.1.3
[INFO] [stderr]     Checking unidecode v0.3.0
[INFO] [stderr]    Compiling ring v0.13.5
[INFO] [stderr]    Compiling actix-web v0.7.19
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]     Checking codegen v0.1.1
[INFO] [stderr]     Checking h2 v0.1.26
[INFO] [stderr]     Checking r2d2 v0.8.8
[INFO] [stderr]     Checking env_logger v0.5.13
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-uds v0.2.6
[INFO] [stderr]     Checking tokio-signal v0.2.9
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking argon2rs v0.2.5
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]     Checking slugify v0.1.0
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]     Checking webpki v0.18.1
[INFO] [stderr]     Checking sct v0.4.0
[INFO] [stderr]     Checking cookie v0.11.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking rustls v0.14.0
[INFO] [stderr]     Checking webpki-roots v0.15.0
[INFO] [stderr]     Checking tokio-rustls v0.8.1
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling actix_derive v0.3.2
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling derive_more v0.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling v_escape_derive v0.5.6
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking failure v0.1.7
[INFO] [stderr]     Checking image v0.19.0
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking trust-dns-proto v0.6.3
[INFO] [stderr]     Checking trust-dns-proto v0.5.0
[INFO] [stderr]     Checking v_escape v0.7.4
[INFO] [stderr]     Checking v_htmlescape v0.4.5
[INFO] [stderr]     Checking trust-dns-resolver v0.10.3
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking actix v0.7.9
[INFO] [stderr]     Checking diesel v1.4.4
[INFO] [stderr]     Checking actix-net v0.2.6
[INFO] [stderr]     Checking serde v1.0.106
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking serde_urlencoded v0.5.5
[INFO] [stderr]     Checking validator v0.8.0
[INFO] [stderr]    Compiling validator_derive v0.8.0
[INFO] [stderr]     Checking server_iop v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `legacy_directory_ownership` has been removed: `converted into hard error, see issue #37872 <https://github.com/rust-lang/rust/issues/37872> for more information`
[INFO] [stderr]   --> src/mod.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     legacy_directory_ownership,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired`
[INFO] [stderr]   --> src/mod.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     plugin_as_library,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `safe_extern_statics` has been removed: `converted into hard error, see issue #36247 <https://github.com/rust-lang/rust/issues/36247> for more information`
[INFO] [stderr]   --> src/mod.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     safe_extern_statics,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `legacy_directory_ownership` has been removed: `converted into hard error, see issue #37872 <https://github.com/rust-lang/rust/issues/37872> for more information`
[INFO] [stderr]   --> src/mod.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     legacy_directory_ownership,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired`
[INFO] [stderr]   --> src/mod.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     plugin_as_library,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `unions_with_drop_fields`
[INFO] [stderr]   --> src/mod.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     unions_with_drop_fields,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lint `safe_extern_statics` has been removed: `converted into hard error, see issue #36247 <https://github.com/rust-lang/rust/issues/36247> for more information`
[INFO] [stderr]   --> src/mod.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     safe_extern_statics,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `unions_with_drop_fields`
[INFO] [stderr]   --> src/mod.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     unions_with_drop_fields,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: expected `;`, found `keyword `let``
[INFO] [stderr]   --> src/lib/tests.rs:18:239
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let user_id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id
[INFO] [stderr]    |                                                                                                                                                                                                                                               ^ help: add `;` here
[INFO] [stderr] 19 |     let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |     --- unexpected token
[INFO] [stderr] 
[INFO] [stderr] error: no rules expected the token `,`
[INFO] [stderr]    --> src/db/user.rs:163:128
[INFO] [stderr]     |
[INFO] [stderr] 163 |         assert_eq!(&super::authenticate(db, AuthenticateUser("username".to_owned(), "password".to_owned())).unwrap().username, ,"username");
[INFO] [stderr]     |                                                                                                                                ^ no rules expected this token in macro call
[INFO] [stderr] 
[INFO] [stderr] error[E0255]: the name `POOL` is defined multiple times
[INFO] [stderr]    --> src/lib/tests.rs:98:1
[INFO] [stderr]     |
[INFO] [stderr] 3   |   use crate::{prelude::*, lib::tests::POOL, router::router, lib::schema::*};
[INFO] [stderr]     |                           ---------------- previous import of the type `POOL` here
[INFO] [stderr] ...
[INFO] [stderr] 98  | / lazy_static! {
[INFO] [stderr] 99  | |     /// Database connection pool used in tests
[INFO] [stderr] 100 | |     pub static ref POOL: Pool = test_pool();
[INFO] [stderr] 101 | |
[INFO] [stderr] ...   |
[INFO] [stderr] 106 | |         Mutex::new(Box::leak(Box::new(Database(&*POOL).into())));
[INFO] [stderr] 107 | | }
[INFO] [stderr]     | |_^ `POOL` redefined here
[INFO] [stderr]     |
[INFO] [stderr]     = note: `POOL` must be defined only once in the type namespace of this module
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: you can use `as` to change the binding name of the import
[INFO] [stderr]     |
[INFO] [stderr] 3   | use crate::{prelude::*, lib::tests::POOL as OtherPOOL, router::router, lib::schema::*};
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0255]: the name `POOL` is defined multiple times
[INFO] [stderr]    --> src/lib/tests.rs:98:1
[INFO] [stderr]     |
[INFO] [stderr] 3   |   use crate::{prelude::*, lib::tests::POOL, router::router, lib::schema::*};
[INFO] [stderr]     |                           ---------------- previous import of the value `POOL` here
[INFO] [stderr] ...
[INFO] [stderr] 98  | / lazy_static! {
[INFO] [stderr] 99  | |     /// Database connection pool used in tests
[INFO] [stderr] 100 | |     pub static ref POOL: Pool = test_pool();
[INFO] [stderr] 101 | |
[INFO] [stderr] ...   |
[INFO] [stderr] 106 | |         Mutex::new(Box::leak(Box::new(Database(&*POOL).into())));
[INFO] [stderr] 107 | | }
[INFO] [stderr]     | |_^ `POOL` redefined here
[INFO] [stderr]     |
[INFO] [stderr]     = note: `POOL` must be defined only once in the value namespace of this module
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: you can use `as` to change the binding name of the import
[INFO] [stderr]     |
[INFO] [stderr] 3   | use crate::{prelude::*, lib::tests::POOL as OtherPOOL, router::router, lib::schema::*};
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `diesel::insert`
[INFO] [stderr]   --> src/lib/tests.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 | use diesel::{insert, prelude::*};
[INFO] [stderr]    |              ^^^^^^ no `insert` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::lib::db::test_db`
[INFO] [stderr]   --> src/lib/tests.rs:90:5
[INFO] [stderr]    |
[INFO] [stderr] 90 | use crate::lib::db::test_db;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `test_db` in `lib::db`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::lib::db::clear`
[INFO] [stderr]    --> src/lib/tests.rs:129:39
[INFO] [stderr]     |
[INFO] [stderr] 129 |     use crate::{actors::db::Database, lib::db::clear, tests::DB, tests::POOL};
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^ no `clear` in `lib::db`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/cultivation.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::lib::router`
[INFO] [stderr]   --> src/controllers/cultivation.rs:30:22
[INFO] [stderr]    |
[INFO] [stderr] 30 |         tests::POOL, router::router, tests::authenticate_tester, tests::new_species, tests::set_cookie, tests::extract_header, tests::new_server,
[INFO] [stderr]    |                      ^^^^^^ could not find `router` in `lib`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/event.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/taxonomy.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/user.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/cultivation.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::lib::utils::hash_password`
[INFO] [stderr]   --> src/db/cultivation.rs:57:62
[INFO] [stderr]    |
[INFO] [stderr] 57 |     use crate::lib::{tests::lock_db, schema::*, tests::POOL, utils::hash_password, tests::new_species};
[INFO] [stderr]    |                                                              ^^^^^^^^^^^^^^^^^^^^ no `hash_password` in `lib::utils`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/event.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::lib::utils::hash_password`
[INFO] [stderr]   --> src/db/event.rs:40:62
[INFO] [stderr]    |
[INFO] [stderr] 40 |     use crate::lib::{tests::lock_db, schema::*, tests::POOL, utils::hash_password};
[INFO] [stderr]    |                                                              ^^^^^^^^^^^^^^^^^^^^ no `hash_password` in `lib::utils`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/taxonomy.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/user.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::actors::db`, `crate::tests`, `crate::tests`
[INFO] [stderr]    --> src/lib/tests.rs:129:25
[INFO] [stderr]     |
[INFO] [stderr] 129 |     use crate::{actors::db::Database, lib::db::clear, tests::DB, tests::POOL};
[INFO] [stderr]     |                         ^^                            ^^^^^      ^^^^^ unresolved import
[INFO] [stderr]     |                         |                             |
[INFO] [stderr]     |                         |                             unresolved import
[INFO] [stderr]     |                         could not find `db` in `actors`
[INFO] [stderr]     |
[INFO] [stderr] help: a similar path exists
[INFO] [stderr]     |
[INFO] [stderr] 129 |     use crate::{actors::db::Database, lib::db::clear, crate::lib::tests::DB, tests::POOL};
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: a similar path exists
[INFO] [stderr]     |
[INFO] [stderr] 129 |     use crate::{actors::db::Database, lib::db::clear, tests::DB, crate::lib::tests::POOL};
[INFO] [stderr]     |                                                                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `lib`
[INFO] [stderr]   --> src/controllers/event.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     use lib::{
[INFO] [stderr]    |         ^^^ use of undeclared type or module `lib`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `lib`
[INFO] [stderr]   --> src/controllers/user.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 |     use lib::{db::test_pool, router::router, tests::extract_cookie, tests::set_cookie, tests::new_server, tests::new_species};
[INFO] [stderr]    |         ^^^ use of undeclared type or module `lib`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `config`
[INFO] [stderr]    --> src/lib/utils.rs:132:9
[INFO] [stderr]     |
[INFO] [stderr] 132 |     use config::{IMAGE_PATH, THUMB_PATH};
[INFO] [stderr]     |         ^^^^^^ help: a similar path exists: `crate::config`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `controllers`
[INFO] [stderr]   --> src/controllers/event.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     use controllers::user::tests::signup;
[INFO] [stderr]    |         ^^^^^^^^^^^ use of undeclared type or module `controllers`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `models`, `controllers::user::tests::signup`, `lib::db::test_pool`, `lib::router::router`, `lib::tests::authenticate_tester`, `lib::tests::new_cultivation`, `lib::tests::new_server`
[INFO] [stderr]   --> src/controllers/user.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |     use models::{SigninForm, SignupForm};
[INFO] [stderr]    |         ^^^^^^ help: a similar path exists: `crate::models`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/event.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     use controllers::user::tests::signup;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |         db::test_pool, router::router, tests::authenticate_tester, tests::new_cultivation, types::*, tests::new_server
[INFO] [stderr]    |         ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `models`
[INFO] [stderr]   --> src/controllers/event.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 |     use models::{EventForm, EventView};
[INFO] [stderr]    |         ^^^^^^ help: a similar path exists: `crate::models`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]  --> src/controllers/cultivation.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[controller(path, log, inline)]
[INFO] [stderr]   |   ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/cultivation.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[controller(log, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/cultivation.rs:20:3
[INFO] [stderr]    |
[INFO] [stderr] 20 | #[controller(json, validate, log, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]  --> src/controllers/event.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[controller(log, path, inline)]
[INFO] [stderr]   |   ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/event.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[controller(log, json, validate, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `opt_cookie` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |         opt_cookie!(req, cookie);
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `header` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:49:24
[INFO] [stderr]    |
[INFO] [stderr] 49 |             assert_eq!(header!(r, "content-length"), size);
[INFO] [stderr]    |                        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `header` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:60:24
[INFO] [stderr]    |
[INFO] [stderr] 60 |             assert_eq!(header!(r, "content-length"), "0");
[INFO] [stderr]    |                        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     view_controller!(find, super::FindKingdomBySlug);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:23:11
[INFO] [stderr]    |
[INFO] [stderr] 23 |         #[controller(log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     view_controller!(index, super::IndexKingdom);
[INFO] [stderr]    |     --------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     view_controller!(find, super::FindPhylumBySlug);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     view_controller!(index_slug, super::IndexPhylum);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/cultivation.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/event.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     view_controller!(find, super::FindClassBySlug);
[INFO] [stderr]    |     ----------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/taxonomy.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::controller`
[INFO] [stderr]  --> src/controllers/user.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use codegen::controller;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `controller` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/cultivation.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 45 |     view_controller!(index_slug, super::IndexClass);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     view_controller!(find, super::FindOrderBySlug);
[INFO] [stderr]    |     ----------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     view_controller!(index_slug, super::IndexOrder);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     view_controller!(find, super::FindFamilyBySlug);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 |     view_controller!(index_slug, super::IndexFamily);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     view_controller!(find, super::FindGenusBySlug);
[INFO] [stderr]    |     ----------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     view_controller!(index_slug, super::IndexGenus);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 68 |     view_controller!(find, super::FindSpeciesBySlug);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 69 |     view_controller!(index_slug, super::IndexSpecies);
[INFO] [stderr]    |     -------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/user.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[controller(validate, log, json, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/user.rs:27:3
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[controller(log, json, validate, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/user.rs:39:3
[INFO] [stderr]    |
[INFO] [stderr] 39 | #[controller(log, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/cultivation.rs:7:3
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/cultivation.rs:29:3
[INFO] [stderr]    |
[INFO] [stderr] 29 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/cultivation.rs:48:3
[INFO] [stderr]    |
[INFO] [stderr] 48 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/event.rs:7:3
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/event.rs:31:3
[INFO] [stderr]    |
[INFO] [stderr] 31 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/taxonomy.rs:9:3
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:19:3
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:28:3
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:39:3
[INFO] [stderr]    |
[INFO] [stderr] 39 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:50:3
[INFO] [stderr]    |
[INFO] [stderr] 50 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:62:3
[INFO] [stderr]    |
[INFO] [stderr] 62 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:74:3
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:87:3
[INFO] [stderr]    |
[INFO] [stderr] 87 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:100:3
[INFO] [stderr]     |
[INFO] [stderr] 100 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:114:3
[INFO] [stderr]     |
[INFO] [stderr] 114 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:128:3
[INFO] [stderr]     |
[INFO] [stderr] 128 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:143:3
[INFO] [stderr]     |
[INFO] [stderr] 143 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:158:3
[INFO] [stderr]     |
[INFO] [stderr] 158 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:174:3
[INFO] [stderr]     |
[INFO] [stderr] 174 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/user.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/user.rs:27:3
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/event.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/taxonomy.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `codegen::handler`
[INFO] [stderr]  --> src/db/user.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use codegen::handler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ no `handler` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env`
[INFO] [stderr]   --> src/lib/db.rs:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let url = env::var("DATABASE_TEST_URL")
[INFO] [stderr]    |               ^^^ use of undeclared type or module `env`
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]  --> src/controllers/cultivation.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[controller(path, log, inline)]
[INFO] [stderr]   |   ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/cultivation.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[controller(log, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/cultivation.rs:20:3
[INFO] [stderr]    |
[INFO] [stderr] 20 | #[controller(json, validate, log, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]  --> src/controllers/event.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[controller(log, path, inline)]
[INFO] [stderr]   |   ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/event.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[controller(log, json, validate, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     view_controller!(find, super::FindKingdomBySlug);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:23:11
[INFO] [stderr]    |
[INFO] [stderr] 23 |         #[controller(log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     view_controller!(index, super::IndexKingdom);
[INFO] [stderr]    |     --------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     view_controller!(find, super::FindPhylumBySlug);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     view_controller!(index_slug, super::IndexPhylum);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     view_controller!(find, super::FindClassBySlug);
[INFO] [stderr]    |     ----------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 45 |     view_controller!(index_slug, super::IndexClass);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     view_controller!(find, super::FindOrderBySlug);
[INFO] [stderr]    |     ----------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     view_controller!(index_slug, super::IndexOrder);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     view_controller!(find, super::FindFamilyBySlug);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 |     view_controller!(index_slug, super::IndexFamily);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     view_controller!(find, super::FindGenusBySlug);
[INFO] [stderr]    |     ----------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     view_controller!(index_slug, super::IndexGenus);
[INFO] [stderr]    |     ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 68 |     view_controller!(find, super::FindSpeciesBySlug);
[INFO] [stderr]    |     ------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/taxonomy.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         #[controller(path, log, inline)]
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 69 |     view_controller!(index_slug, super::IndexSpecies);
[INFO] [stderr]    |     -------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/user.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[controller(validate, log, json, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `kingdom`
[INFO] [stderr]   --> src/lib/tests.rs:19:25
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                         ^^^^^^^ use of undeclared type or module `kingdom`
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/user.rs:27:3
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[controller(log, json, validate, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `controller`
[INFO] [stderr]   --> src/controllers/user.rs:39:3
[INFO] [stderr]    |
[INFO] [stderr] 39 | #[controller(log, inline)]
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/cultivation.rs:7:3
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/cultivation.rs:29:3
[INFO] [stderr]    |
[INFO] [stderr] 29 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/cultivation.rs:48:3
[INFO] [stderr]    |
[INFO] [stderr] 48 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/event.rs:7:3
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/event.rs:31:3
[INFO] [stderr]    |
[INFO] [stderr] 31 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/taxonomy.rs:9:3
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:19:3
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:28:3
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:39:3
[INFO] [stderr]    |
[INFO] [stderr] 39 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:50:3
[INFO] [stderr]    |
[INFO] [stderr] 50 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:62:3
[INFO] [stderr]    |
[INFO] [stderr] 62 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:74:3
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/taxonomy.rs:87:3
[INFO] [stderr]    |
[INFO] [stderr] 87 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:100:3
[INFO] [stderr]     |
[INFO] [stderr] 100 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:114:3
[INFO] [stderr]     |
[INFO] [stderr] 114 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:128:3
[INFO] [stderr]     |
[INFO] [stderr] 128 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:143:3
[INFO] [stderr]     |
[INFO] [stderr] 143 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:158:3
[INFO] [stderr]     |
[INFO] [stderr] 158 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]    --> src/db/taxonomy.rs:174:3
[INFO] [stderr]     |
[INFO] [stderr] 174 | #[handler]
[INFO] [stderr]     |   ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]  --> src/db/user.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[handler]
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the attribute macro `handler`
[INFO] [stderr]   --> src/db/user.rs:27:3
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[handler]
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]   --> src/lib/tests.rs:26:17
[INFO] [stderr]    |
[INFO] [stderr] 26 |     insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap()
[INFO] [stderr]    |                 ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `kingdom`
[INFO] [stderr]   --> src/lib/tests.rs:33:25
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                         ^^^^^^^ use of undeclared type or module `kingdom`
[INFO] [stderr] 
[INFO] [stderr] error[E0404]: expected trait, found struct `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:30:16
[INFO] [stderr]    |
[INFO] [stderr] 30 |     M::Result: IntoFuture + Send,
[INFO] [stderr]    |                ^^^^^^^^^^ help: a trait with a similar name exists: `ActorFuture`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.7.9/src/fut/mod.rs:80:1
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub trait ActorFuture {
[INFO] [stderr]    | --------------------- similarly named trait `ActorFuture` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0576]: cannot find associated type `Error` in `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:31:32
[INFO] [stderr]    |
[INFO] [stderr] 31 |     <M::Result as IntoFuture>::Error: From<MailboxError>,
[INFO] [stderr]    |                                ^^^^^ not found in `IntoFuture`
[INFO] [stderr] 
[INFO] [stderr] error[E0576]: cannot find associated type `Item` in `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:26:52
[INFO] [stderr]    |
[INFO] [stderr] 26 | ) -> impl Future<Item = <M::Result as IntoFuture>::Item, Error = <M::Result as IntoFuture>::Error>
[INFO] [stderr]    |                                                    ^^^^ not found in `IntoFuture`
[INFO] [stderr] 
[INFO] [stderr] error[E0576]: cannot find associated type `Error` in `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:26:93
[INFO] [stderr]    |
[INFO] [stderr] 26 | ) -> impl Future<Item = <M::Result as IntoFuture>::Item, Error = <M::Result as IntoFuture>::Error>
[INFO] [stderr]    |                                                                                             ^^^^^ not found in `IntoFuture`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:15:30
[INFO] [stderr]    |
[INFO] [stderr] 15 |         send(req.state().db, FindUser(user_id(&req)?)).response()
[INFO] [stderr]    |                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `config` in `{{root}}`
[INFO] [stderr]    --> src/lib/utils.rs:138:23
[INFO] [stderr]     |
[INFO] [stderr] 138 |         let image = ::config::TEST_IMAGE;
[INFO] [stderr]     |                       ^^^^^^ could not find `config` in `{{root}}`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `config` in `{{root}}`
[INFO] [stderr]    --> src/lib/utils.rs:157:47
[INFO] [stderr]     |
[INFO] [stderr] 157 |         let image = super::decode_b64_image(::config::TEST_IMAGE).unwrap();
[INFO] [stderr]     |                                               ^^^^^^ could not find `config` in `{{root}}`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lib/types.rs:27:27
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = HttpResponse, Error = Error>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::future::Future`
[INFO] [stderr]  --> src/controllers/user.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use futures::future::Future;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `Item` not found for `core::future::future::Future`
[INFO] [stderr]   --> src/lib/types.rs:27:34
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                                  ^^^^ associated type `Item` not found
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `Error` not found for `core::future::future::Future`
[INFO] [stderr]   --> src/lib/types.rs:27:55
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                                                       ^^^^^ associated type `Error` not found
[INFO] [stderr] 
[INFO] [stderr] error[E0191]: the value of the associated type `Output` (from trait `core::future::future::Future`) must be specified
[INFO] [stderr]   --> src/lib/types.rs:27:27
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future<Item = HttpResponse, Error = Error, Output = Type>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 59 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0191, E0220, E0404, E0425, E0432, E0576.
[INFO] [stderr] For more information about an error, try `rustc --explain E0191`.
[INFO] [stderr] error: could not compile `server_iop`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]   --> src/db/cultivation.rs:74:20
[INFO] [stderr]    |
[INFO] [stderr] 74 |         assert_eq!(cultivations::table.find(cultivation.id).select(cultivations::identifier).first::<String>(&POOL.get().unwrap()), Some("identifier".to_owned()));
[INFO] [stderr]    |                    ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]   --> src/db/cultivation.rs:74:68
[INFO] [stderr]    |
[INFO] [stderr] 74 |         assert_eq!(cultivations::table.find(cultivation.id).select(cultivations::identifier).first::<String>(&POOL.get().unwrap()), Some("identifier".to_owned()));
[INFO] [stderr]    |                                                                    ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]   --> src/db/cultivation.rs:88:17
[INFO] [stderr]    |
[INFO] [stderr] 88 |         assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::<Cultivation>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]    |                 ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]    --> src/db/cultivation.rs:101:17
[INFO] [stderr]     |
[INFO] [stderr] 101 |         assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::<Cultivation>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]    --> src/db/cultivation.rs:114:17
[INFO] [stderr]     |
[INFO] [stderr] 114 |         assert!(cultivations::table.filter(cultivation::identifier.eq("identifier")).first::<Cultivation>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]    --> src/db/cultivation.rs:122:52
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]    --> src/db/cultivation.rs:139:52
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Id`
[INFO] [stderr]    --> src/db/cultivation.rs:141:65
[INFO] [stderr]     |
[INFO] [stderr] 141 |         assert!(super::find(db, FindCultivation(cultivation.id, Id::min_value())).is_err());
[INFO] [stderr]     |                                                                 ^^ use of undeclared type or module `Id`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]    --> src/db/cultivation.rs:149:29
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slu, nickname: None, identifier: "identifier" }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                             ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `kingdom`
[INFO] [stderr]   --> src/db/event.rs:43:29
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                             ^^^^^^^ use of undeclared type or module `kingdom`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cultivations`
[INFO] [stderr]   --> src/db/event.rs:53:29
[INFO] [stderr]    |
[INFO] [stderr] 53 |         let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug: "species".to_owned(), nickname: None, identifier: "identifier".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                             ^^^^^^^^^^^^ use of undeclared type or module `cultivations`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:18:19
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let user_id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id
[INFO] [stderr]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:18:149
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let user_id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id
[INFO] [stderr]    |                                                                                                                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Phyla` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:20:46
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |     let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:24:13
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:25:24
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let species_slug = insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug: "species".to_owned() }).get_result(&POOL.get().unwrap()).unwrap().slug;
[INFO] [stderr]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap()
[INFO] [stderr]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Phyla` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:34:46
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |     let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:38:13
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `insert_into` in this scope
[INFO] [stderr]   --> src/lib/tests.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug: "species".to_owned() }).get_result(&POOL.get().unwrap()).unwrap().species_slug
[INFO] [stderr]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::dsl::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use diesel::query_builder::functions::insert_into;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stderr]    --> src/lib/tests.rs:100:26
[INFO] [stderr]     |
[INFO] [stderr] 100 |     pub static ref POOL: Pool = test_pool();
[INFO] [stderr]     |                          ^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: a builtin type with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 100 |     pub static ref POOL: bool = test_pool();
[INFO] [stderr]     |                          ^^^^
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use crate::lib::db::Pool;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use diesel::r2d2::Pool;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use r2d2::Pool;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `test_pool` in this scope
[INFO] [stderr]    --> src/lib/tests.rs:100:33
[INFO] [stderr]     |
[INFO] [stderr] 100 |     pub static ref POOL: Pool = test_pool();
[INFO] [stderr]     |                                 ^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use crate::lib::db::test_pool;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Database` in this scope
[INFO] [stderr]    --> src/lib/tests.rs:105:52
[INFO] [stderr]     |
[INFO] [stderr] 105 |     pub(crate) static ref DB: Mutex<&'static Mutex<Database>> =
[INFO] [stderr]     |                                                    ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use crate::db::Database;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Database` in this scope
[INFO] [stderr]    --> src/lib/tests.rs:106:39
[INFO] [stderr]     |
[INFO] [stderr] 106 |         Mutex::new(Box::leak(Box::new(Database(&*POOL).into())));
[INFO] [stderr]     |                                       ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use crate::db::Database;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Database` in this scope
[INFO] [stderr]    --> src/lib/tests.rs:128:41
[INFO] [stderr]     |
[INFO] [stderr] 128 | pub fn lock_db() -> MutexGuard<'static, Database> {
[INFO] [stderr]     |                                         ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use crate::db::Database;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 128 | pub fn lock_db<Database>() -> MutexGuard<'static, Database> {
[INFO] [stderr]     |               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0404]: expected trait, found struct `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:30:16
[INFO] [stderr]    |
[INFO] [stderr] 30 |     M::Result: IntoFuture + Send,
[INFO] [stderr]    |                ^^^^^^^^^^ help: a trait with a similar name exists: `ActorFuture`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.7.9/src/fut/mod.rs:80:1
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub trait ActorFuture {
[INFO] [stderr]    | --------------------- similarly named trait `ActorFuture` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0576]: cannot find associated type `Error` in `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:31:32
[INFO] [stderr]    |
[INFO] [stderr] 31 |     <M::Result as IntoFuture>::Error: From<MailboxError>,
[INFO] [stderr]    |                                ^^^^^ not found in `IntoFuture`
[INFO] [stderr] 
[INFO] [stderr] error[E0576]: cannot find associated type `Item` in `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:26:52
[INFO] [stderr]    |
[INFO] [stderr] 26 | ) -> impl Future<Item = <M::Result as IntoFuture>::Item, Error = <M::Result as IntoFuture>::Error>
[INFO] [stderr]    |                                                    ^^^^ not found in `IntoFuture`
[INFO] [stderr] 
[INFO] [stderr] error[E0576]: cannot find associated type `Error` in `IntoFuture`
[INFO] [stderr]   --> src/lib/utils.rs:26:93
[INFO] [stderr]    |
[INFO] [stderr] 26 | ) -> impl Future<Item = <M::Result as IntoFuture>::Item, Error = <M::Result as IntoFuture>::Error>
[INFO] [stderr]    |                                                                                             ^^^^^ not found in `IntoFuture`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `CultivationForm` in this scope
[INFO] [stderr]   --> src/controllers/cultivation.rs:89:20
[INFO] [stderr]    |
[INFO] [stderr] 89 |         let body = CultivationForm {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `NewCultivationForm`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/models/cultivation.rs:21:1
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct NewCultivationForm {
[INFO] [stderr]    | ----------------------------- similarly named struct `NewCultivationForm` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Id` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:36:25
[INFO] [stderr]    |
[INFO] [stderr] 36 |         cultivation_id: Id,
[INFO] [stderr]    |                         ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::types::Id;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:66:23
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let mut srv = new_server();
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::new_server;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:72:23
[INFO] [stderr]    |
[INFO] [stderr] 72 |         let mut srv = new_server();
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::new_server;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `authenticate_tester` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:73:22
[INFO] [stderr]    |
[INFO] [stderr] 73 |         let cookie = authenticate_tester(&mut srv);
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::authenticate_tester;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:79:23
[INFO] [stderr]    |
[INFO] [stderr] 79 |         let mut srv = new_server();
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::new_server;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `authenticate_tester` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:80:22
[INFO] [stderr]    |
[INFO] [stderr] 80 |         let cookie = authenticate_tester(&mut srv);
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::authenticate_tester;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_cultivation` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:81:18
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let id = new_cultivation().id;
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::db::event::tests::new_cultivation;
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::new_cultivation;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `signup` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:83:22
[INFO] [stderr]    |
[INFO] [stderr] 83 |         let cookie = signup(
[INFO] [stderr]    |                      ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::controllers::user::signup;
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::controllers::user::tests::signup;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:95:23
[INFO] [stderr]    |
[INFO] [stderr] 95 |         let mut srv = new_server();
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::new_server;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `authenticate_tester` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:96:22
[INFO] [stderr]    |
[INFO] [stderr] 96 |         let cookie = authenticate_tester(&mut srv);
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::authenticate_tester;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_cultivation` in this scope
[INFO] [stderr]   --> src/controllers/event.rs:97:18
[INFO] [stderr]    |
[INFO] [stderr] 97 |         let id = new_cultivation().id;
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::db::event::tests::new_cultivation;
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::lib::tests::new_cultivation;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:103:23
[INFO] [stderr]     |
[INFO] [stderr] 103 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `authenticate_tester` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:104:22
[INFO] [stderr]     |
[INFO] [stderr] 104 |         let cookie = authenticate_tester(&mut srv);
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::authenticate_tester;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_cultivation` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:105:27
[INFO] [stderr]     |
[INFO] [stderr] 105 |         let cultivation = new_cultivation();
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::db::event::tests::new_cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::new_cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:116:23
[INFO] [stderr]     |
[INFO] [stderr] 116 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:131:23
[INFO] [stderr]     |
[INFO] [stderr] 131 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_cultivation` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:132:26
[INFO] [stderr]     |
[INFO] [stderr] 132 |         let identifier = new_cultivation().identifier;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::db::event::tests::new_cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::new_cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:160:23
[INFO] [stderr]     |
[INFO] [stderr] 160 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_cultivation` in this scope
[INFO] [stderr]    --> src/controllers/event.rs:161:26
[INFO] [stderr]     |
[INFO] [stderr] 161 |         let identifier = new_cultivation().identifier;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::db::event::tests::new_cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 21  |     use crate::lib::tests::new_cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:15:30
[INFO] [stderr]    |
[INFO] [stderr] 15 |         send(req.state().db, FindUser(user_id(&req)?)).response()
[INFO] [stderr]    |                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `extract_header` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:70:22
[INFO] [stderr]    |
[INFO] [stderr] 70 |             assert!(&extract_header(r, "content-length") != "0");
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 47 |     use crate::lib::tests::extract_header;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `extract_header` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:72:25
[INFO] [stderr]    |
[INFO] [stderr] 72 |             assert_eq!(&extract_header(r, "content-length"), "0");
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 47 |     use crate::lib::tests::extract_header;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `extract_cookie` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:75:9
[INFO] [stderr]    |
[INFO] [stderr] 75 |         extract_cookie(&r)
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 47 |     use crate::lib::tests::extract_cookie;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `extract_header` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:87:22
[INFO] [stderr]    |
[INFO] [stderr] 87 |             assert!(&extract_header(r, "content-length") != "0");
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 47 |     use crate::lib::tests::extract_header;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `extract_header` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:89:25
[INFO] [stderr]    |
[INFO] [stderr] 89 |             assert_eq!(&extract_header(r, "content-length"), "0");
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 47 |     use crate::lib::tests::extract_header;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `set_cookie` in this scope
[INFO] [stderr]   --> src/controllers/user.rs:95:9
[INFO] [stderr]    |
[INFO] [stderr] 95 |         set_cookie(req, cookie);
[INFO] [stderr]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 47 |     use crate::lib::tests::set_cookie;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:103:23
[INFO] [stderr]     |
[INFO] [stderr] 103 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:115:23
[INFO] [stderr]     |
[INFO] [stderr] 115 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:134:23
[INFO] [stderr]     |
[INFO] [stderr] 134 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:153:23
[INFO] [stderr]     |
[INFO] [stderr] 153 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:159:23
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:165:23
[INFO] [stderr]     |
[INFO] [stderr] 165 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:171:23
[INFO] [stderr]     |
[INFO] [stderr] 171 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:185:23
[INFO] [stderr]     |
[INFO] [stderr] 185 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:202:23
[INFO] [stderr]     |
[INFO] [stderr] 202 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]    --> src/controllers/user.rs:215:23
[INFO] [stderr]     |
[INFO] [stderr] 215 |         let mut srv = new_server();
[INFO] [stderr]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 47  |     use crate::lib::tests::new_server;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Id` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:59:22
[INFO] [stderr]    |
[INFO] [stderr] 59 |     fn new_user() -> Id {
[INFO] [stderr]    |                      ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::lib::types::Id;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:60:42
[INFO] [stderr]    |
[INFO] [stderr] 60 |         insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id
[INFO] [stderr]    |                                          ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:60:139
[INFO] [stderr]    |
[INFO] [stderr] 60 |         insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id
[INFO] [stderr]    |                                                                                                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:60:190
[INFO] [stderr]    |
[INFO] [stderr] 60 |         insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id
[INFO] [stderr]    |                                                                                                                                                                                              ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::models::user::User;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 59 |     fn new_user<User>() -> Id {
[INFO] [stderr]    |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:68:42
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let cultivation = super::new(db, NewCultivation {
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:82:32
[INFO] [stderr]    |
[INFO] [stderr] 82 |         assert!(super::new(db, NewCultivation {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Cultivation` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:88:86
[INFO] [stderr]    |
[INFO] [stderr] 88 |         assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::<Cultivation>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]    |                                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::models::cultivation::Cultivation;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 78 |     fn new_user_empty_identifier<Cultivation>() {
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]   --> src/db/cultivation.rs:95:32
[INFO] [stderr]    |
[INFO] [stderr] 95 |         assert!(super::new(db, NewCultivation {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 56 |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Cultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:101:86
[INFO] [stderr]     |
[INFO] [stderr] 101 |         assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::<Cultivation>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]     |                                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::Cultivation;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 92  |     fn new_user_non_existing_species<Cultivation>() {
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:108:32
[INFO] [stderr]     |
[INFO] [stderr] 108 |         assert!(super::new(db, NewCultivation {
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Cultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:114:94
[INFO] [stderr]     |
[INFO] [stderr] 114 |         assert!(cultivations::table.filter(cultivation::identifier.eq("identifier")).first::<Cultivation>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]     |                                                                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::Cultivation;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 105 |     fn new_user_non_existing_user<Cultivation>() {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Cultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:122:26
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::Cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:122:80
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:124:37
[INFO] [stderr]     |
[INFO] [stderr] 124 |         assert_eq!(&super::find(db, FindCultivation(cultivation.id, user_id)).unwrap().identifier, "identifier");
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 124 |         assert_eq!(&super::find(db, cultivation(cultivation.id, user_id)).unwrap().identifier, "identifier");
[INFO] [stderr]     |                                     ^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::FindCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:131:33
[INFO] [stderr]     |
[INFO] [stderr] 131 |         assert!(super::find(db, FindCultivation(1, user_id)).is_err());
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::FindCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Cultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:139:26
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::Cultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:139:80
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:141:33
[INFO] [stderr]     |
[INFO] [stderr] 141 |         assert!(super::find(db, FindCultivation(cultivation.id, Id::min_value())).is_err());
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 141 |         assert!(super::find(db, cultivation(cultivation.id, Id::min_value())).is_err());
[INFO] [stderr]     |                                 ^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::FindCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:149:57
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slu, nickname: None, identifier: "identifier" }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `species_slu` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:149:83
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slu, nickname: None, identifier: "identifier" }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]     |                                                                                   ^^^^^^^^^^^ help: a local variable with a similar name exists: `species_slug`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IndexCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:151:38
[INFO] [stderr]     |
[INFO] [stderr] 151 |         assert_eq!(&super::index(db, IndexCultivation(user_id)).unwrap()[0].identifier, "identifier");
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::IndexCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IndexCultivation` in this scope
[INFO] [stderr]    --> src/db/cultivation.rs:157:38
[INFO] [stderr]     |
[INFO] [stderr] 157 |         assert_eq!(&super::index(db, IndexCultivation(1)).unwrap(), vec![]);
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 56  |     use crate::models::cultivation::IndexCultivation;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Kingdom` in this scope
[INFO] [stderr]   --> src/db/event.rs:43:52
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                    ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::taxonomy::Kingdom;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `id` in this scope
[INFO] [stderr]   --> src/db/event.rs:43:62
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                              ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::classes::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::cultivation::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::events::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::families::columns::id;
[INFO] [stderr]    |
[INFO] [stderr]      and 7 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Phyla` in this scope
[INFO] [stderr]   --> src/db/event.rs:44:50
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `id` in this scope
[INFO] [stderr]   --> src/db/event.rs:44:58
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                          ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::classes::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::cultivation::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::events::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::families::columns::id;
[INFO] [stderr]    |
[INFO] [stderr]      and 7 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Class` in this scope
[INFO] [stderr]   --> src/db/event.rs:45:52
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                    ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::taxonomy::Class;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `id` in this scope
[INFO] [stderr]   --> src/db/event.rs:45:60
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                            ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::classes::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::cultivation::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::events::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::families::columns::id;
[INFO] [stderr]    |
[INFO] [stderr]      and 7 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Order` in this scope
[INFO] [stderr]   --> src/db/event.rs:46:51
[INFO] [stderr]    |
[INFO] [stderr] 46 |         let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                   ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::taxonomy::Order;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use diesel::dsl::Order;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use diesel::helper_types::Order;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `id` in this scope
[INFO] [stderr]   --> src/db/event.rs:46:59
[INFO] [stderr]    |
[INFO] [stderr] 46 |         let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                           ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::classes::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::cultivation::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::events::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::families::columns::id;
[INFO] [stderr]    |
[INFO] [stderr]      and 7 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Family` in this scope
[INFO] [stderr]   --> src/db/event.rs:47:53
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                     ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::taxonomy::Family;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `id` in this scope
[INFO] [stderr]   --> src/db/event.rs:47:62
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                              ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::classes::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::cultivation::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::events::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::families::columns::id;
[INFO] [stderr]    |
[INFO] [stderr]      and 7 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Genus` in this scope
[INFO] [stderr]   --> src/db/event.rs:48:51
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                   ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::taxonomy::Genus;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `id` in this scope
[INFO] [stderr]   --> src/db/event.rs:48:59
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                           ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::classes::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::cultivation::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::events::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::families::columns::id;
[INFO] [stderr]    |
[INFO] [stderr]      and 7 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Species` in this scope
[INFO] [stderr]   --> src/db/event.rs:49:44
[INFO] [stderr]    |
[INFO] [stderr] 49 |         insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug: "species".to_owned() }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                            ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::taxonomy::Species;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `id` in this scope
[INFO] [stderr]   --> src/db/event.rs:49:54
[INFO] [stderr]    |
[INFO] [stderr] 49 |         insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug: "species".to_owned() }).get_result(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                      ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::classes::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::cultivation::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::events::columns::id;
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::families::columns::id;
[INFO] [stderr]    |
[INFO] [stderr]      and 7 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Id` in this scope
[INFO] [stderr]   --> src/db/event.rs:51:22
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let user_id: Id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id;
[INFO] [stderr]    |                      ^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::types::Id;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/event.rs:51:60
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let user_id: Id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id;
[INFO] [stderr]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in this scope
[INFO] [stderr]   --> src/db/event.rs:51:157
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let user_id: Id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id;
[INFO] [stderr]    |                                                                                                                                                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]   --> src/db/event.rs:51:208
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let user_id: Id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::<User>(&POOL.get().unwrap()).unwrap().id;
[INFO] [stderr]    |                                                                                                                                                                                                                ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::user::User;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn new_cultivation<User>(identifier: String) {
[INFO] [stderr]    |                       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope
[INFO] [stderr]   --> src/db/event.rs:53:57
[INFO] [stderr]    |
[INFO] [stderr] 53 |         let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug: "species".to_owned(), nickname: None, identifier: "identifier".to_owned() }).execute(&POOL.get().unwrap()).unwrap();
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::cultivation::NewCultivation;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewEvent` in this scope
[INFO] [stderr]   --> src/db/event.rs:60:36
[INFO] [stderr]    |
[INFO] [stderr] 60 |         let event = super::new(db, NewEvent {
[INFO] [stderr]    |                                    ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::event::NewEvent;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Event` in this scope
[INFO] [stderr]   --> src/db/event.rs:69:87
[INFO] [stderr]    |
[INFO] [stderr] 69 |         assert_eq!(&events::table.filter(events::identifier.eq("identifier")).first::<Event>(&POOL.get().unwrap()).unwrap().identifier, "identifier");
[INFO] [stderr]    |                                                                                       ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::event::Event;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 57 |     fn new_event_success<Event>() {
[INFO] [stderr]    |                         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewEvent` in this scope
[INFO] [stderr]   --> src/db/event.rs:75:32
[INFO] [stderr]    |
[INFO] [stderr] 75 |         assert!(super::new(db, NewEvent {
[INFO] [stderr]    |                                ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::event::NewEvent;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Event` in this scope
[INFO] [stderr]   --> src/db/event.rs:84:84
[INFO] [stderr]    |
[INFO] [stderr] 84 |         assert!(&events::table.filter(events::identifier.eq("identifier")).first::<Event>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]    |                                                                                    ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::event::Event;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 73 |     fn new_event_invalid_identifier<Event>() {
[INFO] [stderr]    |                                    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewEvent` in this scope
[INFO] [stderr]   --> src/db/event.rs:91:51
[INFO] [stderr]    |
[INFO] [stderr] 91 |         let _ = insert_into(events::table).values(NewEvent {
[INFO] [stderr]    |                                                   ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 39 |     use crate::models::event::NewEvent;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope
[INFO] [stderr]    --> src/db/event.rs:100:35
[INFO] [stderr]     |
[INFO] [stderr] 100 |         assert!(!super::index(db, IndexEvent(cultivation.id, 1)).unwrap().len().is_empty());
[INFO] [stderr]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 39  |     use crate::models::event::IndexEvent;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope
[INFO] [stderr]    --> src/db/event.rs:107:34
[INFO] [stderr]     |
[INFO] [stderr] 107 |         assert!(super::index(db, IndexEvent(cultivation.id, 1)).unwrap().is_empty());
[INFO] [stderr]     |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 39  |     use crate::models::event::IndexEvent;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope
[INFO] [stderr]    --> src/db/event.rs:113:34
[INFO] [stderr]     |
[INFO] [stderr] 113 |         assert!(super::index(db, IndexEvent(cultivation.id, 1)).is_err());
[INFO] [stderr]     |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 39  |     use crate::models::event::IndexEvent;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected value, found module `cultivation`
[INFO] [stderr]    --> src/db/event.rs:113:45
[INFO] [stderr]     |
[INFO] [stderr] 113 |         assert!(super::index(db, IndexEvent(cultivation.id, 1)).is_err());
[INFO] [stderr]     |                                             ^^^^^^^^^^^---
[INFO] [stderr]     |                                             |
[INFO] [stderr]     |                                             help: use the path separator to refer to an item: `cultivation::id`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope
[INFO] [stderr]    --> src/db/event.rs:120:34
[INFO] [stderr]     |
[INFO] [stderr] 120 |         assert!(super::index(db, IndexEvent(cultivation.id, 2)).is_err());
[INFO] [stderr]     |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 39  |     use crate::models::event::IndexEvent;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/user.rs:41:33
[INFO] [stderr]    |
[INFO] [stderr] 41 |         let id = super::new(db, NewUser {
[INFO] [stderr]    |                                 ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/user.rs:52:32
[INFO] [stderr]    |
[INFO] [stderr] 52 |         assert!(super::new(db, NewUser {
[INFO] [stderr]    |                                ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]   --> src/db/user.rs:57:38
[INFO] [stderr]    |
[INFO] [stderr] 57 |         assert!(users::table.first::<User>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::User;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 50 |     fn new_user_empty_username<User>() {
[INFO] [stderr]    |                               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/user.rs:63:32
[INFO] [stderr]    |
[INFO] [stderr] 63 |         assert!(super::new(db, NewUser {
[INFO] [stderr]    |                                ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]   --> src/db/user.rs:68:38
[INFO] [stderr]    |
[INFO] [stderr] 68 |         assert!(users::table.first::<User>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::User;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 61 |     fn new_user_empty_email<User>() {
[INFO] [stderr]    |                            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/user.rs:74:32
[INFO] [stderr]    |
[INFO] [stderr] 74 |         assert!(super::new(db, NewUser {
[INFO] [stderr]    |                                ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]   --> src/db/user.rs:79:38
[INFO] [stderr]    |
[INFO] [stderr] 79 |         assert!(users::table.first::<User>(&POOL.get().unwrap()).is_err());
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::User;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 72 |     fn new_user_empty_hash<User>() {
[INFO] [stderr]    |                           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/user.rs:85:32
[INFO] [stderr]    |
[INFO] [stderr] 85 |         let _ = super::new(db, NewUser {
[INFO] [stderr]    |                                ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]   --> src/db/user.rs:88:35
[INFO] [stderr]    |
[INFO] [stderr] 88 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/lib/auth.rs:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]    | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]    |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 88 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]   --> src/db/user.rs:91:32
[INFO] [stderr]    |
[INFO] [stderr] 91 |         assert!(super::new(db, NewUser {
[INFO] [stderr]    |                                ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::NewUser;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]   --> src/db/user.rs:94:35
[INFO] [stderr]    |
[INFO] [stderr] 94 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/lib/auth.rs:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]    | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]    |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 94 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]   --> src/db/user.rs:96:42
[INFO] [stderr]    |
[INFO] [stderr] 96 |         assert_eq!(users::table.filter::<User>(&POOL.get().unwrap()).unwrap().len(), 1);
[INFO] [stderr]    |                                          ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::models::user::User;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 83 |     fn new_user_non_unique_username<User>() {
[INFO] [stderr]    |                                    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:102:32
[INFO] [stderr]     |
[INFO] [stderr] 102 |         let _ = super::new(db, NewUser {
[INFO] [stderr]     |                                ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::NewUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]    --> src/db/user.rs:105:35
[INFO] [stderr]     |
[INFO] [stderr] 105 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib/auth.rs:32:1
[INFO] [stderr]     |
[INFO] [stderr] 32  | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]     | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 105 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:108:32
[INFO] [stderr]     |
[INFO] [stderr] 108 |         assert!(super::new(db, NewUser {
[INFO] [stderr]     |                                ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::NewUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]    --> src/db/user.rs:111:35
[INFO] [stderr]     |
[INFO] [stderr] 111 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib/auth.rs:32:1
[INFO] [stderr]     |
[INFO] [stderr] 32  | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]     | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 111 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]    --> src/db/user.rs:113:42
[INFO] [stderr]     |
[INFO] [stderr] 113 |         assert_eq!(users::table.filter::<User>(&POOL.get().unwrap()).unwrap().len(), 1);
[INFO] [stderr]     |                                          ^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::User;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 100 |     fn new_user_non_unique_email<User>() {
[INFO] [stderr]     |                                 ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `User` in this scope
[INFO] [stderr]    --> src/db/user.rs:119:19
[INFO] [stderr]     |
[INFO] [stderr] 119 |         let user: User = insert_into(users::table).values(NewUser {
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::User;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:119:59
[INFO] [stderr]     |
[INFO] [stderr] 119 |         let user: User = insert_into(users::table).values(NewUser {
[INFO] [stderr]     |                                                           ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::NewUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]    --> src/db/user.rs:122:35
[INFO] [stderr]     |
[INFO] [stderr] 122 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib/auth.rs:32:1
[INFO] [stderr]     |
[INFO] [stderr] 32  | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]     | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 122 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `find` in module `super`
[INFO] [stderr]    --> src/db/user.rs:125:28
[INFO] [stderr]     |
[INFO] [stderr] 125 |         assert_eq!(&super::find(db, FindUser(user.id)).unwrap().username, "username");
[INFO] [stderr]     |                            ^^^^ not found in `super`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::controllers::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::db::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:125:37
[INFO] [stderr]     |
[INFO] [stderr] 125 |         assert_eq!(&super::find(db, FindUser(user.id)).unwrap().username, "username");
[INFO] [stderr]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `find` in module `super`
[INFO] [stderr]    --> src/db/user.rs:131:24
[INFO] [stderr]     |
[INFO] [stderr] 131 |         assert!(super::find(db, FindUser(1)).is_err());
[INFO] [stderr]     |                        ^^^^ not found in `super`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::controllers::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::db::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:131:33
[INFO] [stderr]     |
[INFO] [stderr] 131 |         assert!(super::find(db, FindUser(1)).is_err());
[INFO] [stderr]     |                                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `find` in module `super`
[INFO] [stderr]    --> src/db/user.rs:138:25
[INFO] [stderr]     |
[INFO] [stderr] 138 |         assert!(&super::find(db, FindByUsername("username".to_owned())).is_err());
[INFO] [stderr]     |                         ^^^^ not found in `super`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::controllers::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::db::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindByUsername` in this scope
[INFO] [stderr]    --> src/db/user.rs:138:34
[INFO] [stderr]     |
[INFO] [stderr] 138 |         assert!(&super::find(db, FindByUsername("username".to_owned())).is_err());
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:139:50
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let _ = insert_into(users::table).values(NewUser {
[INFO] [stderr]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::NewUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]    --> src/db/user.rs:142:35
[INFO] [stderr]     |
[INFO] [stderr] 142 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib/auth.rs:32:1
[INFO] [stderr]     |
[INFO] [stderr] 32  | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]     | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 142 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `find` in module `super`
[INFO] [stderr]    --> src/db/user.rs:145:28
[INFO] [stderr]     |
[INFO] [stderr] 145 |         assert_eq!(&super::find(db, FindByUsername("username".to_owned())).unwrap().username, "username");
[INFO] [stderr]     |                            ^^^^ not found in `super`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::controllers::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::db::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindByUsername` in this scope
[INFO] [stderr]    --> src/db/user.rs:145:37
[INFO] [stderr]     |
[INFO] [stderr] 145 |         assert_eq!(&super::find(db, FindByUsername("username".to_owned())).unwrap().username, "username");
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `find` in module `super`
[INFO] [stderr]    --> src/db/user.rs:151:24
[INFO] [stderr]     |
[INFO] [stderr] 151 |         assert!(super::find(db, FindByUsername("username".to_owned())).is_err());
[INFO] [stderr]     |                        ^^^^ not found in `super`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::controllers::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::db::cultivation::find;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindByUsername` in this scope
[INFO] [stderr]    --> src/db/user.rs:151:33
[INFO] [stderr]     |
[INFO] [stderr] 151 |         assert!(super::find(db, FindByUsername("username".to_owned())).is_err());
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:157:50
[INFO] [stderr]     |
[INFO] [stderr] 157 |         let _ = insert_into(users::table).values(NewUser {
[INFO] [stderr]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::NewUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]    --> src/db/user.rs:160:35
[INFO] [stderr]     |
[INFO] [stderr] 160 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib/auth.rs:32:1
[INFO] [stderr]     |
[INFO] [stderr] 32  | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]     | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 160 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AuthenticateUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:169:42
[INFO] [stderr]     |
[INFO] [stderr] 169 |         assert!(&super::authenticate(db, AuthenticateUser("username".to_owned(), "password".to_owned())).is_err());
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::AuthenticateUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:175:50
[INFO] [stderr]     |
[INFO] [stderr] 175 |         let _ = insert_into(users::table).values(NewUser {
[INFO] [stderr]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::NewUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `password_hash` in module `super`
[INFO] [stderr]    --> src/db/user.rs:178:35
[INFO] [stderr]     |
[INFO] [stderr] 178 |             password_hash: super::password_hash("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/lib/auth.rs:32:1
[INFO] [stderr]     |
[INFO] [stderr] 32  | pub fn hash_password(password: &str) -> Result<String, Error> {
[INFO] [stderr]     | ------------------------------------------------------------- similarly named function `hash_password` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: a function with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 178 |             password_hash: super::hash_password("password").unwrap(),
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::lib::schema::users::columns::password_hash;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AuthenticateUser` in this scope
[INFO] [stderr]    --> src/db/user.rs:181:42
[INFO] [stderr]     |
[INFO] [stderr] 181 |         assert!(&super::authenticate(db, AuthenticateUser("username".to_owned(), "password2".to_owned())).is_err());
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 35  |     use crate::models::user::AuthenticateUser;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::Connection`
[INFO] [stderr]   --> src/lib/db.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 23 |     use diesel::Connection;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `lib::tests::POOL`
[INFO] [stderr]  --> src/lib/tests.rs:3:25
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{prelude::*, lib::tests::POOL, router::router, lib::schema::*};
[INFO] [stderr]   |                         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `client::ClientResponse`
[INFO] [stderr]  --> src/lib/tests.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     client::ClientResponse,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::future::Future`
[INFO] [stderr]   --> src/lib/tests.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use futures::future::Future;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lib/types.rs:27:27
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = HttpResponse, Error = Error>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::future::Future`
[INFO] [stderr]   --> src/controllers/cultivation.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     use futures::future::Future;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tests::POOL`
[INFO] [stderr]   --> src/controllers/cultivation.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 30 |         tests::POOL, router::router, tests::authenticate_tester, tests::new_species, tests::set_cookie, tests::extract_header, tests::new_server,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::future::Future`
[INFO] [stderr]   --> src/controllers/event.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     use futures::future::Future;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::future::Future`
[INFO] [stderr]  --> src/controllers/user.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use futures::future::Future;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::Future`
[INFO] [stderr]   --> src/controllers/user.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |     use futures::Future;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::str::from_utf8`
[INFO] [stderr]   --> src/controllers/user.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |     use std::str::from_utf8;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `Item` not found for `core::future::future::Future`
[INFO] [stderr]   --> src/lib/types.rs:27:34
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                                  ^^^^ associated type `Item` not found
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `Error` not found for `core::future::future::Future`
[INFO] [stderr]   --> src/lib/types.rs:27:55
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                                                       ^^^^^ associated type `Error` not found
[INFO] [stderr] 
[INFO] [stderr] error[E0191]: the value of the associated type `Output` (from trait `core::future::future::Future`) must be specified
[INFO] [stderr]   --> src/lib/types.rs:27:27
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type HttpFuture = Box<Future<Item = HttpResponse, Error = Error>>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future<Item = HttpResponse, Error = Error, Output = Type>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 245 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0191, E0220, E0255, E0404, E0412, E0422, E0423, E0425, E0432...
[INFO] [stderr] For more information about an error, try `rustc --explain E0191`.
[INFO] [stderr] error: could not compile `server_iop`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "0e2d58db5cc1ada232d87bc83c32ddc8b31353ea374524c1ec41b051746b9cb8"`
[INFO] running `"docker" "rm" "-f" "0e2d58db5cc1ada232d87bc83c32ddc8b31353ea374524c1ec41b051746b9cb8"`
[INFO] [stdout] 0e2d58db5cc1ada232d87bc83c32ddc8b31353ea374524c1ec41b051746b9cb8
