[INFO] updating cached repository dani-garcia/bitwarden_rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dani-garcia/bitwarden_rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dani-garcia/bitwarden_rs" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/dani-garcia/bitwarden_rs"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/dani-garcia/bitwarden_rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dani-garcia/bitwarden_rs" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/dani-garcia/bitwarden_rs"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/dani-garcia/bitwarden_rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8c34ff5d231c275987ef32b75def9cd5b5797739 [INFO] sha for GitHub repo dani-garcia/bitwarden_rs: 8c34ff5d231c275987ef32b75def9cd5b5797739 [INFO] validating manifest of dani-garcia/bitwarden_rs on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dani-garcia/bitwarden_rs on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dani-garcia/bitwarden_rs [INFO] finished frobbing dani-garcia/bitwarden_rs [INFO] frobbed toml for dani-garcia/bitwarden_rs written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/dani-garcia/bitwarden_rs/Cargo.toml [INFO] started frobbing dani-garcia/bitwarden_rs [INFO] finished frobbing dani-garcia/bitwarden_rs [INFO] frobbed toml for dani-garcia/bitwarden_rs written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/dani-garcia/bitwarden_rs/Cargo.toml [INFO] crate dani-garcia/bitwarden_rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking dani-garcia/bitwarden_rs against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-1/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/dani-garcia/bitwarden_rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 969c3da590fc06af02a46476a4fb9eee5a8553dfb90df031590bff8b5b72f696 [INFO] running `"docker" "start" "-a" "969c3da590fc06af02a46476a4fb9eee5a8553dfb90df031590bff8b5b72f696"` [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling bitwarden_rs v1.0.0 (/opt/crater/workdir) [INFO] [stderr] Checking subtle v2.1.0 [INFO] [stderr] Checking quoted_printable v0.4.1 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=dbcb0a75b9556763ac3ab708f40c8f8ed75f1a1e#dbcb0a75) [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=dbcb0a75b9556763ac3ab708f40c8f8ed75f1a1e#dbcb0a75) [INFO] [stderr] Checking filetime v0.2.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking nom v4.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Checking crypto-mac v0.3.0 [INFO] [stderr] Checking digest v0.5.2 [INFO] [stderr] Checking digest-buffer v0.3.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rmp v0.8.7 (https://github.com/dani-garcia/msgpack-rust#3ba7cf4f) [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking hmac v0.1.1 [INFO] [stderr] Checking sha-1 v0.3.4 [INFO] [stderr] Checking sha2 v0.5.3 [INFO] [stderr] Checking block-modes v0.3.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking notify v4.0.12 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Checking webpki v0.19.1 [INFO] [stderr] Checking sct v0.5.0 [INFO] [stderr] Checking rmpv v0.4.0 [INFO] [stderr] Checking parking_lot v0.8.0 [INFO] [stderr] Checking syslog v4.0.1 [INFO] [stderr] Checking oath v0.10.2 [INFO] [stderr] Checking ws v0.8.1 [INFO] [stderr] Checking webpki-roots v0.16.0 [INFO] [stderr] Checking rustls v0.15.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.1 [INFO] [stderr] Checking fern v0.5.8 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Checking tokio v0.1.21 [INFO] [stderr] Checking r2d2 v0.8.5 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking hyper v0.12.29 [INFO] [stderr] Checking hyper-sync-rustls v0.3.0-rc.5 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking dotenv v0.14.1 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=dbcb0a75b9556763ac3ab708f40c8f8ed75f1a1e#dbcb0a75) [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking lettre v0.9.2 [INFO] [stderr] Checking jsonwebtoken v6.0.1 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking u2f v0.1.6 [INFO] [stderr] Compiling markup5ever v0.7.5 [INFO] [stderr] Checking reqwest v0.9.18 [INFO] [stderr] Checking lettre_email v0.9.2 [INFO] [stderr] Checking rocket_contrib v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=dbcb0a75b9556763ac3ab708f40c8f8ed75f1a1e#dbcb0a75) [INFO] [stderr] Checking yubico v0.5.1 [INFO] [stderr] Checking migrations_internals v1.4.0 [INFO] [stderr] Checking html5ever v0.22.3 [INFO] [stderr] Checking soup v0.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.0 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] error: You need to enable one DB backend. To build with previous defaults do: cargo build --features sqlite [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | compile_error!("You need to enable one DB backend. To build with previous defaults do: cargo build --features sqlite"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/attachment.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | use crate::db::schema::attachments; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/cipher.rs:64:16 [INFO] [stderr] | [INFO] [stderr] 64 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/device.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | use crate::db::schema::devices; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/folder.rs:64:16 [INFO] [stderr] | [INFO] [stderr] 64 | use crate::db::schema::{folders, folders_ciphers}; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/user.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 111 | use crate::db::schema::{invitations, users}; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/collection.rs:36:16 [INFO] [stderr] | [INFO] [stderr] 36 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/organization.rs:206:16 [INFO] [stderr] | [INFO] [stderr] 206 | use crate::db::schema::{ciphers_collections, organizations, users_collections, users_organizations}; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/two_factor.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | use crate::db::schema::twofactor; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error: You need to enable one DB backend. To build with previous defaults do: cargo build --features sqlite [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | compile_error!("You need to enable one DB backend. To build with previous defaults do: cargo build --features sqlite"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/attachment.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | use crate::db::schema::attachments; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/cipher.rs:64:16 [INFO] [stderr] | [INFO] [stderr] 64 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/device.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | use crate::db::schema::devices; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/folder.rs:64:16 [INFO] [stderr] | [INFO] [stderr] 64 | use crate::db::schema::{folders, folders_ciphers}; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/user.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 111 | use crate::db::schema::{invitations, users}; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/collection.rs:36:16 [INFO] [stderr] | [INFO] [stderr] 36 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/organization.rs:206:16 [INFO] [stderr] | [INFO] [stderr] 206 | use crate::db::schema::{ciphers_collections, organizations, users_collections, users_organizations}; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::db::schema` [INFO] [stderr] --> src/db/models/two_factor.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | use crate::db::schema::twofactor; [INFO] [stderr] | ^^^^^^ could not find `schema` in `db` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | #[table_name = "ciphers"] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:155:30 [INFO] [stderr] | [INFO] [stderr] 155 | diesel::replace_into(ciphers::table) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:168:24 [INFO] [stderr] | [INFO] [stderr] 168 | diesel::delete(ciphers::table.filter(ciphers::uuid.eq(&self.uuid))) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:168:46 [INFO] [stderr] | [INFO] [stderr] 168 | diesel::delete(ciphers::table.filter(ciphers::uuid.eq(&self.uuid))) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:216:21 [INFO] [stderr] | [INFO] [stderr] 216 | .filter(ciphers::uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:218:17 [INFO] [stderr] | [INFO] [stderr] 218 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:218:47 [INFO] [stderr] | [INFO] [stderr] 218 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:219:25 [INFO] [stderr] | [INFO] [stderr] 219 | .eq(users_organizations::org_uuid.nullable()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:220:26 [INFO] [stderr] | [INFO] [stderr] 220 | .and(users_organizations::user_uuid.eq(user_uuid))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:222:24 [INFO] [stderr] | [INFO] [stderr] 222 | .left_join(ciphers_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:224:17 [INFO] [stderr] | [INFO] [stderr] 224 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:225:25 [INFO] [stderr] | [INFO] [stderr] 225 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:225:65 [INFO] [stderr] | [INFO] [stderr] 225 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 227 | .filter(ciphers::user_uuid.eq(user_uuid).or( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:229:17 [INFO] [stderr] | [INFO] [stderr] 229 | users_organizations::access_all.eq(true).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:231:21 [INFO] [stderr] | [INFO] [stderr] 231 | users_organizations::atype.le(UserOrgType::Admin as i32).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:233:25 [INFO] [stderr] | [INFO] [stderr] 233 | users_collections::user_uuid.eq(user_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:234:29 [INFO] [stderr] | [INFO] [stderr] 234 | users_collections::read_only.eq(false), //R/W access to collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:246:9 [INFO] [stderr] | [INFO] [stderr] 246 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:247:21 [INFO] [stderr] | [INFO] [stderr] 247 | .filter(ciphers::uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:249:17 [INFO] [stderr] | [INFO] [stderr] 249 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:249:47 [INFO] [stderr] | [INFO] [stderr] 249 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:250:25 [INFO] [stderr] | [INFO] [stderr] 250 | .eq(users_organizations::org_uuid.nullable()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:251:26 [INFO] [stderr] | [INFO] [stderr] 251 | .and(users_organizations::user_uuid.eq(user_uuid))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:253:24 [INFO] [stderr] | [INFO] [stderr] 253 | .left_join(ciphers_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:255:17 [INFO] [stderr] | [INFO] [stderr] 255 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:256:25 [INFO] [stderr] | [INFO] [stderr] 256 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:256:65 [INFO] [stderr] | [INFO] [stderr] 256 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:258:21 [INFO] [stderr] | [INFO] [stderr] 258 | .filter(ciphers::user_uuid.eq(user_uuid).or( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 260 | users_organizations::access_all.eq(true).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:262:21 [INFO] [stderr] | [INFO] [stderr] 262 | users_organizations::atype.le(UserOrgType::Admin as i32).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:264:25 [INFO] [stderr] | [INFO] [stderr] 264 | users_collections::user_uuid.eq(user_uuid), // Access to Collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:268:21 [INFO] [stderr] | [INFO] [stderr] 268 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | folders_ciphers::table [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders` [INFO] [stderr] --> src/db/models/cipher.rs:276:25 [INFO] [stderr] | [INFO] [stderr] 276 | .inner_join(folders::table) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `folders` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders` [INFO] [stderr] --> src/db/models/cipher.rs:277:21 [INFO] [stderr] | [INFO] [stderr] 277 | .filter(folders::user_uuid.eq(&user_uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `folders` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:278:21 [INFO] [stderr] | [INFO] [stderr] 278 | .filter(folders_ciphers::cipher_uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:279:21 [INFO] [stderr] | [INFO] [stderr] 279 | .select(folders_ciphers::folder_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:285:9 [INFO] [stderr] | [INFO] [stderr] 285 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:286:21 [INFO] [stderr] | [INFO] [stderr] 286 | .filter(ciphers::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 293 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:294:20 [INFO] [stderr] | [INFO] [stderr] 294 | .left_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:295:13 [INFO] [stderr] | [INFO] [stderr] 295 | ciphers::organization_uuid.eq(users_organizations::org_uuid.nullable()).and( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:295:43 [INFO] [stderr] | [INFO] [stderr] 295 | ciphers::organization_uuid.eq(users_organizations::org_uuid.nullable()).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:296:17 [INFO] [stderr] | [INFO] [stderr] 296 | users_organizations::user_uuid.eq(user_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:297:21 [INFO] [stderr] | [INFO] [stderr] 297 | users_organizations::status.eq(UserOrgStatus::Confirmed as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:301:20 [INFO] [stderr] | [INFO] [stderr] 301 | .left_join(ciphers_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:302:13 [INFO] [stderr] | [INFO] [stderr] 302 | ciphers::uuid.eq(ciphers_collections::cipher_uuid) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:302:30 [INFO] [stderr] | [INFO] [stderr] 302 | ciphers::uuid.eq(ciphers_collections::cipher_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:304:20 [INFO] [stderr] | [INFO] [stderr] 304 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:305:13 [INFO] [stderr] | [INFO] [stderr] 305 | ciphers_collections::collection_uuid.eq(users_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:305:53 [INFO] [stderr] | [INFO] [stderr] 305 | ciphers_collections::collection_uuid.eq(users_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:307:17 [INFO] [stderr] | [INFO] [stderr] 307 | .filter(ciphers::user_uuid.eq(user_uuid).or( // Cipher owner [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 308 | users_organizations::access_all.eq(true).or( // access_all in Organization [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 309 | users_organizations::atype.le(UserOrgType::Admin as i32).or( // Org admin or owner [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:310:21 [INFO] [stderr] | [INFO] [stderr] 310 | users_collections::user_uuid.eq(user_uuid).and( // Access to Collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:311:25 [INFO] [stderr] | [INFO] [stderr] 311 | users_organizations::status.eq(UserOrgStatus::Confirmed as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:316:17 [INFO] [stderr] | [INFO] [stderr] 316 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:323:9 [INFO] [stderr] | [INFO] [stderr] 323 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | .filter(ciphers::user_uuid.eq(user_uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:329:9 [INFO] [stderr] | [INFO] [stderr] 329 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:330:21 [INFO] [stderr] | [INFO] [stderr] 330 | .filter(ciphers::organization_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 335 | folders_ciphers::table.inner_join(ciphers::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:335:43 [INFO] [stderr] | [INFO] [stderr] 335 | folders_ciphers::table.inner_join(ciphers::table) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:336:21 [INFO] [stderr] | [INFO] [stderr] 336 | .filter(folders_ciphers::folder_uuid.eq(folder_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:337:21 [INFO] [stderr] | [INFO] [stderr] 337 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | ciphers_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/cipher.rs:343:21 [INFO] [stderr] | [INFO] [stderr] 343 | .inner_join(collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/cipher.rs:344:13 [INFO] [stderr] | [INFO] [stderr] 344 | collections::uuid.eq(ciphers_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:344:34 [INFO] [stderr] | [INFO] [stderr] 344 | collections::uuid.eq(ciphers_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:346:21 [INFO] [stderr] | [INFO] [stderr] 346 | .inner_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | users_organizations::org_uuid.eq(collections::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/cipher.rs:347:46 [INFO] [stderr] | [INFO] [stderr] 347 | users_organizations::org_uuid.eq(collections::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:348:17 [INFO] [stderr] | [INFO] [stderr] 348 | users_organizations::user_uuid.eq(user_id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:351:20 [INFO] [stderr] | [INFO] [stderr] 351 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:352:13 [INFO] [stderr] | [INFO] [stderr] 352 | users_collections::collection_uuid.eq(ciphers_collections::collection_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:352:51 [INFO] [stderr] | [INFO] [stderr] 352 | users_collections::collection_uuid.eq(ciphers_collections::collection_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:353:17 [INFO] [stderr] | [INFO] [stderr] 353 | users_collections::user_uuid.eq(user_id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:356:17 [INFO] [stderr] | [INFO] [stderr] 356 | .filter(ciphers_collections::cipher_uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:357:17 [INFO] [stderr] | [INFO] [stderr] 357 | .filter(users_collections::user_uuid.eq(user_id).or( // User has access to collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:358:13 [INFO] [stderr] | [INFO] [stderr] 358 | users_organizations::access_all.eq(true).or( // User has access all [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:359:17 [INFO] [stderr] | [INFO] [stderr] 359 | users_organizations::atype.le(UserOrgType::Admin as i32) // User is admin or owner [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:362:17 [INFO] [stderr] | [INFO] [stderr] 362 | .select(ciphers_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | #[table_name = "collections"] [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:49:30 [INFO] [stderr] | [INFO] [stderr] 49 | diesel::replace_into(collections::table) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | diesel::delete(collections::table.filter(collections::uuid.eq(self.uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:60:50 [INFO] [stderr] | [INFO] [stderr] 60 | diesel::delete(collections::table.filter(collections::uuid.eq(self.uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | .filter(collections::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:89:20 [INFO] [stderr] | [INFO] [stderr] 89 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:90:51 [INFO] [stderr] | [INFO] [stderr] 90 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | users_collections::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | .left_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:95:38 [INFO] [stderr] | [INFO] [stderr] 95 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | users_organizations::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | users_organizations::status.eq(UserOrgStatus::Confirmed as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 103 | users_collections::user_uuid.eq(user_uuid).or( // Directly accessed collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | users_organizations::access_all.eq(true) // access_all in Organization [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | ).select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | .filter(collections::org_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | .filter(collections::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:127:21 [INFO] [stderr] | [INFO] [stderr] 127 | .filter(collections::org_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | .select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:135:20 [INFO] [stderr] | [INFO] [stderr] 135 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:136:51 [INFO] [stderr] | [INFO] [stderr] 136 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | users_collections::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:140:20 [INFO] [stderr] | [INFO] [stderr] 140 | .left_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:141:13 [INFO] [stderr] | [INFO] [stderr] 141 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:141:38 [INFO] [stderr] | [INFO] [stderr] 141 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | users_organizations::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | .filter(collections::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | users_collections::collection_uuid.eq(uuid).or( // Directly accessed collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:148:17 [INFO] [stderr] | [INFO] [stderr] 148 | users_organizations::access_all.eq(true).or( // access_all in Organization [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | users_organizations::atype.le(UserOrgType::Admin as i32) // Org admin or owner [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:152:18 [INFO] [stderr] | [INFO] [stderr] 152 | ).select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:163:21 [INFO] [stderr] | [INFO] [stderr] 163 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:164:37 [INFO] [stderr] | [INFO] [stderr] 164 | .inner_join(collections::table) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | .filter(users_collections::collection_uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:166:33 [INFO] [stderr] | [INFO] [stderr] 166 | .filter(users_collections::user_uuid.eq(&user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | .filter(users_collections::read_only.eq(false)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | .select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:181:16 [INFO] [stderr] | [INFO] [stderr] 181 | #[table_name = "users_collections"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:195:21 [INFO] [stderr] | [INFO] [stderr] 195 | .filter(users_collections::user_uuid.eq(user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | .inner_join(collections::table.on(collections::uuid.eq(users_collections::collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:196:47 [INFO] [stderr] | [INFO] [stderr] 196 | .inner_join(collections::table.on(collections::uuid.eq(users_collections::collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:196:68 [INFO] [stderr] | [INFO] [stderr] 196 | .inner_join(collections::table.on(collections::uuid.eq(users_collections::collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:197:21 [INFO] [stderr] | [INFO] [stderr] 197 | .filter(collections::org_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:198:21 [INFO] [stderr] | [INFO] [stderr] 198 | .select(users_collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:206:30 [INFO] [stderr] | [INFO] [stderr] 206 | diesel::replace_into(users_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:208:17 [INFO] [stderr] | [INFO] [stderr] 208 | users_collections::user_uuid.eq(user_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:209:17 [INFO] [stderr] | [INFO] [stderr] 209 | users_collections::collection_uuid.eq(collection_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:210:17 [INFO] [stderr] | [INFO] [stderr] 210 | users_collections::read_only.eq(read_only), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:220:13 [INFO] [stderr] | [INFO] [stderr] 220 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:221:25 [INFO] [stderr] | [INFO] [stderr] 221 | .filter(users_collections::user_uuid.eq(&self.user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:222:25 [INFO] [stderr] | [INFO] [stderr] 222 | .filter(users_collections::collection_uuid.eq(&self.collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:230:21 [INFO] [stderr] | [INFO] [stderr] 230 | .filter(users_collections::collection_uuid.eq(collection_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:231:21 [INFO] [stderr] | [INFO] [stderr] 231 | .select(users_collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:237:9 [INFO] [stderr] | [INFO] [stderr] 237 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:238:21 [INFO] [stderr] | [INFO] [stderr] 238 | .filter(users_collections::collection_uuid.eq(collection_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | .filter(users_collections::user_uuid.eq(user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 240 | .select(users_collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:252:24 [INFO] [stderr] | [INFO] [stderr] 252 | diesel::delete(users_collections::table.filter(users_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:252:56 [INFO] [stderr] | [INFO] [stderr] 252 | diesel::delete(users_collections::table.filter(users_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:260:24 [INFO] [stderr] | [INFO] [stderr] 260 | diesel::delete(users_collections::table.filter(users_collections::user_uuid.eq(user_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:260:56 [INFO] [stderr] | [INFO] [stderr] 260 | diesel::delete(users_collections::table.filter(users_collections::user_uuid.eq(user_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:269:16 [INFO] [stderr] | [INFO] [stderr] 269 | #[table_name = "ciphers_collections"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:282:30 [INFO] [stderr] | [INFO] [stderr] 282 | diesel::replace_into(ciphers_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | ciphers_collections::cipher_uuid.eq(cipher_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | ciphers_collections::collection_uuid.eq(collection_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:294:13 [INFO] [stderr] | [INFO] [stderr] 294 | ciphers_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:295:25 [INFO] [stderr] | [INFO] [stderr] 295 | .filter(ciphers_collections::cipher_uuid.eq(cipher_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:296:25 [INFO] [stderr] | [INFO] [stderr] 296 | .filter(ciphers_collections::collection_uuid.eq(collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:303:24 [INFO] [stderr] | [INFO] [stderr] 303 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::cipher_uuid.eq(cipher_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:303:58 [INFO] [stderr] | [INFO] [stderr] 303 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::cipher_uuid.eq(cipher_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:309:24 [INFO] [stderr] | [INFO] [stderr] 309 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:309:58 [INFO] [stderr] | [INFO] [stderr] 309 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | #[table_name = "ciphers"] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:155:30 [INFO] [stderr] | [INFO] [stderr] 155 | diesel::replace_into(ciphers::table) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:168:24 [INFO] [stderr] | [INFO] [stderr] 168 | diesel::delete(ciphers::table.filter(ciphers::uuid.eq(&self.uuid))) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:168:46 [INFO] [stderr] | [INFO] [stderr] 168 | diesel::delete(ciphers::table.filter(ciphers::uuid.eq(&self.uuid))) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:216:21 [INFO] [stderr] | [INFO] [stderr] 216 | .filter(ciphers::uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:218:17 [INFO] [stderr] | [INFO] [stderr] 218 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:218:47 [INFO] [stderr] | [INFO] [stderr] 218 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:219:25 [INFO] [stderr] | [INFO] [stderr] 219 | .eq(users_organizations::org_uuid.nullable()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:220:26 [INFO] [stderr] | [INFO] [stderr] 220 | .and(users_organizations::user_uuid.eq(user_uuid))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:222:24 [INFO] [stderr] | [INFO] [stderr] 222 | .left_join(ciphers_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:224:17 [INFO] [stderr] | [INFO] [stderr] 224 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:225:25 [INFO] [stderr] | [INFO] [stderr] 225 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:225:65 [INFO] [stderr] | [INFO] [stderr] 225 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 227 | .filter(ciphers::user_uuid.eq(user_uuid).or( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:229:17 [INFO] [stderr] | [INFO] [stderr] 229 | users_organizations::access_all.eq(true).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:231:21 [INFO] [stderr] | [INFO] [stderr] 231 | users_organizations::atype.le(UserOrgType::Admin as i32).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:233:25 [INFO] [stderr] | [INFO] [stderr] 233 | users_collections::user_uuid.eq(user_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:234:29 [INFO] [stderr] | [INFO] [stderr] 234 | users_collections::read_only.eq(false), //R/W access to collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:246:9 [INFO] [stderr] | [INFO] [stderr] 246 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:247:21 [INFO] [stderr] | [INFO] [stderr] 247 | .filter(ciphers::uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:249:17 [INFO] [stderr] | [INFO] [stderr] 249 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:249:47 [INFO] [stderr] | [INFO] [stderr] 249 | users_organizations::table.on(ciphers::organization_uuid [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:250:25 [INFO] [stderr] | [INFO] [stderr] 250 | .eq(users_organizations::org_uuid.nullable()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:251:26 [INFO] [stderr] | [INFO] [stderr] 251 | .and(users_organizations::user_uuid.eq(user_uuid))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:253:24 [INFO] [stderr] | [INFO] [stderr] 253 | .left_join(ciphers_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:255:17 [INFO] [stderr] | [INFO] [stderr] 255 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:256:25 [INFO] [stderr] | [INFO] [stderr] 256 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:256:65 [INFO] [stderr] | [INFO] [stderr] 256 | .on(ciphers_collections::collection_uuid.eq(users_collections::collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:258:21 [INFO] [stderr] | [INFO] [stderr] 258 | .filter(ciphers::user_uuid.eq(user_uuid).or( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 260 | users_organizations::access_all.eq(true).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:262:21 [INFO] [stderr] | [INFO] [stderr] 262 | users_organizations::atype.le(UserOrgType::Admin as i32).or( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:264:25 [INFO] [stderr] | [INFO] [stderr] 264 | users_collections::user_uuid.eq(user_uuid), // Access to Collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:268:21 [INFO] [stderr] | [INFO] [stderr] 268 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | folders_ciphers::table [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders` [INFO] [stderr] --> src/db/models/cipher.rs:276:25 [INFO] [stderr] | [INFO] [stderr] 276 | .inner_join(folders::table) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `folders` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders` [INFO] [stderr] --> src/db/models/cipher.rs:277:21 [INFO] [stderr] | [INFO] [stderr] 277 | .filter(folders::user_uuid.eq(&user_uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `folders` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:278:21 [INFO] [stderr] | [INFO] [stderr] 278 | .filter(folders_ciphers::cipher_uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:279:21 [INFO] [stderr] | [INFO] [stderr] 279 | .select(folders_ciphers::folder_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:285:9 [INFO] [stderr] | [INFO] [stderr] 285 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:286:21 [INFO] [stderr] | [INFO] [stderr] 286 | .filter(ciphers::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 293 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:294:20 [INFO] [stderr] | [INFO] [stderr] 294 | .left_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:295:13 [INFO] [stderr] | [INFO] [stderr] 295 | ciphers::organization_uuid.eq(users_organizations::org_uuid.nullable()).and( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:295:43 [INFO] [stderr] | [INFO] [stderr] 295 | ciphers::organization_uuid.eq(users_organizations::org_uuid.nullable()).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:296:17 [INFO] [stderr] | [INFO] [stderr] 296 | users_organizations::user_uuid.eq(user_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:297:21 [INFO] [stderr] | [INFO] [stderr] 297 | users_organizations::status.eq(UserOrgStatus::Confirmed as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:301:20 [INFO] [stderr] | [INFO] [stderr] 301 | .left_join(ciphers_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:302:13 [INFO] [stderr] | [INFO] [stderr] 302 | ciphers::uuid.eq(ciphers_collections::cipher_uuid) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:302:30 [INFO] [stderr] | [INFO] [stderr] 302 | ciphers::uuid.eq(ciphers_collections::cipher_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:304:20 [INFO] [stderr] | [INFO] [stderr] 304 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:305:13 [INFO] [stderr] | [INFO] [stderr] 305 | ciphers_collections::collection_uuid.eq(users_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:305:53 [INFO] [stderr] | [INFO] [stderr] 305 | ciphers_collections::collection_uuid.eq(users_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:307:17 [INFO] [stderr] | [INFO] [stderr] 307 | .filter(ciphers::user_uuid.eq(user_uuid).or( // Cipher owner [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 308 | users_organizations::access_all.eq(true).or( // access_all in Organization [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 309 | users_organizations::atype.le(UserOrgType::Admin as i32).or( // Org admin or owner [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:310:21 [INFO] [stderr] | [INFO] [stderr] 310 | users_collections::user_uuid.eq(user_uuid).and( // Access to Collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:311:25 [INFO] [stderr] | [INFO] [stderr] 311 | users_organizations::status.eq(UserOrgStatus::Confirmed as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:316:17 [INFO] [stderr] | [INFO] [stderr] 316 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:323:9 [INFO] [stderr] | [INFO] [stderr] 323 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | .filter(ciphers::user_uuid.eq(user_uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:329:9 [INFO] [stderr] | [INFO] [stderr] 329 | ciphers::table [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:330:21 [INFO] [stderr] | [INFO] [stderr] 330 | .filter(ciphers::organization_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 335 | folders_ciphers::table.inner_join(ciphers::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:335:43 [INFO] [stderr] | [INFO] [stderr] 335 | folders_ciphers::table.inner_join(ciphers::table) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `folders_ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:336:21 [INFO] [stderr] | [INFO] [stderr] 336 | .filter(folders_ciphers::folder_uuid.eq(folder_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `folders_ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers` [INFO] [stderr] --> src/db/models/cipher.rs:337:21 [INFO] [stderr] | [INFO] [stderr] 337 | .select(ciphers::all_columns) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `ciphers` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | ciphers_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/cipher.rs:343:21 [INFO] [stderr] | [INFO] [stderr] 343 | .inner_join(collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/cipher.rs:344:13 [INFO] [stderr] | [INFO] [stderr] 344 | collections::uuid.eq(ciphers_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:344:34 [INFO] [stderr] | [INFO] [stderr] 344 | collections::uuid.eq(ciphers_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:346:21 [INFO] [stderr] | [INFO] [stderr] 346 | .inner_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | users_organizations::org_uuid.eq(collections::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/cipher.rs:347:46 [INFO] [stderr] | [INFO] [stderr] 347 | users_organizations::org_uuid.eq(collections::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:348:17 [INFO] [stderr] | [INFO] [stderr] 348 | users_organizations::user_uuid.eq(user_id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:351:20 [INFO] [stderr] | [INFO] [stderr] 351 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:352:13 [INFO] [stderr] | [INFO] [stderr] 352 | users_collections::collection_uuid.eq(ciphers_collections::collection_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:352:51 [INFO] [stderr] | [INFO] [stderr] 352 | users_collections::collection_uuid.eq(ciphers_collections::collection_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:353:17 [INFO] [stderr] | [INFO] [stderr] 353 | users_collections::user_uuid.eq(user_id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:356:17 [INFO] [stderr] | [INFO] [stderr] 356 | .filter(ciphers_collections::cipher_uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/cipher.rs:357:17 [INFO] [stderr] | [INFO] [stderr] 357 | .filter(users_collections::user_uuid.eq(user_id).or( // User has access to collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:358:13 [INFO] [stderr] | [INFO] [stderr] 358 | users_organizations::access_all.eq(true).or( // User has access all [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/cipher.rs:359:17 [INFO] [stderr] | [INFO] [stderr] 359 | users_organizations::atype.le(UserOrgType::Admin as i32) // User is admin or owner [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/cipher.rs:362:17 [INFO] [stderr] | [INFO] [stderr] 362 | .select(ciphers_collections::collection_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | #[table_name = "collections"] [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:49:30 [INFO] [stderr] | [INFO] [stderr] 49 | diesel::replace_into(collections::table) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | diesel::delete(collections::table.filter(collections::uuid.eq(self.uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:60:50 [INFO] [stderr] | [INFO] [stderr] 60 | diesel::delete(collections::table.filter(collections::uuid.eq(self.uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | .filter(collections::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:89:20 [INFO] [stderr] | [INFO] [stderr] 89 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:90:51 [INFO] [stderr] | [INFO] [stderr] 90 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | users_collections::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | .left_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:95:38 [INFO] [stderr] | [INFO] [stderr] 95 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | users_organizations::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | users_organizations::status.eq(UserOrgStatus::Confirmed as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 103 | users_collections::user_uuid.eq(user_uuid).or( // Directly accessed collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | users_organizations::access_all.eq(true) // access_all in Organization [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | ).select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | .filter(collections::org_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | .filter(collections::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:127:21 [INFO] [stderr] | [INFO] [stderr] 127 | .filter(collections::org_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | .select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | collections::table [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:135:20 [INFO] [stderr] | [INFO] [stderr] 135 | .left_join(users_collections::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:136:51 [INFO] [stderr] | [INFO] [stderr] 136 | users_collections::collection_uuid.eq(collections::uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | users_collections::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:140:20 [INFO] [stderr] | [INFO] [stderr] 140 | .left_join(users_organizations::table.on( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:141:13 [INFO] [stderr] | [INFO] [stderr] 141 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:141:38 [INFO] [stderr] | [INFO] [stderr] 141 | collections::org_uuid.eq(users_organizations::org_uuid).and( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | users_organizations::user_uuid.eq(user_uuid) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | .filter(collections::uuid.eq(uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | users_collections::collection_uuid.eq(uuid).or( // Directly accessed collection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:148:17 [INFO] [stderr] | [INFO] [stderr] 148 | users_organizations::access_all.eq(true).or( // access_all in Organization [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_organizations` [INFO] [stderr] --> src/db/models/collection.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | users_organizations::atype.le(UserOrgType::Admin as i32) // Org admin or owner [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_organizations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:152:18 [INFO] [stderr] | [INFO] [stderr] 152 | ).select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:163:21 [INFO] [stderr] | [INFO] [stderr] 163 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:164:37 [INFO] [stderr] | [INFO] [stderr] 164 | .inner_join(collections::table) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | .filter(users_collections::collection_uuid.eq(&self.uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:166:33 [INFO] [stderr] | [INFO] [stderr] 166 | .filter(users_collections::user_uuid.eq(&user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | .filter(users_collections::read_only.eq(false)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | .select(collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:181:16 [INFO] [stderr] | [INFO] [stderr] 181 | #[table_name = "users_collections"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:195:21 [INFO] [stderr] | [INFO] [stderr] 195 | .filter(users_collections::user_uuid.eq(user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | .inner_join(collections::table.on(collections::uuid.eq(users_collections::collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:196:47 [INFO] [stderr] | [INFO] [stderr] 196 | .inner_join(collections::table.on(collections::uuid.eq(users_collections::collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:196:68 [INFO] [stderr] | [INFO] [stderr] 196 | .inner_join(collections::table.on(collections::uuid.eq(users_collections::collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `collections` [INFO] [stderr] --> src/db/models/collection.rs:197:21 [INFO] [stderr] | [INFO] [stderr] 197 | .filter(collections::org_uuid.eq(org_uuid)) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:198:21 [INFO] [stderr] | [INFO] [stderr] 198 | .select(users_collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:206:30 [INFO] [stderr] | [INFO] [stderr] 206 | diesel::replace_into(users_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:208:17 [INFO] [stderr] | [INFO] [stderr] 208 | users_collections::user_uuid.eq(user_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:209:17 [INFO] [stderr] | [INFO] [stderr] 209 | users_collections::collection_uuid.eq(collection_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:210:17 [INFO] [stderr] | [INFO] [stderr] 210 | users_collections::read_only.eq(read_only), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:220:13 [INFO] [stderr] | [INFO] [stderr] 220 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:221:25 [INFO] [stderr] | [INFO] [stderr] 221 | .filter(users_collections::user_uuid.eq(&self.user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:222:25 [INFO] [stderr] | [INFO] [stderr] 222 | .filter(users_collections::collection_uuid.eq(&self.collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:230:21 [INFO] [stderr] | [INFO] [stderr] 230 | .filter(users_collections::collection_uuid.eq(collection_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:231:21 [INFO] [stderr] | [INFO] [stderr] 231 | .select(users_collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:237:9 [INFO] [stderr] | [INFO] [stderr] 237 | users_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:238:21 [INFO] [stderr] | [INFO] [stderr] 238 | .filter(users_collections::collection_uuid.eq(collection_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | .filter(users_collections::user_uuid.eq(user_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 240 | .select(users_collections::all_columns) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:252:24 [INFO] [stderr] | [INFO] [stderr] 252 | diesel::delete(users_collections::table.filter(users_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:252:56 [INFO] [stderr] | [INFO] [stderr] 252 | diesel::delete(users_collections::table.filter(users_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:260:24 [INFO] [stderr] | [INFO] [stderr] 260 | diesel::delete(users_collections::table.filter(users_collections::user_uuid.eq(user_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users_collections` [INFO] [stderr] --> src/db/models/collection.rs:260:56 [INFO] [stderr] | [INFO] [stderr] 260 | diesel::delete(users_collections::table.filter(users_collections::user_uuid.eq(user_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `users_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:269:16 [INFO] [stderr] | [INFO] [stderr] 269 | #[table_name = "ciphers_collections"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:282:30 [INFO] [stderr] | [INFO] [stderr] 282 | diesel::replace_into(ciphers_collections::table) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | ciphers_collections::cipher_uuid.eq(cipher_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | ciphers_collections::collection_uuid.eq(collection_uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:294:13 [INFO] [stderr] | [INFO] [stderr] 294 | ciphers_collections::table [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:295:25 [INFO] [stderr] | [INFO] [stderr] 295 | .filter(ciphers_collections::cipher_uuid.eq(cipher_uuid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:296:25 [INFO] [stderr] | [INFO] [stderr] 296 | .filter(ciphers_collections::collection_uuid.eq(collection_uuid)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:303:24 [INFO] [stderr] | [INFO] [stderr] 303 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::cipher_uuid.eq(cipher_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:303:58 [INFO] [stderr] | [INFO] [stderr] 303 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::cipher_uuid.eq(cipher_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:309:24 [INFO] [stderr] | [INFO] [stderr] 309 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ciphers_collections` [INFO] [stderr] --> src/db/models/collection.rs:309:58 [INFO] [stderr] | [INFO] [stderr] 309 | diesel::delete(ciphers_collections::table.filter(ciphers_collections::collection_uuid.eq(collection_uuid))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ciphers_collections` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Connection` [INFO] [stderr] --> src/db/mod.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | Connection::establish(&CONFIG.database_url()) [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Connection` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Connection` [INFO] [stderr] --> src/db/mod.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | Connection::establish(&CONFIG.database_url()) [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Connection` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `embedded_migrations` [INFO] [stderr] --> src/main.rs:230:9 [INFO] [stderr] | [INFO] [stderr] 230 | embedded_migrations::run_with_output(&connection, &mut stdout()).expect("Can't run migrations"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `embedded_migrations` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:24:42 [INFO] [stderr] | [INFO] [stderr] 24 | type Pool = r2d2::Pool>; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:27:64 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct DbConn(pub r2d2::PooledConnection>); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get_connection() -> Result { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:80:19 [INFO] [stderr] | [INFO] [stderr] 80 | type Target = Connection; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `embedded_migrations` [INFO] [stderr] --> src/main.rs:230:9 [INFO] [stderr] | [INFO] [stderr] 230 | embedded_migrations::run_with_output(&connection, &mut stdout()).expect("Can't run migrations"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `embedded_migrations` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:24:42 [INFO] [stderr] | [INFO] [stderr] 24 | type Pool = r2d2::Pool>; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:27:64 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct DbConn(pub r2d2::PooledConnection>); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get_connection() -> Result { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in this scope [INFO] [stderr] --> src/db/mod.rs:80:19 [INFO] [stderr] | [INFO] [stderr] 80 | type Target = Connection; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::connection::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude::Connection; [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::hyper::header::Connection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Connection as DieselConnection` [INFO] [stderr] --> src/db/mod.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use diesel::{Connection as DieselConnection, ConnectionError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::db::schema::*` [INFO] [stderr] --> src/db/models/cipher.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::db::schema::*` [INFO] [stderr] --> src/db/models/collection.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Connection as DieselConnection` [INFO] [stderr] --> src/db/mod.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use diesel::{Connection as DieselConnection, ConnectionError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::db::schema::*` [INFO] [stderr] --> src/db/models/cipher.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::db::schema::*` [INFO] [stderr] --> src/db/models/collection.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use crate::db::schema::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `diesel::query_builder::insert_statement::Replace: diesel::query_builder::QueryFragment<_>` is not satisfied [INFO] [stderr] --> src/db/models/collection.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | .execute(&**conn) [INFO] [stderr] | ^^^^^^^ the trait `diesel::query_builder::QueryFragment<_>` is not implemented for `diesel::query_builder::insert_statement::Replace` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_builder::QueryFragment<_>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_dsl::load_dsl::ExecuteDsl<_, _>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `diesel::query_builder::insert_statement::Replace: diesel::query_builder::QueryFragment<_>` is not satisfied [INFO] [stderr] --> src/db/models/collection.rs:287:14 [INFO] [stderr] | [INFO] [stderr] 287 | .execute(&**conn) [INFO] [stderr] | ^^^^^^^ the trait `diesel::query_builder::QueryFragment<_>` is not implemented for `diesel::query_builder::insert_statement::Replace` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_builder::QueryFragment<_>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_dsl::load_dsl::ExecuteDsl<_, _>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 184 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `bitwarden_rs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the trait bound `diesel::query_builder::insert_statement::Replace: diesel::query_builder::QueryFragment<_>` is not satisfied [INFO] [stderr] --> src/db/models/collection.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | .execute(&**conn) [INFO] [stderr] | ^^^^^^^ the trait `diesel::query_builder::QueryFragment<_>` is not implemented for `diesel::query_builder::insert_statement::Replace` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_builder::QueryFragment<_>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_dsl::load_dsl::ExecuteDsl<_, _>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `diesel::query_builder::insert_statement::Replace: diesel::query_builder::QueryFragment<_>` is not satisfied [INFO] [stderr] --> src/db/models/collection.rs:287:14 [INFO] [stderr] | [INFO] [stderr] 287 | .execute(&**conn) [INFO] [stderr] | ^^^^^^^ the trait `diesel::query_builder::QueryFragment<_>` is not implemented for `diesel::query_builder::insert_statement::Replace` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_builder::QueryFragment<_>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] = note: required because of the requirements on the impl of `diesel::query_dsl::load_dsl::ExecuteDsl<_, _>` for `diesel::query_builder::InsertStatement<_, _, diesel::query_builder::insert_statement::Replace>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 184 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `bitwarden_rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "969c3da590fc06af02a46476a4fb9eee5a8553dfb90df031590bff8b5b72f696"` [INFO] running `"docker" "rm" "-f" "969c3da590fc06af02a46476a4fb9eee5a8553dfb90df031590bff8b5b72f696"` [INFO] [stdout] 969c3da590fc06af02a46476a4fb9eee5a8553dfb90df031590bff8b5b72f696