[INFO] cloning repository https://github.com/astaupb/astaprint [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/astaupb/astaprint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastaupb%2Fastaprint"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastaupb%2Fastaprint'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fbe07db66cf1f34e4533f6d285ca3ca052363fa5 [INFO] checking astaupb/astaprint against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastaupb%2Fastaprint" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/astaupb/astaprint on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/astaupb/astaprint [INFO] removed path dependency logger from git repo https://github.com/astaupb/astaprint [INFO] removed path dependency model from git repo https://github.com/astaupb/astaprint [INFO] removed path dependency mysql from git repo https://github.com/astaupb/astaprint [INFO] removed path dependency pdf from git repo https://github.com/astaupb/astaprint [INFO] removed path dependency redis from git repo https://github.com/astaupb/astaprint [INFO] removed path dependency snmp from git repo https://github.com/astaupb/astaprint [INFO] removed path dependency sodium from git repo https://github.com/astaupb/astaprint [INFO] finished tweaking git repo https://github.com/astaupb/astaprint [INFO] tweaked toml for git repo https://github.com/astaupb/astaprint written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/astaupb/astaprint already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (logger) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (model) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (mysql) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (pdf) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (redis) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (snmp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sodium) 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-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (logger) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (model) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (mysql) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (pdf) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (redis) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (snmp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sodium) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sodium v0.1.0 [INFO] [stderr] Downloaded snmp v0.2.2 [INFO] [stderr] Downloaded lpr v0.1.5 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b5f9ba08882a39d692d0e5b36d3ffba24e3463c3a9c642f19760c01d3a727d7e [INFO] running `"docker" "start" "-a" "b5f9ba08882a39d692d0e5b36d3ffba24e3463c3a9c642f19760c01d3a727d7e"` [INFO] [stderr] warning: dependency (logger) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (model) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (mysql) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (pdf) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (redis) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (snmp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sodium) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cairo-rs v0.6.0 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking username v0.2.0 [INFO] [stderr] Checking snmp v0.2.2 [INFO] [stderr] Checking sodium v0.1.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling glib-sys v0.8.0 [INFO] [stderr] Compiling gobject-sys v0.8.0 [INFO] [stderr] Compiling cairo-sys-rs v0.8.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking memmap v0.5.2 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling lexical v2.2.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling pdf_derive v0.1.17 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking inotify v0.6.1 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking tuple v0.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking lpr v0.1.5 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking bigdecimal v0.1.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking rust_decimal v1.0.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking scheduled-thread-pool v0.2.2 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking glib v0.7.1 [INFO] [stderr] Checking proptest v0.8.7 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling cookie v0.11.1 [INFO] [stderr] Checking r2d2 v0.8.6 [INFO] [stderr] Checking notify v4.0.14 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking mysql_common v0.18.0 [INFO] [stderr] Checking pdf v0.6.3 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling rocket_http v0.4.2 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking mysql v16.1.0 [INFO] [stderr] Checking poppler v0.2.5 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking model v0.1.2 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Checking redis v0.13.0 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking maxminddb v0.13.0 [INFO] [stderr] Checking r2d2_redis v0.9.0 [INFO] [stderr] Checking rocket v0.4.2 [INFO] [stderr] Checking rocket_contrib v0.4.2 [INFO] [stderr] Checking rocket_cors v0.4.0 [INFO] [stderr] Checking astaprint v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/guard.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | use mysql::admin::{ [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::GenericHash` [INFO] [stderr] --> src/admin/guard.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | use sodium::GenericHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/login.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | use mysql::admin::{ [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sodium::random_bytes`, `sodium::GenericHash`, `sodium::PasswordHash` [INFO] [stderr] --> src/admin/login.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | random_bytes, [INFO] [stderr] | ^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] 45 | GenericHash, [INFO] [stderr] | ^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] 46 | PasswordHash, [INFO] [stderr] | ^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/admin/get.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | job::options::JobOptions, [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::admin` [INFO] [stderr] --> src/admin/login.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | use mysql::admin::{ [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `journal` in `mysql` [INFO] [stderr] --> src/admin/get.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | journal::select::select_journal_tokens, [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::journal` [INFO] [stderr] --> src/admin/get.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | journal::{ [INFO] [stderr] | ^^^^^^^ could not find `journal` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/admin/get.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/post.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | admin::select::select_admin_by_login, [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/admin/post.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | user::update::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mysql::select_full_journal_of_user`, `mysql::user` [INFO] [stderr] --> src/admin/get.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | select_full_journal_of_user, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `select_full_journal_of_user` in the root [INFO] [stderr] 34 | user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/admin/put.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | use mysql::user::update::update_locked; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/mod.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | use mysql::admin::insert::insert_admin; [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/mod.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/mod.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use mysql::jobs::select::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/info/get.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use model::job::info::JobInfo; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/info/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use mysql::jobs::select::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/info/put.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | use model::job::info::JobInfo; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/info/put.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use mysql::jobs::{ [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/options/put.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | use model::job::{ [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/options/put.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | use mysql::jobs::{ [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/options/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/jobs/queue/get.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | use model::task::dispatcher::DispatcherTask; [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::PasswordHash` [INFO] [stderr] --> src/admin/post.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use sodium::PasswordHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/jobs/queue/post.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | use model::task::dispatcher::DispatcherTask; [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/jobs/queue/get.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `redis::queue`, `redis::store` [INFO] [stderr] --> src/jobs/queue/post.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | queue::TaskQueueClient, [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] 39 | store::Store, [INFO] [stderr] | ^^^^^ could not find `store` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/queue/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | jobs::insert::insert_into_jobs, [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/jobs/queue/mod.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | user::select::select_user_options, [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pdf::sanitize_pdf` [INFO] [stderr] --> src/jobs/queue/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use pdf::sanitize_pdf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `sanitize_pdf` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/queue/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | job::{ [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/jobs/queue/mod.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | task::dispatcher::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/jobs/queue/mod.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/delete.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use mysql::jobs::delete::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::random_bytes` [INFO] [stderr] --> src/jobs/tmp.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use sodium::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/get.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use mysql::jobs::select::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::job` [INFO] [stderr] --> src/jobs/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use model::job::Job; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::journal` [INFO] [stderr] --> src/journal/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use model::journal::JournalResponse; [INFO] [stderr] | ^^^^^^^ could not find `journal` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mysql::select_full_journal`, `mysql::select_full_journal_of_user` [INFO] [stderr] --> src/journal/get.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | select_full_journal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `select_full_journal` in the root [INFO] [stderr] 30 | select_full_journal_of_user, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `select_full_journal_of_user` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `journal` in `mysql` [INFO] [stderr] --> src/journal/post.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | journal::{ [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::random_bytes` [INFO] [stderr] --> src/journal/post.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use sodium::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/journal/credit.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | use mysql::user::select::select_user_credit_by_id; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mysql::journal`, `mysql::update_credit_as_admin`, `mysql::update_credit_with_unused_token` [INFO] [stderr] --> src/journal/post.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | journal::{ [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] ... [INFO] [stderr] 39 | update_credit_as_admin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `update_credit_as_admin` in the root [INFO] [stderr] 40 | update_credit_with_unused_token, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `update_credit_with_unused_token` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::lock` [INFO] [stderr] --> src/journal/lock.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use redis::lock::Lock; [INFO] [stderr] | ^^^^ could not find `lock` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `journal` in `mysql` [INFO] [stderr] --> src/printers/accounting.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | journal::select::select_latest_credit_of_user, [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::job` [INFO] [stderr] --> src/printers/accounting.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | use model::job::Job; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::update_credit_after_print` [INFO] [stderr] --> src/printers/accounting.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | update_credit_after_print, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `update_credit_after_print` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/get.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `printers` in `mysql` [INFO] [stderr] --> src/printers/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use mysql::printers::select::{ [INFO] [stderr] | ^^^^^^^^ could not find `printers` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `snmp::CounterValues` [INFO] [stderr] --> src/printers/accounting.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use snmp::CounterValues; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `CounterValues` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/delete.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/get.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/get.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/delete.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | use redis::queue::{ [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/post.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/get.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/post.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | use redis::queue::{ [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::random_bytes` [INFO] [stderr] --> src/printers/queue/post.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | use sodium::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::job` [INFO] [stderr] --> src/printers/queue/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | job::Job, [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/printers/queue/mod.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | use mysql::jobs::{ [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `pdf::process`, `pdf::tmp` [INFO] [stderr] --> src/printers/queue/mod.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | process::{ [INFO] [stderr] | ^^^^^^^ could not find `process` in `pdf` [INFO] [stderr] ... [INFO] [stderr] 46 | tmp::TmpFile, [INFO] [stderr] | ^^^ could not find `tmp` in `pdf` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/mod.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | use redis::queue::{ [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `snmp::tool` [INFO] [stderr] --> src/printers/queue/mod.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | use snmp::tool::*; [INFO] [stderr] | ^^^^ could not find `tool` in `snmp` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::printers` [INFO] [stderr] --> src/printers/response.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | use mysql::printers::Printer; [INFO] [stderr] | ^^^^^^^^ could not find `printers` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/user/get.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/get.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | use mysql::user::select::*; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/post.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | use mysql::user::delete::*; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `snmp::tool`, `snmp::CounterValues`, `snmp::StatusValues` [INFO] [stderr] --> src/printers/response.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | tool::*, [INFO] [stderr] | ^^^^ could not find `tool` in `snmp` [INFO] [stderr] 24 | CounterValues, [INFO] [stderr] | ^^^^^^^^^^^^^ no `CounterValues` in the root [INFO] [stderr] 25 | StatusValues, [INFO] [stderr] | ^^^^^^^^^^^^ no `StatusValues` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/user/put.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/put.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::PasswordHash` [INFO] [stderr] --> src/user/put.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use sodium::PasswordHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::PasswordHash` [INFO] [stderr] --> src/user/add.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use sodium::PasswordHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/add.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | user::select::*, [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::insert_user` [INFO] [stderr] --> src/user/add.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | insert_user, [INFO] [stderr] | ^^^^^^^^^^^ no `insert_user` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/guard.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::GenericHash` [INFO] [stderr] --> src/user/guard.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | use sodium::GenericHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/login.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sodium::random_bytes`, `sodium::GenericHash`, `sodium::PasswordHash` [INFO] [stderr] --> src/user/login.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | random_bytes, [INFO] [stderr] | ^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] 45 | GenericHash, [INFO] [stderr] | ^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] 46 | PasswordHash, [INFO] [stderr] | ^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::user` [INFO] [stderr] --> src/user/login.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/tokens/delete.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use mysql::user::delete::*; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/tokens/get.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::user` [INFO] [stderr] --> src/user/response.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | use mysql::user::UserToken; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::user` [INFO] [stderr] --> src/user/tokens/get.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/guard.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | use mysql::admin::{ [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::GenericHash` [INFO] [stderr] --> src/admin/guard.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | use sodium::GenericHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/login.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | use mysql::admin::{ [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sodium::random_bytes`, `sodium::GenericHash`, `sodium::PasswordHash` [INFO] [stderr] --> src/admin/login.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | random_bytes, [INFO] [stderr] | ^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] 45 | GenericHash, [INFO] [stderr] | ^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] 46 | PasswordHash, [INFO] [stderr] | ^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/admin/get.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | job::options::JobOptions, [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::admin` [INFO] [stderr] --> src/admin/login.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | use mysql::admin::{ [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `journal` in `mysql` [INFO] [stderr] --> src/admin/get.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | journal::select::select_journal_tokens, [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::journal` [INFO] [stderr] --> src/admin/get.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | journal::{ [INFO] [stderr] | ^^^^^^^ could not find `journal` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/admin/get.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/post.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | admin::select::select_admin_by_login, [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/admin/post.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | user::update::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mysql::select_full_journal_of_user`, `mysql::user` [INFO] [stderr] --> src/admin/get.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | select_full_journal_of_user, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `select_full_journal_of_user` in the root [INFO] [stderr] 34 | user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/admin/put.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | use mysql::user::update::update_locked; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `admin` in `mysql` [INFO] [stderr] --> src/admin/mod.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | use mysql::admin::insert::insert_admin; [INFO] [stderr] | ^^^^^ could not find `admin` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/mod.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/mod.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use mysql::jobs::select::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/info/get.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use model::job::info::JobInfo; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/info/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use mysql::jobs::select::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/info/put.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | use model::job::info::JobInfo; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/info/put.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use mysql::jobs::{ [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/options/put.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | use model::job::{ [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/options/put.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | use mysql::jobs::{ [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/options/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/jobs/queue/get.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | use model::task::dispatcher::DispatcherTask; [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::PasswordHash` [INFO] [stderr] --> src/admin/post.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use sodium::PasswordHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/jobs/queue/post.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | use model::task::dispatcher::DispatcherTask; [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/jobs/queue/get.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `redis::queue`, `redis::store` [INFO] [stderr] --> src/jobs/queue/post.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | queue::TaskQueueClient, [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] 39 | store::Store, [INFO] [stderr] | ^^^^^ could not find `store` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/queue/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | jobs::insert::insert_into_jobs, [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/jobs/queue/mod.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | user::select::select_user_options, [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pdf::sanitize_pdf` [INFO] [stderr] --> src/jobs/queue/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use pdf::sanitize_pdf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `sanitize_pdf` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/jobs/queue/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | job::{ [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/jobs/queue/mod.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | task::dispatcher::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/jobs/queue/mod.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/delete.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use mysql::jobs::delete::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::random_bytes` [INFO] [stderr] --> src/jobs/tmp.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use sodium::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/jobs/get.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use mysql::jobs::select::*; [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::job` [INFO] [stderr] --> src/jobs/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use model::job::Job; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::journal` [INFO] [stderr] --> src/journal/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use model::journal::JournalResponse; [INFO] [stderr] | ^^^^^^^ could not find `journal` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mysql::select_full_journal`, `mysql::select_full_journal_of_user` [INFO] [stderr] --> src/journal/get.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | select_full_journal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `select_full_journal` in the root [INFO] [stderr] 30 | select_full_journal_of_user, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `select_full_journal_of_user` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `journal` in `mysql` [INFO] [stderr] --> src/journal/post.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | journal::{ [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::random_bytes` [INFO] [stderr] --> src/journal/post.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use sodium::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/journal/credit.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | use mysql::user::select::select_user_credit_by_id; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mysql::journal`, `mysql::update_credit_as_admin`, `mysql::update_credit_with_unused_token` [INFO] [stderr] --> src/journal/post.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | journal::{ [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] ... [INFO] [stderr] 39 | update_credit_as_admin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `update_credit_as_admin` in the root [INFO] [stderr] 40 | update_credit_with_unused_token, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `update_credit_with_unused_token` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::lock` [INFO] [stderr] --> src/journal/lock.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use redis::lock::Lock; [INFO] [stderr] | ^^^^ could not find `lock` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `journal` in `mysql` [INFO] [stderr] --> src/printers/accounting.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | journal::select::select_latest_credit_of_user, [INFO] [stderr] | ^^^^^^^ could not find `journal` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::job` [INFO] [stderr] --> src/printers/accounting.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | use model::job::Job; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::update_credit_after_print` [INFO] [stderr] --> src/printers/accounting.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | update_credit_after_print, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `update_credit_after_print` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/get.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `printers` in `mysql` [INFO] [stderr] --> src/printers/get.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | use mysql::printers::select::{ [INFO] [stderr] | ^^^^^^^^ could not find `printers` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `snmp::CounterValues` [INFO] [stderr] --> src/printers/accounting.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use snmp::CounterValues; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `CounterValues` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/delete.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/get.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/get.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/delete.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | use redis::queue::{ [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/post.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use model::task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/get.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | use redis::queue::TaskQueueClient; [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/post.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | use redis::queue::{ [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::random_bytes` [INFO] [stderr] --> src/printers/queue/post.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | use sodium::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task` in `model` [INFO] [stderr] --> src/printers/queue/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | task::worker::{ [INFO] [stderr] | ^^^^ could not find `task` in `model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `model::job` [INFO] [stderr] --> src/printers/queue/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | job::Job, [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `jobs` in `mysql` [INFO] [stderr] --> src/printers/queue/mod.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | use mysql::jobs::{ [INFO] [stderr] | ^^^^ could not find `jobs` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `pdf::process`, `pdf::tmp` [INFO] [stderr] --> src/printers/queue/mod.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | process::{ [INFO] [stderr] | ^^^^^^^ could not find `process` in `pdf` [INFO] [stderr] ... [INFO] [stderr] 46 | tmp::TmpFile, [INFO] [stderr] | ^^^ could not find `tmp` in `pdf` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `redis::queue` [INFO] [stderr] --> src/printers/queue/mod.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | use redis::queue::{ [INFO] [stderr] | ^^^^^ could not find `queue` in `redis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `snmp::tool` [INFO] [stderr] --> src/printers/queue/mod.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | use snmp::tool::*; [INFO] [stderr] | ^^^^ could not find `tool` in `snmp` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::printers` [INFO] [stderr] --> src/printers/response.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | use mysql::printers::Printer; [INFO] [stderr] | ^^^^^^^^ could not find `printers` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/user/get.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/get.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | use mysql::user::select::*; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/post.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | use mysql::user::delete::*; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `snmp::tool`, `snmp::CounterValues`, `snmp::StatusValues` [INFO] [stderr] --> src/printers/response.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | tool::*, [INFO] [stderr] | ^^^^ could not find `tool` in `snmp` [INFO] [stderr] 24 | CounterValues, [INFO] [stderr] | ^^^^^^^^^^^^^ no `CounterValues` in the root [INFO] [stderr] 25 | StatusValues, [INFO] [stderr] | ^^^^^^^^^^^^ no `StatusValues` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `job` in `model` [INFO] [stderr] --> src/user/put.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | use model::job::options::JobOptions; [INFO] [stderr] | ^^^ could not find `job` in `model` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/put.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::PasswordHash` [INFO] [stderr] --> src/user/put.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use sodium::PasswordHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::PasswordHash` [INFO] [stderr] --> src/user/add.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use sodium::PasswordHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/add.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | user::select::*, [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::insert_user` [INFO] [stderr] --> src/user/add.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | insert_user, [INFO] [stderr] | ^^^^^^^^^^^ no `insert_user` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/guard.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::GenericHash` [INFO] [stderr] --> src/user/guard.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | use sodium::GenericHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/login.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sodium::random_bytes`, `sodium::GenericHash`, `sodium::PasswordHash` [INFO] [stderr] --> src/user/login.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | random_bytes, [INFO] [stderr] | ^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] 45 | GenericHash, [INFO] [stderr] | ^^^^^^^^^^^ no `GenericHash` in the root [INFO] [stderr] 46 | PasswordHash, [INFO] [stderr] | ^^^^^^^^^^^^ no `PasswordHash` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::user` [INFO] [stderr] --> src/user/login.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/tokens/delete.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | use mysql::user::delete::*; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `user` in `mysql` [INFO] [stderr] --> src/user/tokens/get.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::user` [INFO] [stderr] --> src/user/response.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | use mysql::user::UserToken; [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mysql::user` [INFO] [stderr] --> src/user/tokens/get.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | use mysql::user::{ [INFO] [stderr] | ^^^^ could not find `user` in `mysql` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sodium::random_bytes` [INFO] [stderr] --> src/user/key.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | use sodium::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `random_bytes` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PageRange` [INFO] [stderr] --> src/jobs/options/put.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | if let Some(range) = PageRange::new(&options.range, info.pagecount as usize) { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `PageRange` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PageRange` [INFO] [stderr] --> src/jobs/options/put.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | if let Some(range) = PageRange::new(&options.range, info.pagecount as usize) { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `PageRange` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JobOptions` [INFO] [stderr] --> src/jobs/queue/mod.rs:120:21 [INFO] [stderr] | [INFO] [stderr] 120 | Ok(None) => JobOptions::default(), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `JobOptions` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JobOptions` [INFO] [stderr] --> src/jobs/queue/mod.rs:120:21 [INFO] [stderr] | [INFO] [stderr] 120 | Ok(None) => JobOptions::default(), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `JobOptions` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/delete.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | client.send_command(&WorkerCommand::Cancel).expect("sending cancel command"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/delete.rs:84:30 [INFO] [stderr] | [INFO] [stderr] 84 | client.send_command(&WorkerCommand::Cancel).expect("sending cancel command"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/delete.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | client.send_command(&WorkerCommand::Cancel).expect("sending cancel command"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/delete.rs:84:30 [INFO] [stderr] | [INFO] [stderr] 84 | client.send_command(&WorkerCommand::Cancel).expect("sending cancel command"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/post.rs:91:29 [INFO] [stderr] | [INFO] [stderr] 91 | queue.send_command(&WorkerCommand::Print(id)).expect("sending print command to worker"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/post.rs:95:33 [INFO] [stderr] | [INFO] [stderr] 95 | queue.send_command(&WorkerCommand::Hungup).expect("sending hungup command to worker"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/post.rs:99:29 [INFO] [stderr] | [INFO] [stderr] 99 | queue.send_command(&WorkerCommand::HeartBeat).expect("sending heartbeat command to worker"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/post.rs:91:29 [INFO] [stderr] | [INFO] [stderr] 91 | queue.send_command(&WorkerCommand::Print(id)).expect("sending print command to worker"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/post.rs:95:33 [INFO] [stderr] | [INFO] [stderr] 95 | queue.send_command(&WorkerCommand::Hungup).expect("sending hungup command to worker"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/post.rs:99:29 [INFO] [stderr] | [INFO] [stderr] 99 | queue.send_command(&WorkerCommand::HeartBeat).expect("sending heartbeat command to worker"); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | WorkerCommand::Cancel => break, [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | WorkerCommand::HeartBeat => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | WorkerCommand::Hungup => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | WorkerCommand::Print(job_id) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | WorkerCommand::Cancel => break, [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | WorkerCommand::HeartBeat => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | WorkerCommand::Hungup => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WorkerCommand` [INFO] [stderr] --> src/printers/queue/mod.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | WorkerCommand::Print(job_id) => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `WorkerCommand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JobOptions` [INFO] [stderr] --> src/user/get.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | None => JobOptions::default(), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `JobOptions` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JobOptions` [INFO] [stderr] --> src/user/get.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | None => JobOptions::default(), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `JobOptions` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JobOptions` [INFO] [stderr] --> src/user/put.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | JobOptions::default() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `JobOptions` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JobOptions` [INFO] [stderr] --> src/user/put.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | JobOptions::default() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `JobOptions` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_hash_by_id` in this scope [INFO] [stderr] --> src/admin/guard.rs:93:52 [INFO] [stderr] | [INFO] [stderr] 93 | let result: QueryResult>> = select_admin_hash_by_id(admin_id, &connection); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_token_id_by_hash` in this scope [INFO] [stderr] --> src/admin/guard.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | match select_admin_token_id_by_hash(admin_id, hash, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_token_ip_and_location_by_id` in this scope [INFO] [stderr] --> src/admin/guard.rs:102:25 [INFO] [stderr] | [INFO] [stderr] 102 | select_admin_token_ip_and_location_by_id(token_id, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_admin_token` in this scope [INFO] [stderr] --> src/admin/guard.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | update_admin_token(token_id, user_agent, ip, location, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_by_login` in this scope [INFO] [stderr] --> src/admin/login.rs:106:34 [INFO] [stderr] | [INFO] [stderr] 106 | let admin: Admin = match select_admin_by_login(credentials[0], &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_admin_token` in this scope [INFO] [stderr] --> src/admin/login.rs:143:15 [INFO] [stderr] | [INFO] [stderr] 143 | match insert_admin_token((admin.id, user_agent, ip, location.unwrap(), hash), &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/admin/get.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | pub options: Option, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_with_limit_offset` in this scope [INFO] [stderr] --> src/admin/get.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | select_user_with_limit_offset(limit.unwrap_or(50), offset.unwrap_or(0), &admin.connection)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_by_id` in this scope [INFO] [stderr] --> src/admin/get.rs:99:33 [INFO] [stderr] | [INFO] [stderr] 99 | Ok(Json(UserResponse::from(&select_user_by_id(id, &admin.connection)?))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_credit_by_id` in this scope [INFO] [stderr] --> src/admin/get.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | Ok(Json(select_user_credit_by_id(id, &admin.connection)?)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_journal_tokens` in this scope [INFO] [stderr] --> src/admin/get.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | select_journal_tokens(&admin.connection)?.iter().map(JournalTokenResponse::from).collect(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_by_login` in this scope [INFO] [stderr] --> src/admin/post.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | if select_admin_by_login(&new.login, &admin.connection).is_ok() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_hash_and_salt` in this scope [INFO] [stderr] --> src/admin/post.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | update_hash_and_salt(id, hash, salt, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_name` in this scope [INFO] [stderr] --> src/admin/post.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | update_user_name(id, &name, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_locked` in this scope [INFO] [stderr] --> src/admin/put.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | match update_locked(id, locked, &admin.connection) { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_admin` in this scope [INFO] [stderr] --> src/admin/mod.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | insert_admin( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/info/get.rs:31:72 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn fetch_info(user: UserGuard, id: u32) -> QueryResult>> [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_info` in this scope [INFO] [stderr] --> src/jobs/info/get.rs:33:35 [INFO] [stderr] | [INFO] [stderr] 33 | let result: Option> = select_job_info(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/info/get.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | let info: JobInfo = bincode::deserialize(&serialized[..]).expect("deserializing JobInfo"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_info` in this scope [INFO] [stderr] --> src/jobs/info/put.rs:37:35 [INFO] [stderr] | [INFO] [stderr] 37 | let result: Option> = select_job_info(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/info/put.rs:40:23 [INFO] [stderr] | [INFO] [stderr] 40 | let mut info: JobInfo = bincode::deserialize(&value[..]).expect("deserializing JobInfo"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_job_info` in this scope [INFO] [stderr] --> src/jobs/info/put.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | if update_job_info( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_options` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:38:35 [INFO] [stderr] | [INFO] [stderr] 38 | let result: Option> = select_job_options(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | let options: JobOptions = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:59:75 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn fetch_options(user: UserGuard, id: u32) -> QueryResult>> [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_options` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:61:35 [INFO] [stderr] | [INFO] [stderr] 61 | let result: Option> = select_job_options(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let options: JobOptions = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_of_user` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | select_job_of_user(user.id, id, &user.connection)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | let info: JobInfo = bincode::deserialize(&info[..]).expect("deserializing JobInfo"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | let mut options: JobOptions = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_job_options` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | update_job_options(id, user.id, serialized, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `update_options` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/mod.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | impl Update for JobOptions [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/get.rs:36:34 [INFO] [stderr] | [INFO] [stderr] 36 | queue: State>, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/get.rs:53:34 [INFO] [stderr] | [INFO] [stderr] 53 | queue: State>, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/post.rs:56:38 [INFO] [stderr] | [INFO] [stderr] 56 | taskqueue: State>, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/post.rs:86:16 [INFO] [stderr] | [INFO] [stderr] 86 | let task = DispatcherTask { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:56:19 [INFO] [stderr] | [INFO] [stderr] 56 | impl<'a> From<&'a DispatcherTask> for DispatcherTaskResponse [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:58:23 [INFO] [stderr] | [INFO] [stderr] 58 | fn from(task: &'a DispatcherTask) -> DispatcherTaskResponse [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | task: DispatcherTask, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherState` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | state: DispatcherState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:74:29 [INFO] [stderr] | [INFO] [stderr] 74 | client: TaskQueueClient, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:108:45 [INFO] [stderr] | [INFO] [stderr] 108 | let info: Vec = bincode::serialize(&JobInfo { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:118:22 [INFO] [stderr] | [INFO] [stderr] 118 | let mut options: JobOptions = match select_user_options(task.user_id, &connection) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_options` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:118:41 [INFO] [stderr] | [INFO] [stderr] 118 | let mut options: JobOptions = match select_user_options(task.user_id, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_into_jobs` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:141:11 [INFO] [stderr] | [INFO] [stderr] 141 | match insert_into_jobs( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_job_by_id` in this scope [INFO] [stderr] --> src/jobs/delete.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | let deleted = delete_job_by_id(id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_of_user` in this scope [INFO] [stderr] --> src/jobs/get.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | select_job_of_user(user.id, id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_all_jobs_of_user` in this scope [INFO] [stderr] --> src/jobs/get.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | select_all_jobs_of_user(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_pdf` in this scope [INFO] [stderr] --> src/jobs/get.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | Ok(select_pdf(id, user.id, &user.connection).expect("selecting pdf")) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_0` in this scope [INFO] [stderr] --> src/jobs/get.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | Ok(select_preview_0(id, user.id, &user.connection).expect("selecting preview 0")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_0` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_1` in this scope [INFO] [stderr] --> src/jobs/get.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | Ok(select_preview_1(id, user.id, &user.connection).expect("selection preview 1")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_1` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_2` in this scope [INFO] [stderr] --> src/jobs/get.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | Ok(select_preview_2(id, user.id, &user.connection).expect("selection preview 2")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_2` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_3` in this scope [INFO] [stderr] --> src/jobs/get.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | Ok(select_preview_3(id, user.id, &user.connection).expect("selection preview 2")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_3` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_journal_token_by_content` in this scope [INFO] [stderr] --> src/journal/post.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | select_journal_token_by_content(token.into_inner(), &user.connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_into_journal_token` in this scope [INFO] [stderr] --> src/journal/post.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | insert_into_journal_token(value, content.clone(), false, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_credit_by_id` in this scope [INFO] [stderr] --> src/journal/credit.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | Ok(Json(select_user_credit_by_id(user.id, &user.connection)?)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_latest_credit_of_user` in this scope [INFO] [stderr] --> src/printers/accounting.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | select_latest_credit_of_user(self.user_id, &connection).expect("selecting credit"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_latest_credit_of_user` in this scope [INFO] [stderr] --> src/printers/accounting.rs:128:41 [INFO] [stderr] | [INFO] [stderr] 128 | if let Ok(credit) = select_latest_credit_of_user(self.user_id, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_printers` in this scope [INFO] [stderr] --> src/printers/get.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | Ok(Json(select_printers(&admin.connection)?.iter().map(PrinterResponse::from).collect())) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_printers` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/get.rs:48:48 [INFO] [stderr] | [INFO] [stderr] 48 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/get.rs:48:60 [INFO] [stderr] | [INFO] [stderr] 48 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_printer_by_device_id` in this scope [INFO] [stderr] --> src/printers/get.rs:57:46 [INFO] [stderr] | [INFO] [stderr] 57 | let mut response = PrinterResponse::from(select_printer_by_device_id(id, connection)?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:45:48 [INFO] [stderr] | [INFO] [stderr] 45 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:45:60 [INFO] [stderr] | [INFO] [stderr] 45 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:74:48 [INFO] [stderr] | [INFO] [stderr] 74 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:74:60 [INFO] [stderr] | [INFO] [stderr] 74 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | impl<'a> From<&'a WorkerTask> for WorkerTaskResponse [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | fn from(task: &WorkerTask) -> WorkerTaskResponse [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:65:48 [INFO] [stderr] | [INFO] [stderr] 65 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:65:60 [INFO] [stderr] | [INFO] [stderr] 65 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:83:48 [INFO] [stderr] | [INFO] [stderr] 83 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:83:60 [INFO] [stderr] | [INFO] [stderr] 83 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/post.rs:54:48 [INFO] [stderr] | [INFO] [stderr] 54 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/post.rs:54:60 [INFO] [stderr] | [INFO] [stderr] 54 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/post.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | .send(&WorkerTask { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:69:11 [INFO] [stderr] | [INFO] [stderr] 69 | task: WorkerTask, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerState` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | state: WorkerState, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:71:29 [INFO] [stderr] | [INFO] [stderr] 71 | client: TaskQueueClient, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:71:41 [INFO] [stderr] | [INFO] [stderr] 71 | client: TaskQueueClient, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `wake` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | wake(&state.ip); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | let counter_base = match counter(&state.ip) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:135:34 [INFO] [stderr] | [INFO] [stderr] 135 | if accounting.update(counter(&state.ip).ok()) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_hash_by_id` in this scope [INFO] [stderr] --> src/admin/guard.rs:93:52 [INFO] [stderr] | [INFO] [stderr] 93 | let result: QueryResult>> = select_admin_hash_by_id(admin_id, &connection); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_token_id_by_hash` in this scope [INFO] [stderr] --> src/admin/guard.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | match select_admin_token_id_by_hash(admin_id, hash, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_token_ip_and_location_by_id` in this scope [INFO] [stderr] --> src/admin/guard.rs:102:25 [INFO] [stderr] | [INFO] [stderr] 102 | select_admin_token_ip_and_location_by_id(token_id, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_admin_token` in this scope [INFO] [stderr] --> src/admin/guard.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | update_admin_token(token_id, user_agent, ip, location, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_by_login` in this scope [INFO] [stderr] --> src/admin/login.rs:106:34 [INFO] [stderr] | [INFO] [stderr] 106 | let admin: Admin = match select_admin_by_login(credentials[0], &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_admin_token` in this scope [INFO] [stderr] --> src/admin/login.rs:143:15 [INFO] [stderr] | [INFO] [stderr] 143 | match insert_admin_token((admin.id, user_agent, ip, location.unwrap(), hash), &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/admin/get.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | pub options: Option, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_with_limit_offset` in this scope [INFO] [stderr] --> src/admin/get.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | select_user_with_limit_offset(limit.unwrap_or(50), offset.unwrap_or(0), &admin.connection)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_by_id` in this scope [INFO] [stderr] --> src/admin/get.rs:99:33 [INFO] [stderr] | [INFO] [stderr] 99 | Ok(Json(UserResponse::from(&select_user_by_id(id, &admin.connection)?))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_credit_by_id` in this scope [INFO] [stderr] --> src/admin/get.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | Ok(Json(select_user_credit_by_id(id, &admin.connection)?)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_journal_tokens` in this scope [INFO] [stderr] --> src/admin/get.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | select_journal_tokens(&admin.connection)?.iter().map(JournalTokenResponse::from).collect(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_admin_by_login` in this scope [INFO] [stderr] --> src/admin/post.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | if select_admin_by_login(&new.login, &admin.connection).is_ok() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_hash_and_salt` in this scope [INFO] [stderr] --> src/admin/post.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | update_hash_and_salt(id, hash, salt, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_name` in this scope [INFO] [stderr] --> src/admin/post.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | update_user_name(id, &name, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_locked` in this scope [INFO] [stderr] --> src/admin/put.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | match update_locked(id, locked, &admin.connection) { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_admin` in this scope [INFO] [stderr] --> src/admin/mod.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | insert_admin( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/info/get.rs:31:72 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn fetch_info(user: UserGuard, id: u32) -> QueryResult>> [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_info` in this scope [INFO] [stderr] --> src/jobs/info/get.rs:33:35 [INFO] [stderr] | [INFO] [stderr] 33 | let result: Option> = select_job_info(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/info/get.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | let info: JobInfo = bincode::deserialize(&serialized[..]).expect("deserializing JobInfo"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_info` in this scope [INFO] [stderr] --> src/jobs/info/put.rs:37:35 [INFO] [stderr] | [INFO] [stderr] 37 | let result: Option> = select_job_info(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_job_by_id` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:143:25 [INFO] [stderr] | [INFO] [stderr] 143 | delete_job_by_id(id, &connection).expect("deleting job from table"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/info/put.rs:40:23 [INFO] [stderr] | [INFO] [stderr] 40 | let mut info: JobInfo = bincode::deserialize(&value[..]).expect("deserializing JobInfo"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_job_info` in this scope [INFO] [stderr] --> src/jobs/info/put.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | if update_job_info( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_options` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:38:35 [INFO] [stderr] | [INFO] [stderr] 38 | let result: Option> = select_job_options(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_full_job_of_user` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | select_full_job_of_user(task.user_id, job_id, &connection).expect("selecting job") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | let options: JobOptions = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:59:75 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn fetch_options(user: UserGuard, id: u32) -> QueryResult>> [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_options` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:61:35 [INFO] [stderr] | [INFO] [stderr] 61 | let result: Option> = select_job_options(id, user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/get.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let options: JobOptions = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:167:37 [INFO] [stderr] | [INFO] [stderr] 167 | let counter = match counter(&state.ip) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_of_user` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | select_job_of_user(user.id, id, &user.connection)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | let info: JobInfo = bincode::deserialize(&info[..]).expect("deserializing JobInfo"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | let mut options: JobOptions = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_job_options` in this scope [INFO] [stderr] --> src/jobs/options/put.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | update_job_options(id, user.id, serialized, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `update_options` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/options/mod.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | impl Update for JobOptions [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `clear` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:239:25 [INFO] [stderr] | [INFO] [stderr] 239 | if let Err(e) = clear(&state.ip) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/get.rs:36:34 [INFO] [stderr] | [INFO] [stderr] 36 | queue: State>, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:247:27 [INFO] [stderr] | [INFO] [stderr] 247 | accounting.update(counter(&state.ip).ok()); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/get.rs:53:34 [INFO] [stderr] | [INFO] [stderr] 53 | queue: State>, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `status` in this scope [INFO] [stderr] --> src/printers/response.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | let status = Some(status(&printer.ip).unwrap_or_default()); [INFO] [stderr] | ^^^^^^ a field by this name exists in `Self` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/post.rs:56:38 [INFO] [stderr] | [INFO] [stderr] 56 | taskqueue: State>, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/post.rs:86:16 [INFO] [stderr] | [INFO] [stderr] 86 | let task = DispatcherTask { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/response.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | let counter = Some(counter(&printer.ip).unwrap_or_default()); [INFO] [stderr] | ^^^^^^^ a field by this name exists in `Self` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:56:19 [INFO] [stderr] | [INFO] [stderr] 56 | impl<'a> From<&'a DispatcherTask> for DispatcherTaskResponse [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:58:23 [INFO] [stderr] | [INFO] [stderr] 58 | fn from(task: &'a DispatcherTask) -> DispatcherTaskResponse [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_token_ids_of_user` in this scope [INFO] [stderr] --> src/user/get.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | let tokens: Vec = select_token_ids_of_user(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | task: DispatcherTask, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherState` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | state: DispatcherState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DispatcherTask` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:74:29 [INFO] [stderr] | [INFO] [stderr] 74 | client: TaskQueueClient, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_info_by_id` in this scope [INFO] [stderr] --> src/user/get.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | select_user_info_by_id(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `JobInfo` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:108:45 [INFO] [stderr] | [INFO] [stderr] 108 | let info: Vec = bincode::serialize(&JobInfo { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:118:22 [INFO] [stderr] | [INFO] [stderr] 118 | let mut options: JobOptions = match select_user_options(task.user_id, &connection) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_options` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:118:41 [INFO] [stderr] | [INFO] [stderr] 118 | let mut options: JobOptions = match select_user_options(task.user_id, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/user/get.rs:66:70 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn get_user_default_options(user: UserGuard) -> QueryResult> [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_into_jobs` in this scope [INFO] [stderr] --> src/jobs/queue/mod.rs:141:11 [INFO] [stderr] | [INFO] [stderr] 141 | match insert_into_jobs( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_job_by_id` in this scope [INFO] [stderr] --> src/jobs/delete.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | let deleted = delete_job_by_id(id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_options` in this scope [INFO] [stderr] --> src/user/get.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | let options = match select_user_options(user.id, &user.connection)? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_job_of_user` in this scope [INFO] [stderr] --> src/jobs/get.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | select_job_of_user(user.id, id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_all_jobs_of_user` in this scope [INFO] [stderr] --> src/jobs/get.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | select_all_jobs_of_user(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_pdf` in this scope [INFO] [stderr] --> src/jobs/get.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | Ok(select_pdf(id, user.id, &user.connection).expect("selecting pdf")) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_0` in this scope [INFO] [stderr] --> src/jobs/get.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | Ok(select_preview_0(id, user.id, &user.connection).expect("selecting preview 0")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_0` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_1` in this scope [INFO] [stderr] --> src/jobs/get.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | Ok(select_preview_1(id, user.id, &user.connection).expect("selection preview 1")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_1` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_2` in this scope [INFO] [stderr] --> src/jobs/get.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | Ok(select_preview_2(id, user.id, &user.connection).expect("selection preview 2")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_2` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_name_by_id` in this scope [INFO] [stderr] --> src/user/get.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | let username: String = select_user_name_by_id(user.id, &user.connection)?.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_preview_3` in this scope [INFO] [stderr] --> src/jobs/get.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | Ok(select_preview_3(id, user.id, &user.connection).expect("selection preview 2")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `fetch_preview_3` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_journal_token_by_content` in this scope [INFO] [stderr] --> src/journal/post.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | select_journal_token_by_content(token.into_inner(), &user.connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_user_token_by_id` in this scope [INFO] [stderr] --> src/user/post.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | delete_user_token_by_id(user.id, user.token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_hash_and_salt` in this scope [INFO] [stderr] --> src/user/put.rs:61:44 [INFO] [stderr] | [INFO] [stderr] 61 | let (hash, salt): (Vec, Vec) = select_hash_and_salt(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_hash_and_salt` in this scope [INFO] [stderr] --> src/user/put.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | update_hash_and_salt(user.id, hash, salt, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_id_by_name_optional` in this scope [INFO] [stderr] --> src/user/put.rs:88:19 [INFO] [stderr] | [INFO] [stderr] 88 | let user_id = select_user_id_by_name_optional(&name, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_name` in this scope [INFO] [stderr] --> src/user/put.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | update_user_name(user.id, &name, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_card_and_pin` in this scope [INFO] [stderr] --> src/user/put.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | update_user_card_and_pin(user_id, card.sn, card.pin, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/user/put.rs:123:22 [INFO] [stderr] | [INFO] [stderr] 123 | let mut options: JobOptions = if let Some(options) = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_options` in this scope [INFO] [stderr] --> src/user/put.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | select_user_options(user.id, &user.connection).expect("selecting user options") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_default_job_options` in this scope [INFO] [stderr] --> src/user/put.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | update_default_job_options(user.id, value, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_into_journal_token` in this scope [INFO] [stderr] --> src/journal/post.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | insert_into_journal_token(value, content.clone(), false, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_id_by_name_optional` in this scope [INFO] [stderr] --> src/user/add.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | let user_id: Option = select_user_id_by_name_optional(name, connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_credit_by_id` in this scope [INFO] [stderr] --> src/journal/credit.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | Ok(Json(select_user_credit_by_id(user.id, &user.connection)?)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_hash_by_id` in this scope [INFO] [stderr] --> src/user/guard.rs:94:44 [INFO] [stderr] | [INFO] [stderr] 94 | let result: QueryResult> = select_user_hash_by_id(user_id, &connection); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_latest_credit_of_user` in this scope [INFO] [stderr] --> src/printers/accounting.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | select_latest_credit_of_user(self.user_id, &connection).expect("selecting credit"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_latest_credit_of_user` in this scope [INFO] [stderr] --> src/printers/accounting.rs:128:41 [INFO] [stderr] | [INFO] [stderr] 128 | if let Ok(credit) = select_latest_credit_of_user(self.user_id, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_token_id_by_hash` in this scope [INFO] [stderr] --> src/user/guard.rs:99:44 [INFO] [stderr] | [INFO] [stderr] 99 | let result: QueryResult = select_user_token_id_by_hash(user_id, hash, &connection); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_printers` in this scope [INFO] [stderr] --> src/printers/get.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | Ok(Json(select_printers(&admin.connection)?.iter().map(PrinterResponse::from).collect())) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_printers` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/get.rs:48:48 [INFO] [stderr] | [INFO] [stderr] 48 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_token_ip_and_location_by_id` in this scope [INFO] [stderr] --> src/user/guard.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | select_user_token_ip_and_location_by_id(token_id, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/get.rs:48:60 [INFO] [stderr] | [INFO] [stderr] 48 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_printer_by_device_id` in this scope [INFO] [stderr] --> src/printers/get.rs:57:46 [INFO] [stderr] | [INFO] [stderr] 57 | let mut response = PrinterResponse::from(select_printer_by_device_id(id, connection)?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_token` in this scope [INFO] [stderr] --> src/user/guard.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 118 | update_user_token(token_id, user_agent, ip, location, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_by_name_optional` in this scope [INFO] [stderr] --> src/user/login.rs:161:22 [INFO] [stderr] | [INFO] [stderr] 161 | let result = select_user_by_name_optional(credentials[0], &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_pin_by_id` in this scope [INFO] [stderr] --> src/user/login.rs:177:37 [INFO] [stderr] | [INFO] [stderr] 177 | let passed_with_pin = match select_user_pin_by_id(user.id, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_into_user_tokens` in this scope [INFO] [stderr] --> src/user/login.rs:200:15 [INFO] [stderr] | [INFO] [stderr] 200 | match insert_into_user_tokens( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_all_tokens_of_user_except_one` in this scope [INFO] [stderr] --> src/user/tokens/delete.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | let deleted = delete_all_tokens_of_user_except_one(user.id, user.token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_user_token_by_id` in this scope [INFO] [stderr] --> src/user/tokens/delete.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let affected_rows = delete_user_token_by_id(user.id, token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_tokens_by_user_id` in this scope [INFO] [stderr] --> src/user/tokens/get.rs:36:34 [INFO] [stderr] | [INFO] [stderr] 36 | let tokens: Vec = select_user_tokens_by_user_id(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_single_user_token_optional` in this scope [INFO] [stderr] --> src/user/tokens/get.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | select_single_user_token_optional(user.id, token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:45:48 [INFO] [stderr] | [INFO] [stderr] 45 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:45:60 [INFO] [stderr] | [INFO] [stderr] 45 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:74:48 [INFO] [stderr] | [INFO] [stderr] 74 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/delete.rs:74:60 [INFO] [stderr] | [INFO] [stderr] 74 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | impl<'a> From<&'a WorkerTask> for WorkerTaskResponse [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | fn from(task: &WorkerTask) -> WorkerTaskResponse [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:65:48 [INFO] [stderr] | [INFO] [stderr] 65 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:65:60 [INFO] [stderr] | [INFO] [stderr] 65 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:83:48 [INFO] [stderr] | [INFO] [stderr] 83 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/get.rs:83:60 [INFO] [stderr] | [INFO] [stderr] 83 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/post.rs:54:48 [INFO] [stderr] | [INFO] [stderr] 54 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/post.rs:54:60 [INFO] [stderr] | [INFO] [stderr] 54 | queues: State>>, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/post.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | .send(&WorkerTask { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:69:11 [INFO] [stderr] | [INFO] [stderr] 69 | task: WorkerTask, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerState` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | state: WorkerState, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerTask` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:71:29 [INFO] [stderr] | [INFO] [stderr] 71 | client: TaskQueueClient, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WorkerCommand` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:71:41 [INFO] [stderr] | [INFO] [stderr] 71 | client: TaskQueueClient, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `wake` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | wake(&state.ip); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | let counter_base = match counter(&state.ip) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:135:34 [INFO] [stderr] | [INFO] [stderr] 135 | if accounting.update(counter(&state.ip).ok()) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_job_by_id` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:143:25 [INFO] [stderr] | [INFO] [stderr] 143 | delete_job_by_id(id, &connection).expect("deleting job from table"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_full_job_of_user` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | select_full_job_of_user(task.user_id, job_id, &connection).expect("selecting job") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:167:37 [INFO] [stderr] | [INFO] [stderr] 167 | let counter = match counter(&state.ip) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `clear` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:239:25 [INFO] [stderr] | [INFO] [stderr] 239 | if let Err(e) = clear(&state.ip) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/queue/mod.rs:247:27 [INFO] [stderr] | [INFO] [stderr] 247 | accounting.update(counter(&state.ip).ok()); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `status` in this scope [INFO] [stderr] --> src/printers/response.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | let status = Some(status(&printer.ip).unwrap_or_default()); [INFO] [stderr] | ^^^^^^ a field by this name exists in `Self` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `counter` in this scope [INFO] [stderr] --> src/printers/response.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | let counter = Some(counter(&printer.ip).unwrap_or_default()); [INFO] [stderr] | ^^^^^^^ a field by this name exists in `Self` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_token_ids_of_user` in this scope [INFO] [stderr] --> src/user/get.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | let tokens: Vec = select_token_ids_of_user(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_info_by_id` in this scope [INFO] [stderr] --> src/user/get.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | select_user_info_by_id(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/user/get.rs:66:70 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn get_user_default_options(user: UserGuard) -> QueryResult> [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_options` in this scope [INFO] [stderr] --> src/user/get.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | let options = match select_user_options(user.id, &user.connection)? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_name_by_id` in this scope [INFO] [stderr] --> src/user/get.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | let username: String = select_user_name_by_id(user.id, &user.connection)?.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_user_token_by_id` in this scope [INFO] [stderr] --> src/user/post.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | delete_user_token_by_id(user.id, user.token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_hash_and_salt` in this scope [INFO] [stderr] --> src/user/put.rs:61:44 [INFO] [stderr] | [INFO] [stderr] 61 | let (hash, salt): (Vec, Vec) = select_hash_and_salt(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_hash_and_salt` in this scope [INFO] [stderr] --> src/user/put.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | update_hash_and_salt(user.id, hash, salt, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_id_by_name_optional` in this scope [INFO] [stderr] --> src/user/put.rs:88:19 [INFO] [stderr] | [INFO] [stderr] 88 | let user_id = select_user_id_by_name_optional(&name, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_name` in this scope [INFO] [stderr] --> src/user/put.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | update_user_name(user.id, &name, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_card_and_pin` in this scope [INFO] [stderr] --> src/user/put.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | update_user_card_and_pin(user_id, card.sn, card.pin, &admin.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JobOptions` in this scope [INFO] [stderr] --> src/user/put.rs:123:22 [INFO] [stderr] | [INFO] [stderr] 123 | let mut options: JobOptions = if let Some(options) = [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_options` in this scope [INFO] [stderr] --> src/user/put.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | select_user_options(user.id, &user.connection).expect("selecting user options") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_default_job_options` in this scope [INFO] [stderr] --> src/user/put.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | update_default_job_options(user.id, value, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_id_by_name_optional` in this scope [INFO] [stderr] --> src/user/add.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | let user_id: Option = select_user_id_by_name_optional(name, connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_hash_by_id` in this scope [INFO] [stderr] --> src/user/guard.rs:94:44 [INFO] [stderr] | [INFO] [stderr] 94 | let result: QueryResult> = select_user_hash_by_id(user_id, &connection); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_token_id_by_hash` in this scope [INFO] [stderr] --> src/user/guard.rs:99:44 [INFO] [stderr] | [INFO] [stderr] 99 | let result: QueryResult = select_user_token_id_by_hash(user_id, hash, &connection); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_token_ip_and_location_by_id` in this scope [INFO] [stderr] --> src/user/guard.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | select_user_token_ip_and_location_by_id(token_id, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `update_user_token` in this scope [INFO] [stderr] --> src/user/guard.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 118 | update_user_token(token_id, user_agent, ip, location, &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_by_name_optional` in this scope [INFO] [stderr] --> src/user/login.rs:161:22 [INFO] [stderr] | [INFO] [stderr] 161 | let result = select_user_by_name_optional(credentials[0], &connection) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_pin_by_id` in this scope [INFO] [stderr] --> src/user/login.rs:177:37 [INFO] [stderr] | [INFO] [stderr] 177 | let passed_with_pin = match select_user_pin_by_id(user.id, &connection) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert_into_user_tokens` in this scope [INFO] [stderr] --> src/user/login.rs:200:15 [INFO] [stderr] | [INFO] [stderr] 200 | match insert_into_user_tokens( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_all_tokens_of_user_except_one` in this scope [INFO] [stderr] --> src/user/tokens/delete.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | let deleted = delete_all_tokens_of_user_except_one(user.id, user.token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `delete_user_token_by_id` in this scope [INFO] [stderr] --> src/user/tokens/delete.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let affected_rows = delete_user_token_by_id(user.id, token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_user_tokens_by_user_id` in this scope [INFO] [stderr] --> src/user/tokens/get.rs:36:34 [INFO] [stderr] | [INFO] [stderr] 36 | let tokens: Vec = select_user_tokens_by_user_id(user.id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `select_single_user_token_optional` in this scope [INFO] [stderr] --> src/user/tokens/get.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | select_single_user_token_optional(user.id, token_id, &user.connection)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/user/put.rs:126:30 [INFO] [stderr] | [INFO] [stderr] 126 | bincode::deserialize(&options).expect("deserializing JobOptions") [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] warning: unused import: `Update` [INFO] [stderr] --> src/jobs/options/put.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | Update, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `convert::TryInto` [INFO] [stderr] --> src/printers/accounting.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | convert::TryInto, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Update` [INFO] [stderr] --> src/user/put.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | Update, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 214 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `astaprint`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/user/put.rs:126:30 [INFO] [stderr] | [INFO] [stderr] 126 | bincode::deserialize(&options).expect("deserializing JobOptions") [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] warning: unused import: `Update` [INFO] [stderr] --> src/jobs/options/put.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | Update, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `convert::TryInto` [INFO] [stderr] --> src/printers/accounting.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | convert::TryInto, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Update` [INFO] [stderr] --> src/user/put.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | Update, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 215 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `astaprint`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b5f9ba08882a39d692d0e5b36d3ffba24e3463c3a9c642f19760c01d3a727d7e"` [INFO] running `"docker" "rm" "-f" "b5f9ba08882a39d692d0e5b36d3ffba24e3463c3a9c642f19760c01d3a727d7e"` [INFO] [stdout] b5f9ba08882a39d692d0e5b36d3ffba24e3463c3a9c642f19760c01d3a727d7e