[INFO] fetching crate orma 0.3.3... [INFO] checking orma-0.3.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate orma 0.3.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate orma 0.3.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate orma 0.3.3 [INFO] finished tweaking crates.io crate orma 0.3.3 [INFO] tweaked toml for crates.io crate orma 0.3.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding crypto-mac v0.9.1 (available: v0.11.1) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding fallible-iterator v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hmac v0.9.0 (available: v0.12.1) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding miow v0.3.7 (available: v0.6.0) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding phf v0.8.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.8.0 (available: v0.11.2) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding postgres-protocol v0.5.3 (available: v0.6.7) [INFO] [stderr] Adding postgres-types v0.1.3 (available: v0.2.8) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (available: v2.4.0) [INFO] [stderr] Adding tokio-postgres v0.5.5 (available: v0.7.12) [INFO] [stderr] Adding tokio-util v0.3.1 (available: v0.7.12) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.10.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded signal-hook-registry v1.4.2 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded hermit-abi v0.3.9 [INFO] [stderr] Downloaded tokio-postgres v0.5.5 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded futures-macro v0.3.30 [INFO] [stderr] Downloaded futures-executor v0.3.30 [INFO] [stderr] Downloaded digest v0.9.0 [INFO] [stderr] Downloaded sha2 v0.9.9 [INFO] [stderr] Downloaded async-trait v0.1.83 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded futures v0.3.30 [INFO] [stderr] Downloaded rand v0.7.3 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded postgres-types v0.1.3 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded rand_chacha v0.2.2 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded postgres-protocol v0.5.3 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded block-buffer v0.9.0 [INFO] [stderr] Downloaded opaque-debug v0.3.1 [INFO] [stderr] Downloaded orma-derive v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9db828b4ad09f4bffcbb7ac576cd54ad91ee7d3006c6570f535a28055e39279b [INFO] running `Command { std: "docker" "start" "-a" "9db828b4ad09f4bffcbb7ac576cd54ad91ee7d3006c6570f535a28055e39279b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9db828b4ad09f4bffcbb7ac576cd54ad91ee7d3006c6570f535a28055e39279b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db828b4ad09f4bffcbb7ac576cd54ad91ee7d3006c6570f535a28055e39279b", kill_on_drop: false }` [INFO] [stdout] 9db828b4ad09f4bffcbb7ac576cd54ad91ee7d3006c6570f535a28055e39279b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a6e3ce5d22943a8e37a5a02b35bf7faad6e919571c8d60998663ceda1462d8f [INFO] running `Command { std: "docker" "start" "-a" "5a6e3ce5d22943a8e37a5a02b35bf7faad6e919571c8d60998663ceda1462d8f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking postgres-protocol v0.5.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking postgres-types v0.1.3 [INFO] [stderr] Checking tokio-postgres v0.5.5 [INFO] [stderr] Checking orma v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/dbentity.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | struct Test {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/dbentity.rs:411:10 [INFO] [stdout] | [INFO] [stdout] 411 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `orma` [INFO] [stdout] --> tests/test.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | #[orma::test] [INFO] [stdout] | ^^^^ could not find `test` in `orma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `orma` [INFO] [stdout] --> tests/test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | #[orma::test] [INFO] [stdout] | ^^^^ could not find `test` in `orma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `orma` [INFO] [stdout] --> tests/test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | #[orma::test] [INFO] [stdout] | ^^^^ could not find `test` in `orma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `orma_obj` in this scope [INFO] [stdout] --> tests/group/mod.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[orma_obj(table = "intrared.groups")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `orma_obj` in this scope [INFO] [stdout] --> tests/user/mod.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[orma_obj(table = "intrared.users")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `orma::Connection` is not a future [INFO] [stdout] --> tests/test.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | let connection = connection.await; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`orma::Connection` is not a future [INFO] [stdout] | help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `orma::Connection`, which is required by `orma::Connection: IntoFuture` [INFO] [stdout] = note: orma::Connection must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `orma::Connection` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | let mut user_entity = DbEntity::from_data(user1); [INFO] [stdout] | ------------------- ^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity::::from_data` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity::::from_data` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn from_data(data: T) -> Self { [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | let mut user_entity = DbEntity::from_data(user1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | user_entity.insert(&connection).await.unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/user/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `user::User: orma::DbData` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `user::User: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:93:72 [INFO] [stdout] | [INFO] [stdout] 93 | let find_result = User::find_by_user_name(&connection, &user_name).await; [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | find_result.is_ok(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | find_result.unwrap().is_some(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | find_result.unwrap().is_some(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `delete` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | user_entity.delete(&connection).await.is_ok(), [INFO] [stdout] | ^^^^^^ method cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/user/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `user::User: orma::DbData` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `user::User: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:108:85 [INFO] [stdout] | [INFO] [stdout] 108 | let find_after_delete_result = User::find_by_user_name(&connection, &user_name).await; [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | find_after_delete_result.unwrap().is_none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | find_after_delete_result.unwrap().is_none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `orma::Connection` is not a future [INFO] [stdout] --> tests/test.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | let mut conn = connection.await; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`orma::Connection` is not a future [INFO] [stdout] | help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `orma::Connection`, which is required by `orma::Connection: IntoFuture` [INFO] [stdout] = note: orma::Connection must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `orma::Connection` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | let mut group_entity = DbEntity::from_data(group1); [INFO] [stdout] | ------------------- ^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity::::from_data` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity::::from_data` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn from_data(data: T) -> Self { [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | let mut group_entity = DbEntity::from_data(group1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | group_entity.insert(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/group/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Group { [INFO] [stdout] | ---------------- doesn't satisfy `group::Group: orma::DbData` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `group::Group: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:130:63 [INFO] [stdout] | [INFO] [stdout] 130 | let find_result = Group::find_by_name(&conn, &group_name).await; [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | find_result.is_ok(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | find_result.unwrap().is_some(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | find_result.unwrap().is_some(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `delete` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | assert!(group_entity.delete(&conn).await.is_ok(), "Delete Failed"); [INFO] [stdout] | ^^^^^^ method cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/group/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Group { [INFO] [stdout] | ---------------- doesn't satisfy `group::Group: orma::DbData` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `group::Group: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:142:76 [INFO] [stdout] | [INFO] [stdout] 142 | let find_after_delete_result = Group::find_by_name(&conn, &group_name).await; [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | find_after_delete_result.unwrap().is_none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | find_after_delete_result.unwrap().is_none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let all_groups: Vec> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `orma::Connection` is not a future [INFO] [stdout] --> tests/test.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let mut conn = connection.await; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`orma::Connection` is not a future [INFO] [stdout] | help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `orma::Connection`, which is required by `orma::Connection: IntoFuture` [INFO] [stdout] = note: orma::Connection must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `orma::Connection` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | let mut user_entity1 = DbEntity::from_data(user1); [INFO] [stdout] | ------------------- ^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity::::from_data` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity::::from_data` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn from_data(data: T) -> Self { [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | let mut user_entity1 = DbEntity::from_data(user1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | user_entity1.insert(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/user/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `user::User: orma::DbData` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `user::User: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:169:49 [INFO] [stdout] | [INFO] [stdout] 169 | let mut group_entity1 = DbEntity::from_data(group1); [INFO] [stdout] | ------------------- ^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity::::from_data` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity::::from_data` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn from_data(data: T) -> Self { [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | let mut group_entity1 = DbEntity::from_data(group1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | group_entity1.insert(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/group/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Group { [INFO] [stdout] | ---------------- doesn't satisfy `group::Group: orma::DbData` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `group::Group: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | DbEntity::find_all(&conn, None, None, 0, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | all_groups.len() == 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | DbEntity::find_all(&conn, None, None, 0, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity::::find_all` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity::::find_all` [INFO] [stdout] ... [INFO] [stdout] 262 | pub async fn find_all( [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | DbEntity::find_all(&conn, None, None, 0, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:180:53 [INFO] [stdout] | [INFO] [stdout] 180 | DbEntity::find_all(&conn, None, None, 0, 1).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | all_groups.len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | DbEntity::find_all(&conn, None, None, 0, 2).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | all_groups.len() == 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | DbEntity::find_all(&conn, None, None, 0, 2).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity::::find_all` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity::::find_all` [INFO] [stdout] ... [INFO] [stdout] 262 | pub async fn find_all( [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | DbEntity::find_all(&conn, None, None, 0, 2).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | DbEntity::find_all(&conn, None, None, 0, 2).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | all_groups.len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 200 | let user1_groups = &mut user_groups(&user_entity1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:202:52 [INFO] [stdout] | [INFO] [stdout] 202 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | user1_groups_items.len() == 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:202:65 [INFO] [stdout] | [INFO] [stdout] 202 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn fetch(&self, conn: &Connection) -> Result>, DbError> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 204 | where [INFO] [stdout] 205 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:202:78 [INFO] [stdout] | [INFO] [stdout] 202 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn fetch(&self, conn: &Connection) -> Result>, DbError> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 204 | where [INFO] [stdout] 205 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | user1_groups_items.len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | let ug_grp1_entity = user1_groups_items.get(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | let ug_grp1_entity = user1_groups_items.get(0).unwrap(); [INFO] [stdout] | ^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | let ug_grp1_entity = user1_groups_items.get(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:223:49 [INFO] [stdout] | [INFO] [stdout] 223 | let mut group_entity2 = DbEntity::from_data(group2); [INFO] [stdout] | ------------------- ^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity::::from_data` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity::::from_data` [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn from_data(data: T) -> Self { [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let mut group_entity2 = DbEntity::from_data(group2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | group_entity2.insert(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/group/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Group { [INFO] [stdout] | ---------------- doesn't satisfy `group::Group: orma::DbData` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `group::Group: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:227:31 [INFO] [stdout] | [INFO] [stdout] 227 | .add_items(&mut conn, &[&group_entity2]) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::add_items` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub async fn add_items( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 370 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::add_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / user1_groups [INFO] [stdout] 227 | | .add_items(&mut conn, &[&group_entity2]) [INFO] [stdout] | |________________________________________________^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::add_items` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub async fn add_items( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 370 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::add_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | .await [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::add_items` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub async fn add_items( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 370 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::add_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:232:52 [INFO] [stdout] | [INFO] [stdout] 232 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | user1_groups_items.len() == 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:232:65 [INFO] [stdout] | [INFO] [stdout] 232 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn fetch(&self, conn: &Connection) -> Result>, DbError> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 204 | where [INFO] [stdout] 205 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:232:78 [INFO] [stdout] | [INFO] [stdout] 232 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn fetch(&self, conn: &Connection) -> Result>, DbError> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 204 | where [INFO] [stdout] 205 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | user1_groups_items.len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | user1_groups_items.get(0).unwrap().data.name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | user1_groups_items.get(0).unwrap().data.name, [INFO] [stdout] | ^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | user1_groups_items.get(0).unwrap().data.name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | user1_groups_items.get(0).unwrap().data.name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | user1_groups_items.get(0).unwrap().data.name [INFO] [stdout] | ^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | user1_groups_items.get(0).unwrap().data.name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:249:65 [INFO] [stdout] | [INFO] [stdout] 249 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn fetch(&self, conn: &Connection) -> Result>, DbError> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 204 | where [INFO] [stdout] 205 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:249:78 [INFO] [stdout] | [INFO] [stdout] 249 | let user1_groups_items: Vec> = user1_groups.fetch(&conn).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn fetch(&self, conn: &Connection) -> Result>, DbError> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 204 | where [INFO] [stdout] 205 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | user1_groups_items.get(0).unwrap().data.name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | user1_groups_items.get(0).unwrap().data.name, [INFO] [stdout] | ^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | user1_groups_items.get(0).unwrap().data.name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | user1_groups_items.get(0).unwrap().data.name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | user1_groups_items.get(0).unwrap().data.name [INFO] [stdout] | ^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | user1_groups_items.get(0).unwrap().data.name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:258:52 [INFO] [stdout] | [INFO] [stdout] 258 | let user1_groups_items: Vec> = user1_groups [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 259 | | .fetch_filtered(&conn, ("a.data->>'name' = $1", &[&group_name2])) [INFO] [stdout] 260 | | .await [INFO] [stdout] 261 | | .unwrap(); [INFO] [stdout] | |_________________^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | user1_groups_items.len() == 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:259:10 [INFO] [stdout] | [INFO] [stdout] 259 | .fetch_filtered(&conn, ("a.data->>'name' = $1", &[&group_name2])) [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch_filtered` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub async fn fetch_filtered( [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 223 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch_filtered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | .await [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbJoin::fetch_filtered` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub async fn fetch_filtered( [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 223 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `DbJoin::fetch_filtered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/test.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | user1_groups_items.len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `find_by` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/group/mod.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Group { [INFO] [stdout] | ---------------- doesn't satisfy `group::Group: orma::DbData` [INFO] [stdout] ... [INFO] [stdout] 16 | DbEntity::::find_by(db_conn, ("data->>'name'=$1", &[&name])).await [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `group::Group: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/group/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | DbEntity::::find_by(db_conn, ("data->>'name'=$1", &[&name])).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/group/mod.rs:16:77 [INFO] [stdout] | [INFO] [stdout] 16 | DbEntity::::find_by(db_conn, ("data->>'name'=$1", &[&name])).await [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Group: orma::DbData` is not satisfied [INFO] [stdout] --> tests/group/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / pub async fn find_by_name( [INFO] [stdout] 13 | | db_conn: &Connection, [INFO] [stdout] 14 | | name: &str, [INFO] [stdout] 15 | | ) -> Result>, DbError> { [INFO] [stdout] | |_________________________________________________^ the trait `orma::DbData` is not implemented for `group::Group` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `find_by` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/user/mod.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `user::User: orma::DbData` [INFO] [stdout] ... [INFO] [stdout] 21 | DbEntity::::find_by(db_conn, ("data->>'user_name'=$1", &[&user_name])).await [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `user::User: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | DbEntity::::find_by(db_conn, ("data->>'user_name'=$1", &[&user_name])).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:21:86 [INFO] [stdout] | [INFO] [stdout] 21 | DbEntity::::find_by(db_conn, ("data->>'user_name'=$1", &[&user_name])).await [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pub async fn find_by_user_name( [INFO] [stdout] 18 | | db_conn: &Connection, [INFO] [stdout] 19 | | user_name: &str, [INFO] [stdout] 20 | | ) -> Result>, DbError> { [INFO] [stdout] | |________________________________________________^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `find_all` exists for struct `DbEntity`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/user/mod.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `user::User: orma::DbData` [INFO] [stdout] ... [INFO] [stdout] 25 | DbEntity::::find_all( [INFO] [stdout] | ^^^^^^^^ function or associated item cannot be called on `DbEntity` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `user::User: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | DbEntity::::find_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | .await [INFO] [stdout] | ^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn find_all_sort(db_conn: &Connection) -> Result>, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn user_groups(user: &DbEntity) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::DbEntity` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DbEntity [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: DbData + Serialize + DeserializeOwned, [INFO] [stdout] | ^^^^^^ required by this bound in `DbEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | let db_join = JoinBuilder::new(&user.data) [INFO] [stdout] | ---------------- ^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::JoinBuilder::<'a, A>::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `JoinBuilder::<'a, A>::new` [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn new(source: &'a A) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_join_table` exists for struct `JoinBuilder<'_, User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/user/mod.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `user::User: orma::DbData` [INFO] [stdout] ... [INFO] [stdout] 37 | let db_join = JoinBuilder::new(&user.data) [INFO] [stdout] | ___________________- [INFO] [stdout] 38 | | .with_join_table("intrared.r_user_group", "id_user", "id_group") [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method cannot be called on `JoinBuilder<'_, User>` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `user::User: orma::DbData` [INFO] [stdout] note: the trait `orma::DbData` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/dbentity.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait DbData: Serialize + DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `user::User: orma::DbData` is not satisfied [INFO] [stdout] --> tests/user/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let db_join = JoinBuilder::new(&user.data) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `orma::DbData` is not implemented for `user::User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `orma::JoinBuilder` [INFO] [stdout] --> /opt/rustwide/workdir/src/dbjoin.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 449 | pub struct JoinBuilder<'a, A> [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] 450 | where [INFO] [stdout] 451 | A: DbData, [INFO] [stdout] | ^^^^^^ required by this bound in `JoinBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `table_name` found for struct `group::Group` in the current scope [INFO] [stdout] --> tests/user/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | .with_target(Group::table_name()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Group` [INFO] [stdout] | [INFO] [stdout] ::: tests/group/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Group { [INFO] [stdout] | ---------------- function or associated item `table_name` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `table_name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `orma::DbData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `user::User` has no field named `orma_id` [INFO] [stdout] --> tests/test.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / new_data!(User, { [INFO] [stdout] 64 | | user_name: user_name.to_owned(), [INFO] [stdout] 65 | | email: email.to_owned(), [INFO] [stdout] 66 | | user_id: Some(user_name.to_owned()), [INFO] [stdout] 67 | | first_name: String::from("FirstName"), [INFO] [stdout] 68 | | last_name: String::from("LastName"), [INFO] [stdout] 69 | | }) [INFO] [stdout] | |______^ `user::User` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the macro `new_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `user::User` has no field named `orma_version` [INFO] [stdout] --> tests/test.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / new_data!(User, { [INFO] [stdout] 64 | | user_name: user_name.to_owned(), [INFO] [stdout] 65 | | email: email.to_owned(), [INFO] [stdout] 66 | | user_id: Some(user_name.to_owned()), [INFO] [stdout] 67 | | first_name: String::from("FirstName"), [INFO] [stdout] 68 | | last_name: String::from("LastName"), [INFO] [stdout] 69 | | }) [INFO] [stdout] | |______^ `user::User` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the macro `new_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `group::Group` has no field named `orma_id` [INFO] [stdout] --> tests/test.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / new_data!(Group, { [INFO] [stdout] 74 | | name: name.to_owned(), [INFO] [stdout] 75 | | description: Some(description.to_owned()), [INFO] [stdout] 76 | | }) [INFO] [stdout] | |______^ `group::Group` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the macro `new_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `group::Group` has no field named `orma_version` [INFO] [stdout] --> tests/test.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / new_data!(Group, { [INFO] [stdout] 74 | | name: name.to_owned(), [INFO] [stdout] 75 | | description: Some(description.to_owned()), [INFO] [stdout] 76 | | }) [INFO] [stdout] | |______^ `group::Group` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the macro `new_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orma` (test "test") due to 111 previous errors [INFO] running `Command { std: "docker" "inspect" "5a6e3ce5d22943a8e37a5a02b35bf7faad6e919571c8d60998663ceda1462d8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a6e3ce5d22943a8e37a5a02b35bf7faad6e919571c8d60998663ceda1462d8f", kill_on_drop: false }` [INFO] [stdout] 5a6e3ce5d22943a8e37a5a02b35bf7faad6e919571c8d60998663ceda1462d8f