[INFO] cloning repository https://github.com/internet-of-plants/server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/internet-of-plants/server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finternet-of-plants%2Fserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finternet-of-plants%2Fserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad2431ff9b905fe215cf5bf30439f47cc66a0d8a [INFO] checking internet-of-plants/server against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finternet-of-plants%2Fserver" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/internet-of-plants/server on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Downloading crates ... [INFO] [stderr] Downloaded codegen v0.1.3 [INFO] [stderr] Downloaded tokio-rustls v0.8.1 [INFO] [stderr] Downloaded validator_derive v0.8.0 [INFO] [stderr] Downloaded validator v0.8.0 [INFO] [stderr] Downloaded slugify v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e8a0cb6e0ca3e96f448769b35084855199bb4e16c04ea0d19e54129db8e5e60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4e8a0cb6e0ca3e96f448769b35084855199bb4e16c04ea0d19e54129db8e5e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e8a0cb6e0ca3e96f448769b35084855199bb4e16c04ea0d19e54129db8e5e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e8a0cb6e0ca3e96f448769b35084855199bb4e16c04ea0d19e54129db8e5e60", kill_on_drop: false }` [INFO] [stdout] 4e8a0cb6e0ca3e96f448769b35084855199bb4e16c04ea0d19e54129db8e5e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d9644df7fd9ccfb42d890de8c51031e97e8c8ee2062d82d69876fd974b4ab01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d9644df7fd9ccfb42d890de8c51031e97e8c8ee2062d82d69876fd974b4ab01", kill_on_drop: false }` [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] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.6 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tower-service v0.1.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking slugify v0.1.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking codegen v0.1.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rayon-core v1.8.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-signal v0.2.9 [INFO] [stderr] Checking rustls v0.14.0 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-rustls v0.8.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking v_escape v0.7.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking trust-dns-resolver v0.10.3 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking actix-net v0.2.6 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [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] [stdout] warning: lint `legacy_directory_ownership` has been removed: `converted into hard error, see issue #37872 for more information` [INFO] [stdout] --> src/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | legacy_directory_ownership, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired` [INFO] [stdout] --> src/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `safe_extern_statics` has been removed: `converted into hard error, see issue #36247 for more information` [INFO] [stdout] --> src/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | safe_extern_statics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | unions_with_drop_fields, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `legacy_directory_ownership` has been removed: `converted into hard error, see issue #37872 for more information` [INFO] [stdout] --> src/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | legacy_directory_ownership, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired` [INFO] [stdout] --> src/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `safe_extern_statics` has been removed: `converted into hard error, see issue #36247 for more information` [INFO] [stdout] --> src/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | safe_extern_statics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | unions_with_drop_fields, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib/tests.rs:18:239 [INFO] [stdout] | [INFO] [stdout] 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::(&POOL.get().unwrap()).unwrap().id [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 19 | let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get().unwrap()).unwrap(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/cultivation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `,` [INFO] [stdout] --> src/db/user.rs:163:128 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(&super::authenticate(db, AuthenticateUser("username".to_owned(), "password".to_owned())).unwrap().username, ,"username"); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/cultivation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/event.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `POOL` is defined multiple times [INFO] [stdout] --> src/lib/tests.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{prelude::*, lib::tests::POOL, router::router, lib::schema::*}; [INFO] [stdout] | ---------------- previous import of the type `POOL` here [INFO] [stdout] ... [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | /// Database connection pool used in tests [INFO] [stdout] 100 | | pub static ref POOL: Pool = test_pool(); [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | Mutex::new(Box::leak(Box::new(Database(&*POOL).into()))); [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ `POOL` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `POOL` must be defined only once in the type namespace of this module [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{prelude::*, lib::tests::POOL as OtherPOOL, router::router, lib::schema::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/taxonomy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `POOL` is defined multiple times [INFO] [stdout] --> src/lib/tests.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{prelude::*, lib::tests::POOL, router::router, lib::schema::*}; [INFO] [stdout] | ---------------- previous import of the value `POOL` here [INFO] [stdout] ... [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | /// Database connection pool used in tests [INFO] [stdout] 100 | | pub static ref POOL: Pool = test_pool(); [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 106 | | Mutex::new(Box::leak(Box::new(Database(&*POOL).into()))); [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ `POOL` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `POOL` must be defined only once in the value namespace of this module [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{prelude::*, lib::tests::POOL as OtherPOOL, router::router, lib::schema::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/cultivation.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/cultivation.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[controller(log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/cultivation.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[controller(json, validate, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/event.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[controller(log, path, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/event.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[controller(log, json, validate, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | view_controller!(find, super::FindKingdomBySlug); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[controller(log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | view_controller!(index, super::IndexKingdom); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | view_controller!(find, super::FindPhylumBySlug); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | view_controller!(index_slug, super::IndexPhylum); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | view_controller!(find, super::FindClassBySlug); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | view_controller!(index_slug, super::IndexClass); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | view_controller!(find, super::FindOrderBySlug); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | view_controller!(index_slug, super::IndexOrder); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | view_controller!(find, super::FindFamilyBySlug); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | view_controller!(index_slug, super::IndexFamily); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | view_controller!(find, super::FindGenusBySlug); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | view_controller!(index_slug, super::IndexGenus); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | view_controller!(find, super::FindSpeciesBySlug); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | view_controller!(index_slug, super::IndexSpecies); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/user.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(validate, log, json, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/user.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[controller(log, json, validate, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/user.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[controller(log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/cultivation.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/cultivation.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/cultivation.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/event.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/event.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/user.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/user.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diesel::insert` [INFO] [stdout] --> src/lib/tests.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use diesel::{insert, prelude::*}; [INFO] [stdout] | ^^^^^^ no `insert` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::lib::db::test_db` [INFO] [stdout] --> src/lib/tests.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | use crate::lib::db::test_db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `test_db` in `lib::db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::lib::db::clear` [INFO] [stdout] --> src/lib/tests.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::{actors::db::Database, lib::db::clear, tests::DB, tests::POOL}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `clear` in `lib::db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/cultivation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::lib::router` [INFO] [stdout] --> src/controllers/cultivation.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | ... tests::POOL, router::router, tests::authenticate_tester, tests::new_species, tests::set_cookie, tests::extract_header, tests::new_s... [INFO] [stdout] | ^^^^^^ could not find `router` in `lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::controller` [INFO] [stdout] --> src/controllers/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codegen::controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `controller` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/cultivation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::lib::utils::hash_password` [INFO] [stdout] --> src/db/cultivation.rs:57:62 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::lib::{tests::lock_db, schema::*, tests::POOL, utils::hash_password, tests::new_species}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `hash_password` in `lib::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/event.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::lib::utils::hash_password` [INFO] [stdout] --> src/db/event.rs:40:62 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::lib::{tests::lock_db, schema::*, tests::POOL, utils::hash_password}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `hash_password` in `lib::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/taxonomy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::handler` [INFO] [stdout] --> src/db/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::actors::db`, `crate::tests`, `crate::tests` [INFO] [stdout] --> src/lib/tests.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::{actors::db::Database, lib::db::clear, tests::DB, tests::POOL}; [INFO] [stdout] | ^^ ^^^^^ ^^^^^ unresolved import [INFO] [stdout] | | | [INFO] [stdout] | | unresolved import [INFO] [stdout] | could not find `db` in `actors` [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 129 | use crate::{actors::db::Database, lib::db::clear, crate::lib::tests::DB, tests::POOL}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 129 | use crate::{actors::db::Database, lib::db::clear, tests::DB, crate::lib::tests::POOL}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lib` [INFO] [stdout] --> src/controllers/event.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use lib::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lib` [INFO] [stdout] --> src/controllers/user.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use lib::{db::test_pool, router::router, tests::extract_cookie, tests::set_cookie, tests::new_server, tests::new_species}; [INFO] [stdout] | ^^^ use of undeclared crate or module `lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/lib/utils.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | use config::{IMAGE_PATH, THUMB_PATH}; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::config` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `controllers` [INFO] [stdout] --> src/controllers/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use controllers::user::tests::signup; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `controllers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/controllers/event.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use controllers::user::tests::signup; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | db::test_pool, router::router, tests::authenticate_tester, tests::new_cultivation, types::*, tests::new_server [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/controllers/user.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use models::{SigninForm, SignupForm}; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `models` [INFO] [stdout] --> src/controllers/event.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use models::{EventForm, EventView}; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::models` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/cultivation.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/cultivation.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[controller(log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/cultivation.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[controller(json, validate, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/event.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[controller(log, path, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/event.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[controller(log, json, validate, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `opt_cookie` in this scope [INFO] [stdout] --> src/controllers/event.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | opt_cookie!(req, cookie); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/controllers/event.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(header!(r, "content-length"), size); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/controllers/event.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(header!(r, "content-length"), "0"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | view_controller!(find, super::FindKingdomBySlug); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[controller(log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | view_controller!(index, super::IndexKingdom); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | view_controller!(find, super::FindPhylumBySlug); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | view_controller!(index_slug, super::IndexPhylum); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | view_controller!(find, super::FindClassBySlug); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | view_controller!(index_slug, super::IndexClass); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | view_controller!(find, super::FindOrderBySlug); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | view_controller!(index_slug, super::IndexOrder); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | view_controller!(find, super::FindFamilyBySlug); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | view_controller!(index_slug, super::IndexFamily); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | view_controller!(find, super::FindGenusBySlug); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | view_controller!(index_slug, super::IndexGenus); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | view_controller!(find, super::FindSpeciesBySlug); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/taxonomy.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[controller(path, log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | view_controller!(index_slug, super::IndexSpecies); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/user.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[controller(validate, log, json, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/user.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[controller(log, json, validate, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/controllers/user.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[controller(log, inline)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/cultivation.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/cultivation.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/cultivation.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/event.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/event.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/taxonomy.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/user.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `handler` [INFO] [stdout] --> src/db/user.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/lib/db.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let url = env::var("DATABASE_TEST_URL") [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | M::Result: IntoFuture + Send, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.7.9/src/fut/mod.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub trait ActorFuture { [INFO] [stdout] | --------------------- similarly named trait `ActorFuture` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 | M::Result: ActorFuture + Send, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actors::signal::unix::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::io::io::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Error` in `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | ::Error: From, [INFO] [stdout] | ^^^^^ not found in `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Item` in `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future::Item, Error = ::Error> [INFO] [stdout] | ^^^^ not found in `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Error` in `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:26:93 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future::Item, Error = ::Error> [INFO] [stdout] | ^^^^^ not found in `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kingdom` [INFO] [stdout] --> src/lib/tests.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get(... [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kingdom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope [INFO] [stdout] --> src/controllers/user.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | send(req.state().db, FindUser(user_id(&req)?)).response() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/types.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/controllers/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/lib/tests.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_resul... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kingdom` [INFO] [stdout] --> src/lib/tests.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get(... [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kingdom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> src/lib/types.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> src/lib/types.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` (from trait `futures::Future`) must be specified [INFO] [stdout] --> src/lib/types.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 59 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0220, E0404, E0425, E0432, E0576. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [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] [stdout] error[E0433]: failed to resolve: could not find `config` in `{{root}}` [INFO] [stdout] --> src/lib/utils.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let image = ::config::TEST_IMAGE; [INFO] [stdout] | ^^^^^^ could not find `config` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `config` in `{{root}}` [INFO] [stdout] --> src/lib/utils.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | let image = super::decode_b64_image(::config::TEST_IMAGE).unwrap(); [INFO] [stdout] | ^^^^^^ could not find `config` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | ... assert_eq!(cultivations::table.find(cultivation.id).select(cultivations::identifier).first::(&POOL.get().unwrap()), Some("i... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | ... assert_eq!(cultivations::table.find(cultivation.id).select(cultivations::identifier).first::(&POOL.get().unwrap()), Some("i... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(cultivations::table.filter(cultivation::identifier.eq("identifier")).first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:122:52 [INFO] [stdout] | [INFO] [stdout] 122 | ... let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, iden... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | ... let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, iden... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/cultivation.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | ... let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slu, nickname: None, identifier: "identifier" }).... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kingdom` [INFO] [stdout] --> src/db/event.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | ... let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.ge... [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kingdom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cultivations` [INFO] [stdout] --> src/db/event.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | ... let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug: "species".to_owned(), nickname: None, ident... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `cultivations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let user_id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), pass... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in this scope [INFO] [stdout] --> src/lib/tests.rs:18:149 [INFO] [stdout] | [INFO] [stdout] 18 | ... "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::(&POOL.get().unwrap()).unwrap(... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get(... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Phyla` in this scope [INFO] [stdout] --> src/lib/tests.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to_o... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_owne... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".to... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_ow... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let species_slug = insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug:... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, identifier: "identifier" }).get_resul... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.get(... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Phyla` in this scope [INFO] [stdout] --> src/lib/tests.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".to... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to_o... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_owne... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".to... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_ow... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/lib/tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug: "species".to_owned... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::user::insert_into; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> src/lib/tests.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | pub static ref POOL: Pool = test_pool(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 100 | pub static ref POOL: bool = test_pool(); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pool; [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::r2d2::Pool; [INFO] [stdout] | [INFO] [stdout] 3 | use r2d2::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_pool` in this scope [INFO] [stdout] --> src/lib/tests.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | pub static ref POOL: Pool = test_pool(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lib::db::test_pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Database` in this scope [INFO] [stdout] --> src/lib/tests.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) static ref DB: Mutex<&'static Mutex> = [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Database` in this scope [INFO] [stdout] --> src/lib/tests.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | Mutex::new(Box::leak(Box::new(Database(&*POOL).into()))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Database` in this scope [INFO] [stdout] --> src/lib/tests.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn lock_db() -> MutexGuard<'static, Database> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::Database; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | M::Result: IntoFuture + Send, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.7.9/src/fut/mod.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub trait ActorFuture { [INFO] [stdout] | --------------------- similarly named trait `ActorFuture` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 | M::Result: ActorFuture + Send, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::actors::signal::unix::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::io::io::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Error` in `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | ::Error: From, [INFO] [stdout] | ^^^^^ not found in `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Item` in `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future::Item, Error = ::Error> [INFO] [stdout] | ^^^^ not found in `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Error` in `IntoFuture` [INFO] [stdout] --> src/lib/utils.rs:26:93 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl Future::Item, Error = ::Error> [INFO] [stdout] | ^^^^^ not found in `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CultivationForm` in this scope [INFO] [stdout] --> src/controllers/cultivation.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let body = CultivationForm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `NewCultivationForm` [INFO] [stdout] | [INFO] [stdout] ::: src/models/cultivation.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NewCultivationForm { [INFO] [stdout] | ----------------------------- similarly named struct `NewCultivationForm` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Id` in this scope [INFO] [stdout] --> src/controllers/event.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | cultivation_id: Id, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `authenticate_tester` in this scope [INFO] [stdout] --> src/controllers/event.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let cookie = authenticate_tester(&mut srv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::authenticate_tester; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `authenticate_tester` in this scope [INFO] [stdout] --> src/controllers/event.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let cookie = authenticate_tester(&mut srv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::authenticate_tester; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_cultivation` in this scope [INFO] [stdout] --> src/controllers/event.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | let id = new_cultivation().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `signup` in this scope [INFO] [stdout] --> src/controllers/event.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let cookie = signup( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::controllers::user::signup; [INFO] [stdout] | [INFO] [stdout] 21 | use crate::controllers::user::tests::signup; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `authenticate_tester` in this scope [INFO] [stdout] --> src/controllers/event.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let cookie = authenticate_tester(&mut srv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::authenticate_tester; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_cultivation` in this scope [INFO] [stdout] --> src/controllers/event.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | let id = new_cultivation().id; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `authenticate_tester` in this scope [INFO] [stdout] --> src/controllers/event.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let cookie = authenticate_tester(&mut srv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::authenticate_tester; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_cultivation` in this scope [INFO] [stdout] --> src/controllers/event.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | let cultivation = new_cultivation(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_cultivation` in this scope [INFO] [stdout] --> src/controllers/event.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let identifier = new_cultivation().identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/event.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_cultivation` in this scope [INFO] [stdout] --> src/controllers/event.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | let identifier = new_cultivation().identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 21 | use crate::lib::tests::new_cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope [INFO] [stdout] --> src/controllers/user.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | send(req.state().db, FindUser(user_id(&req)?)).response() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_header` in this scope [INFO] [stdout] --> src/controllers/user.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | assert!(&extract_header(r, "content-length") != "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::extract_header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_header` in this scope [INFO] [stdout] --> src/controllers/user.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(&extract_header(r, "content-length"), "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::extract_header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_cookie` in this scope [INFO] [stdout] --> src/controllers/user.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | extract_cookie(&r) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::extract_cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_header` in this scope [INFO] [stdout] --> src/controllers/user.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(&extract_header(r, "content-length") != "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::extract_header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_header` in this scope [INFO] [stdout] --> src/controllers/user.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(&extract_header(r, "content-length"), "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::extract_header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_cookie` in this scope [INFO] [stdout] --> src/controllers/user.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | set_cookie(req, cookie); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::set_cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> src/controllers/user.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | let mut srv = new_server(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lib::tests::new_server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Id` in this scope [INFO] [stdout] --> src/db/cultivation.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn new_user() -> Id { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 56 | use crate::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/cultivation.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | ... insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned(), password_hash: p... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in this scope [INFO] [stdout] --> src/db/cultivation.rs:60:139 [INFO] [stdout] | [INFO] [stdout] 60 | ... "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::(&POOL.get().unwrap()).unwrap(... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/cultivation.rs:60:190 [INFO] [stdout] | [INFO] [stdout] 60 | ...: password_hash("password").unwrap() }).get_result::(&POOL.get().unwrap()).unwrap().id [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | let cultivation = super::new(db, NewCultivation { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(super::new(db, NewCultivation { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:88:86 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::Cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(super::new(db, NewCultivation { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:101:86 [INFO] [stdout] | [INFO] [stdout] 101 | assert!(cultivations::table.filter(cultivation::user_id.eq(user_id)).first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::Cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(super::new(db, NewCultivation { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:114:94 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(cultivations::table.filter(cultivation::identifier.eq("identifier")).first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::Cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | ... let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, iden... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::Cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:122:80 [INFO] [stdout] | [INFO] [stdout] 122 | ... let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, iden... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(&super::find(db, FindCultivation(cultivation.id, user_id)).unwrap().identifier, "identifier"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(&super::find(db, cultivation(cultivation.id, user_id)).unwrap().identifier, "identifier"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::FindCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(super::find(db, FindCultivation(1, user_id)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::FindCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | ... let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, iden... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::Cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:139:80 [INFO] [stdout] | [INFO] [stdout] 139 | ... let cultivation: Cultivation = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug, nickname: None, iden... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | assert!(super::find(db, FindCultivation(cultivation.id, Id::min_value())).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 141 | assert!(super::find(db, cultivation(cultivation.id, Id::min_value())).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::FindCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/db/cultivation.rs:141:65 [INFO] [stdout] | [INFO] [stdout] 141 | assert!(super::find(db, FindCultivation(cultivation.id, Id::min_value())).is_err()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 56 | use crate::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:149:57 [INFO] [stdout] | [INFO] [stdout] 149 | ... let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slu, nickname: None, identifier: "identifier" }).... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `species_slu` in this scope [INFO] [stdout] --> src/db/cultivation.rs:149:83 [INFO] [stdout] | [INFO] [stdout] 149 | ...s(NewCultivation { user_id, species_slu, nickname: None, identifier: "identifier" }).execute(&POOL.get().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `species_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IndexCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(&super::index(db, IndexCultivation(user_id)).unwrap()[0].identifier, "identifier"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::IndexCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IndexCultivation` in this scope [INFO] [stdout] --> src/db/cultivation.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(&super::index(db, IndexCultivation(1)).unwrap(), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 56 | use crate::IndexCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Kingdom` in this scope [INFO] [stdout] --> src/db/event.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | ... let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.ge... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Kingdom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/event.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | ... let _ = insert_into(kingdom::table).values(Kingdom { id, name: "Kingdom".to_owned(), slug: "kingdom".to_owned() }).execute(&POOL.ge... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::classes::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::events::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::families::id; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Phyla` in this scope [INFO] [stdout] --> src/db/event.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | ... let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/event.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | ... let _ = insert_into(phyla::table).values(Phyla { id, kingdom_slug: "kingdom".to_owned(), name: "Phylum".to_owned(), slug: "phylum".... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::classes::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::events::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::families::id; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Class` in this scope [INFO] [stdout] --> src/db/event.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | ... let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Class; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/event.rs:45:60 [INFO] [stdout] | [INFO] [stdout] 45 | ... let _ = insert_into(classes::table).values(Class { id, phylum_slug: "phylum".to_owned(), name: "Class".to_owned(), slug: "class".to... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::classes::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::events::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::families::id; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Order` in this scope [INFO] [stdout] --> src/db/event.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | ... let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_ow... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Order; [INFO] [stdout] | [INFO] [stdout] 39 | use diesel::helper_types::Order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/event.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | ... let _ = insert_into(orders::table).values(Order { id, class_slug: "class".to_owned(), name: "Order".to_owned(), slug: "order".to_ow... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::classes::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::events::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::families::id; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Family` in this scope [INFO] [stdout] --> src/db/event.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | ... let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Family; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/event.rs:47:62 [INFO] [stdout] | [INFO] [stdout] 47 | ... let _ = insert_into(families::table).values(Family { id, class_slug: "class".to_owned(), name: "Family".to_owned(), slug: "family".... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::classes::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::events::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::families::id; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Genus` in this scope [INFO] [stdout] --> src/db/event.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | ... let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Genus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/event.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 48 | ... let _ = insert_into(genera::table).values(Genus { id, family_slug: "family".to_owned(), name: "Genus".to_owned(), slug: "genus".to_... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::classes::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::events::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::families::id; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Species` in this scope [INFO] [stdout] --> src/db/event.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | ... insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug: "species".to_own... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Species; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/event.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | ... insert_into(species::table).values(Species { id, genus_slug: "genus".to_owned(), name: "Species".to_owned(), slug: "species".to_own... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::classes::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::events::id; [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::families::id; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Id` in this scope [INFO] [stdout] --> src/db/event.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | ... let user_id: Id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned()... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/event.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | ... let user_id: Id = insert_into(users::table).values(NewUser { username: "username".to_owned(), email: "email@example.com".to_owned()... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in this scope [INFO] [stdout] --> src/db/event.rs:51:157 [INFO] [stdout] | [INFO] [stdout] 51 | ... "email@example.com".to_owned(), password_hash: password_hash("password").unwrap() }).get_result::(&POOL.get().unwrap()).unwrap(... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/event.rs:51:208 [INFO] [stdout] | [INFO] [stdout] 51 | ...: password_hash("password").unwrap() }).get_result::(&POOL.get().unwrap()).unwrap().id; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewCultivation` in this scope [INFO] [stdout] --> src/db/event.rs:53:57 [INFO] [stdout] | [INFO] [stdout] 53 | ... let _ = insert_into(cultivations::table).values(NewCultivation { user_id, species_slug: "species".to_owned(), nickname: None, ident... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::NewCultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewEvent` in this scope [INFO] [stdout] --> src/db/event.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let event = super::new(db, NewEvent { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 39 | use crate::NewEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in this scope [INFO] [stdout] --> src/db/event.rs:69:87 [INFO] [stdout] | [INFO] [stdout] 69 | ... assert_eq!(&events::table.filter(events::identifier.eq("identifier")).first::(&POOL.get().unwrap()).unwrap().identifier, "id... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewEvent` in this scope [INFO] [stdout] --> src/db/event.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | assert!(super::new(db, NewEvent { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 39 | use crate::NewEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in this scope [INFO] [stdout] --> src/db/event.rs:84:84 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(&events::table.filter(events::identifier.eq("identifier")).first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewEvent` in this scope [INFO] [stdout] --> src/db/event.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | let _ = insert_into(events::table).values(NewEvent { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 39 | use crate::NewEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope [INFO] [stdout] --> src/db/event.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | assert!(!super::index(db, IndexEvent(cultivation.id, 1)).unwrap().len().is_empty()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::IndexEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope [INFO] [stdout] --> src/db/event.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(super::index(db, IndexEvent(cultivation.id, 1)).unwrap().is_empty()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::IndexEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope [INFO] [stdout] --> src/db/event.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(super::index(db, IndexEvent(cultivation.id, 1)).is_err()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::IndexEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `cultivation` [INFO] [stdout] --> src/db/event.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(super::index(db, IndexEvent(cultivation.id, 1)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 113 | assert!(super::index(db, IndexEvent(cultivation::id, 1)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct instead [INFO] [stdout] | [INFO] [stdout] 39 | use crate::db::user::cultivation::dsl::cultivation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IndexEvent` in this scope [INFO] [stdout] --> src/db/event.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(super::index(db, IndexEvent(cultivation.id, 2)).is_err()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 39 | use crate::IndexEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let id = super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/user.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(users::table.first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/user.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(users::table.first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | assert!(super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/user.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(users::table.first::(&POOL.get().unwrap()).is_err()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let _ = super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 88 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/user.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(users::table.filter::(&POOL.get().unwrap()).unwrap().len(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | let _ = super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 105 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(super::new(db, NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 111 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/user.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(users::table.filter::(&POOL.get().unwrap()).unwrap().len(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/db/user.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | let user: User = insert_into(users::table).values(NewUser { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | let user: User = insert_into(users::table).values(NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 122 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find` in module `super` [INFO] [stdout] --> src/db/user.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(&super::find(db, FindUser(user.id)).unwrap().username, "username"); [INFO] [stdout] | ^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 | use crate::controllers::cultivation::find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope [INFO] [stdout] --> src/db/user.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(&super::find(db, FindUser(user.id)).unwrap().username, "username"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find` in module `super` [INFO] [stdout] --> src/db/user.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(super::find(db, FindUser(1)).is_err()); [INFO] [stdout] | ^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 | use crate::controllers::cultivation::find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindUser` in this scope [INFO] [stdout] --> src/db/user.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(super::find(db, FindUser(1)).is_err()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find` in module `super` [INFO] [stdout] --> src/db/user.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(&super::find(db, FindByUsername("username".to_owned())).is_err()); [INFO] [stdout] | ^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 | use crate::controllers::cultivation::find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindByUsername` in this scope [INFO] [stdout] --> src/db/user.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(&super::find(db, FindByUsername("username".to_owned())).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:139:50 [INFO] [stdout] | [INFO] [stdout] 139 | let _ = insert_into(users::table).values(NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 142 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find` in module `super` [INFO] [stdout] --> src/db/user.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(&super::find(db, FindByUsername("username".to_owned())).unwrap().username, "username"); [INFO] [stdout] | ^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 | use crate::controllers::cultivation::find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindByUsername` in this scope [INFO] [stdout] --> src/db/user.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(&super::find(db, FindByUsername("username".to_owned())).unwrap().username, "username"); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find` in module `super` [INFO] [stdout] --> src/db/user.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(super::find(db, FindByUsername("username".to_owned())).is_err()); [INFO] [stdout] | ^^^^ not found in `super` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 | use crate::controllers::cultivation::find; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindByUsername` in this scope [INFO] [stdout] --> src/db/user.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(super::find(db, FindByUsername("username".to_owned())).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | let _ = insert_into(users::table).values(NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 160 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AuthenticateUser` in this scope [INFO] [stdout] --> src/db/user.rs:169:42 [INFO] [stdout] | [INFO] [stdout] 169 | assert!(&super::authenticate(db, AuthenticateUser("username".to_owned(), "password".to_owned())).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::AuthenticateUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/db/user.rs:175:50 [INFO] [stdout] | [INFO] [stdout] 175 | let _ = insert_into(users::table).values(NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `password_hash` in module `super` [INFO] [stdout] --> src/db/user.rs:178:35 [INFO] [stdout] | [INFO] [stdout] 178 | password_hash: super::password_hash("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib/auth.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `hash_password` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 178 | password_hash: super::hash_password("password").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::db::user::users::password_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AuthenticateUser` in this scope [INFO] [stdout] --> src/db/user.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 181 | assert!(&super::authenticate(db, AuthenticateUser("username".to_owned(), "password2".to_owned())).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 35 | use crate::AuthenticateUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::Connection` [INFO] [stdout] --> src/lib/db.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use diesel::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::tests::POOL` [INFO] [stdout] --> src/lib/tests.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{prelude::*, lib::tests::POOL, router::router, lib::schema::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ClientResponse` [INFO] [stdout] --> src/lib/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | client::ClientResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/lib/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/types.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/controllers/cultivation.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tests::POOL` [INFO] [stdout] --> src/controllers/cultivation.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ... tests::POOL, router::router, tests::authenticate_tester, tests::new_species, tests::set_cookie, tests::extract_header, tests::new_s... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/controllers/event.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/controllers/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/controllers/user.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/controllers/user.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> src/lib/types.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> src/lib/types.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` (from trait `futures::Future`) must be specified [INFO] [stdout] --> src/lib/types.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub type HttpFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 245 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0220, E0255, E0404, E0412, E0422, E0423, E0425, E0432... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7d9644df7fd9ccfb42d890de8c51031e97e8c8ee2062d82d69876fd974b4ab01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9644df7fd9ccfb42d890de8c51031e97e8c8ee2062d82d69876fd974b4ab01", kill_on_drop: false }` [INFO] [stdout] 7d9644df7fd9ccfb42d890de8c51031e97e8c8ee2062d82d69876fd974b4ab01