[INFO] fetching crate dojo-orm 0.2.2... [INFO] checking dojo-orm-0.2.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate dojo-orm 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate dojo-orm 0.2.2 [INFO] finished tweaking crates.io crate dojo-orm 0.2.2 [INFO] tweaked toml for crates.io crate dojo-orm 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dojo-orm 0.2.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 291 packages to latest compatible versions [INFO] [stderr] Adding bb8 v0.8.6 (available: v0.9.0) [INFO] [stderr] Adding bb8-postgres v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bollard-stubs v1.42.0-rc.3 (available: v1.42.0-rc.8) [INFO] [stderr] Adding googletest v0.11.0 (available: v0.14.2) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.26.1) [INFO] [stderr] Adding strum v0.25.0 (available: v0.27.2) [INFO] [stderr] Adding testcontainers-modules v0.3.7 (available: v0.12.1) [INFO] [stderr] Adding typed-builder v0.18.2 (available: v0.21.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6314cf95923dae70e8dcb2f6dca4134ffb31ecc2f8e4ddb6378d4e3ed32d7fd5 [INFO] running `Command { std: "docker" "start" "-a" "6314cf95923dae70e8dcb2f6dca4134ffb31ecc2f8e4ddb6378d4e3ed32d7fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6314cf95923dae70e8dcb2f6dca4134ffb31ecc2f8e4ddb6378d4e3ed32d7fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6314cf95923dae70e8dcb2f6dca4134ffb31ecc2f8e4ddb6378d4e3ed32d7fd5", kill_on_drop: false }` [INFO] [stdout] 6314cf95923dae70e8dcb2f6dca4134ffb31ecc2f8e4ddb6378d4e3ed32d7fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b894df37d273661e9729d06962d18efa709a3fa8836c7b86ee9842658906ca48 [INFO] running `Command { std: "docker" "start" "-a" "b894df37d273661e9729d06962d18efa709a3fa8836c7b86ee9842658906ca48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking static_assertions_next v1.1.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling uuid-macro-internal v1.18.0 [INFO] [stderr] Compiling postgres-derive v0.4.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling googletest_macro v0.11.0 [INFO] [stderr] Checking googletest v0.11.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking typed-builder v0.18.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking async-graphql-value v7.0.17 [INFO] [stderr] Checking async-graphql-parser v7.0.17 [INFO] [stderr] Checking bollard-stubs v1.42.0-rc.3 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling refinery-core v0.8.16 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling refinery-macros v0.8.16 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.17 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking bb8 v0.8.6 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking postgres-openssl v0.5.1 [INFO] [stderr] Checking bb8-postgres v0.8.1 [INFO] [stderr] Checking refinery v0.8.16 [INFO] [stderr] Checking testcontainers v0.15.0 [INFO] [stderr] Checking testcontainers-modules v0.3.7 [INFO] [stderr] Checking async-graphql v7.0.17 [INFO] [stderr] Checking dojo-orm v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> src/pagination.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use dojo_macros::Model; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> src/query_builder.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | use dojo_macros::Model; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get(&self) -> anyhow::Result>> { [INFO] [stdout] | ^^^^^ -------------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get(&self) -> anyhow::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn delete(&self) -> WhereDelete [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn delete(&self) -> WhereDelete<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/order_by.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn asc(column: &str) -> OrderPredicate { [INFO] [stdout] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn asc(column: &str) -> OrderPredicate<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/order_by.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn desc(column: &str) -> OrderPredicate { [INFO] [stdout] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn desc(column: &str) -> OrderPredicate<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> tests/test_delete.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dojo_macros::Model; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> tests/test_order_by.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dojo_macros::Model; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> tests/test_paging.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dojo_macros::Model; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> tests/test_select.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dojo_macros::Model; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_order_by.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_order_by.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_delete.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_paging.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_paging.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_select.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_select.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo-orm` (lib test) due to 2 previous errors [INFO] [stdout] error[E0277]: the trait bound `test_order_by_desc::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_order_by.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | $db.insert_many(&[ [INFO] [stdout] | _____________-----------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 16 | | $(User { [INFO] [stdout] 17 | | id: Uuid::new_v4(), [INFO] [stdout] 18 | | name: $name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 22 | | }),+ [INFO] [stdout] 23 | | ]).await?; [INFO] [stdout] | |_________^ the trait `Model` is not implemented for `test_order_by_desc::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 42 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert_many` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert_many<'a, T>(&'a self, data: &'a [T]) -> InsertManyOperation<'a, T> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert_many` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_desc::{closure#0}::User>` is not a future [INFO] [stdout] --> tests/test_order_by.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ]).await?; [INFO] [stdout] | ^^^^^ `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_desc::{closure#0}::User>` is not a future [INFO] [stdout] ... [INFO] [stdout] 42 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_desc::{closure#0}::User>` [INFO] [stdout] = note: dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_desc::{closure#0}::User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_desc::{closure#0}::User>` to implement `IntoFuture` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 23 - ]).await?; [INFO] [stdout] 23 + ])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_order_by_desc::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_order_by.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | .bind::() [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_order_by_desc::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> tests/test_insert.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dojo_macros::{EmbeddedModel, Model}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dojo_macros` [INFO] [stdout] --> tests/test_update.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dojo_macros::{EmbeddedModel, Model, UpdateModel}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dojo_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dojo_macros`, use `cargo add dojo_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_delete.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | db.insert(&User { [INFO] [stdout] | ________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 30 | | id, [INFO] [stdout] 31 | | name: "linh12".to_string(), [INFO] [stdout] 32 | | email: "linh12@gmail.com".to_string(), [INFO] [stdout] 33 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 34 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 35 | | }) [INFO] [stdout] | |_____^ the trait `Model` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_delete.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / db.insert(&User { [INFO] [stdout] 30 | | id, [INFO] [stdout] 31 | | name: "linh12".to_string(), [INFO] [stdout] 32 | | email: "linh12@gmail.com".to_string(), [INFO] [stdout] 33 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 34 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 35 | | }) [INFO] [stdout] | |______^ the trait `Model` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dojo_orm::insert_operation::InsertOperation<'_, User>` is not a future [INFO] [stdout] --> tests/test_delete.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | .await?; [INFO] [stdout] | ^^^^^ `dojo_orm::insert_operation::InsertOperation<'_, User>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `dojo_orm::insert_operation::InsertOperation<'_, User>` [INFO] [stdout] = note: dojo_orm::insert_operation::InsertOperation<'_, User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `dojo_orm::insert_operation::InsertOperation<'_, User>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 36 - .await?; [INFO] [stdout] 36 + ?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_delete.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | .await?; [INFO] [stdout] | ^^^^^ the trait `Model` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_delete.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | .delete::() [INFO] [stdout] | ------ ^^^^ the trait `Model` is not implemented for `User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::delete` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn delete(&self) -> WhereDelete [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 90 | where [INFO] [stdout] 91 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_forward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | $($db.insert(&User { [INFO] [stdout] | _______________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 15 | | id: Uuid::new_v4(), [INFO] [stdout] 16 | | name: $name.to_string(), [INFO] [stdout] 17 | | email: concat!($name, "@gmail.com").to_string(), [INFO] [stdout] 18 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 19 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 20 | | }).await?;)+ [INFO] [stdout] | |_________^ the trait `Model` is not implemented for `test_paging_forward::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 54 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `order_by` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_order_by_desc::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_order_by.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 34 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_order_by_desc::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 44 | let users = db [INFO] [stdout] | _________________- [INFO] [stdout] 45 | | .bind::() [INFO] [stdout] 46 | | .order_by(desc("created_at")) [INFO] [stdout] | | -^^^^^^^^ private field, not a method [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_order_by_desc::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_update.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dojo_orm::insert_operation::InsertOperation<'_, test_paging_forward::{closure#0}::User>` is not a future [INFO] [stdout] --> tests/test_paging.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | }).await?;)+ [INFO] [stdout] | ^^^^^ `dojo_orm::insert_operation::InsertOperation<'_, test_paging_forward::{closure#0}::User>` is not a future [INFO] [stdout] ... [INFO] [stdout] 54 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `dojo_orm::insert_operation::InsertOperation<'_, test_paging_forward::{closure#0}::User>` [INFO] [stdout] = note: dojo_orm::insert_operation::InsertOperation<'_, test_paging_forward::{closure#0}::User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `dojo_orm::insert_operation::InsertOperation<'_, test_paging_forward::{closure#0}::User>` to implement `IntoFuture` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 20 - }).await?;)+ [INFO] [stdout] 20 + })?;)+ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_forward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | $($db.insert(&User { [INFO] [stdout] | ___________^ [INFO] [stdout] 15 | | id: Uuid::new_v4(), [INFO] [stdout] 16 | | name: $name.to_string(), [INFO] [stdout] 17 | | email: concat!($name, "@gmail.com").to_string(), [INFO] [stdout] 18 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 19 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 20 | | }).await?;)+ [INFO] [stdout] | |__________^ the trait `Model` is not implemented for `test_paging_forward::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 54 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_update.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[dojo(name = "products", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_forward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | }).await?;)+ [INFO] [stdout] | ^^^^^ the trait `Model` is not implemented for `test_paging_forward::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 54 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_update.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[dojo(nullable)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_forward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_forward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_forward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 46 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 57 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_order_by_asc::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_order_by.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | $db.insert_many(&[ [INFO] [stdout] | _____________-----------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 16 | | $(User { [INFO] [stdout] 17 | | id: Uuid::new_v4(), [INFO] [stdout] 18 | | name: $name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 22 | | }),+ [INFO] [stdout] 23 | | ]).await?; [INFO] [stdout] | |_________^ the trait `Model` is not implemented for `test_order_by_asc::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 88 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert_many` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert_many<'a, T>(&'a self, data: &'a [T]) -> InsertManyOperation<'a, T> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert_many` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_asc::{closure#0}::User>` is not a future [INFO] [stdout] --> tests/test_order_by.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ]).await?; [INFO] [stdout] | ^^^^^ `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_asc::{closure#0}::User>` is not a future [INFO] [stdout] ... [INFO] [stdout] 88 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_asc::{closure#0}::User>` [INFO] [stdout] = note: dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_asc::{closure#0}::User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `dojo_orm::insert_operation::InsertManyOperation<'_, test_order_by_asc::{closure#0}::User>` to implement `IntoFuture` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 23 - ]).await?; [INFO] [stdout] 23 + ])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_order_by_asc::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_order_by.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | .bind::() [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_order_by_asc::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_insert.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_forward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_forward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_insert.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `order_by` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_order_by_asc::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_order_by.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 80 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_order_by_asc::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 90 | let users = db [INFO] [stdout] | _________________- [INFO] [stdout] 91 | | .bind::() [INFO] [stdout] 92 | | .order_by(asc("created_at")) [INFO] [stdout] | | -^^^^^^^^ private field, not a method [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_order_by_asc::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_insert.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | #[dojo(name = "users", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_forward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 46 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 73 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_insert.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[dojo(name = "products", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dojo` in this scope [INFO] [stdout] --> tests/test_insert.rs:228:7 [INFO] [stdout] | [INFO] [stdout] 228 | #[dojo(name = "test", sort_keys = ["created_at", "id"])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_forward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_forward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `where_by` exists for struct `dojo_orm::where_delete::WhereDelete<'_, User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_delete.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 20 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `User: Model` [INFO] [stdout] ... [INFO] [stdout] 38 | let user = db [INFO] [stdout] | ________________- [INFO] [stdout] 39 | | .delete::() [INFO] [stdout] 40 | | .where_by(equals("id", &id)) [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `dojo_orm::where_delete::WhereDelete<'_, 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: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_forward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 46 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 89 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_forward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_forward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_forward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 46 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 105 | let pagination = db.bind::().cursor(first, after, None, None).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_forward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | db.insert(&User { [INFO] [stdout] | ________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 36 | | id, [INFO] [stdout] 37 | | name: "linh12".to_string(), [INFO] [stdout] 38 | | email: "linh12@gmail.com".to_string(), [INFO] [stdout] 39 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 40 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 41 | | }) [INFO] [stdout] | |_____^ the trait `Model` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / db.insert(&User { [INFO] [stdout] 36 | | id, [INFO] [stdout] 37 | | name: "linh12".to_string(), [INFO] [stdout] 38 | | email: "linh12@gmail.com".to_string(), [INFO] [stdout] 39 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 40 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 41 | | }) [INFO] [stdout] | |______^ the trait `Model` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dojo_orm::insert_operation::InsertOperation<'_, User>` is not a future [INFO] [stdout] --> tests/test_update.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | .await?; [INFO] [stdout] | ^^^^^ `dojo_orm::insert_operation::InsertOperation<'_, User>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `dojo_orm::insert_operation::InsertOperation<'_, User>` [INFO] [stdout] = note: dojo_orm::insert_operation::InsertOperation<'_, User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `dojo_orm::insert_operation::InsertOperation<'_, User>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 42 - .await?; [INFO] [stdout] 42 + ?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | .await?; [INFO] [stdout] | ^^^^^ the trait `Model` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo-orm` (test "test_delete") due to 8 previous errors [INFO] [stdout] error[E0277]: the trait bound `test_select_with_limit::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_select.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | $db.insert_many(&[ [INFO] [stdout] | _____________-----------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 16 | | $(User { [INFO] [stdout] 17 | | id: Uuid::new_v4(), [INFO] [stdout] 18 | | name: $name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 22 | | }),+ [INFO] [stdout] 23 | | ]).await?; [INFO] [stdout] | |_________^ the trait `Model` is not implemented for `test_select_with_limit::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 42 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert_many` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert_many<'a, T>(&'a self, data: &'a [T]) -> InsertManyOperation<'a, T> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert_many` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | .update::(&input) [INFO] [stdout] | ------ ^^^^ the trait `Model` is not implemented for `User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::update` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update<'a, T, U>(&'a self, data: &'a U) -> WhereUpdate<'a, T, U> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpdateUser: UpdateModel` is not satisfied [INFO] [stdout] --> tests/test_update.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | .update::(&input) [INFO] [stdout] | ------ ^^^^^^^^^^ the trait `UpdateModel` is not implemented for `UpdateUser` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::update` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update<'a, T, U>(&'a self, data: &'a U) -> WhereUpdate<'a, T, U> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 77 | U: UpdateModel, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Database::update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `InsertManyOperation<'_, User>` is not a future [INFO] [stdout] --> tests/test_select.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ]).await?; [INFO] [stdout] | ^^^^^ `InsertManyOperation<'_, User>` is not a future [INFO] [stdout] ... [INFO] [stdout] 42 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `InsertManyOperation<'_, User>` [INFO] [stdout] = note: InsertManyOperation<'_, User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `InsertManyOperation<'_, User>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/test_select-4b2cceac80c94439.long-type-9687991988088629840.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 23 - ]).await?; [INFO] [stdout] 23 + ])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_backward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | $($db.insert(&User { [INFO] [stdout] | _______________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 15 | | id: Uuid::new_v4(), [INFO] [stdout] 16 | | name: $name.to_string(), [INFO] [stdout] 17 | | email: concat!($name, "@gmail.com").to_string(), [INFO] [stdout] 18 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 19 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 20 | | }).await?;)+ [INFO] [stdout] | |_________^ the trait `Model` is not implemented for `test_paging_backward::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 128 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dojo_orm::insert_operation::InsertOperation<'_, test_paging_backward::{closure#0}::User>` is not a future [INFO] [stdout] --> tests/test_paging.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | }).await?;)+ [INFO] [stdout] | ^^^^^ `dojo_orm::insert_operation::InsertOperation<'_, test_paging_backward::{closure#0}::User>` is not a future [INFO] [stdout] ... [INFO] [stdout] 128 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `dojo_orm::insert_operation::InsertOperation<'_, test_paging_backward::{closure#0}::User>` [INFO] [stdout] = note: dojo_orm::insert_operation::InsertOperation<'_, test_paging_backward::{closure#0}::User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `dojo_orm::insert_operation::InsertOperation<'_, test_paging_backward::{closure#0}::User>` to implement `IntoFuture` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 20 - }).await?;)+ [INFO] [stdout] 20 + })?;)+ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_select_with_limit::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_select.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let users = db.bind::().limit(2).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_select_with_limit::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_backward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | $($db.insert(&User { [INFO] [stdout] | ___________^ [INFO] [stdout] 15 | | id: Uuid::new_v4(), [INFO] [stdout] 16 | | name: $name.to_string(), [INFO] [stdout] 17 | | email: concat!($name, "@gmail.com").to_string(), [INFO] [stdout] 18 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 19 | | updated_at: Utc::now().naive_utc(), [INFO] [stdout] 20 | | }).await?;)+ [INFO] [stdout] | |__________^ the trait `Model` is not implemented for `test_paging_backward::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 128 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_backward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | }).await?;)+ [INFO] [stdout] | ^^^^^ the trait `Model` is not implemented for `test_paging_backward::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 128 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_backward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_backward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `where_by` exists for struct `dojo_orm::where_update::WhereUpdate<'_, User, UpdateUser>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_update.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 20 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `User: Model` [INFO] [stdout] ... [INFO] [stdout] 29 | struct UpdateUser { [INFO] [stdout] | ----------------- doesn't satisfy `UpdateUser: UpdateModel` [INFO] [stdout] ... [INFO] [stdout] 49 | let user = db [INFO] [stdout] | ________________- [INFO] [stdout] 50 | | .update::(&input) [INFO] [stdout] 51 | | .where_by(equals("id", &id)) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `User: Model` [INFO] [stdout] `UpdateUser: UpdateModel` [INFO] [stdout] note: the traits `Model` and `UpdateModel` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub trait UpdateModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_backward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 120 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 131 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_backward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_backward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_backward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 120 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 147 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_update_embedded::{closure#0}::Product: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | db.insert(&Product { [INFO] [stdout] | ________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 98 | | id, [INFO] [stdout] 99 | | name: "product 1".to_string(), [INFO] [stdout] 100 | | detail: Some(ProductDetail { [INFO] [stdout] ... | [INFO] [stdout] 104 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 105 | | }) [INFO] [stdout] | |_____^ the trait `Model` is not implemented for `test_update_embedded::{closure#0}::Product` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo-orm` (test "test_order_by") due to 11 previous errors [INFO] [stdout] error[E0277]: the trait bound `test_paging_backward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_backward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_update_embedded::{closure#0}::Product: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | / db.insert(&Product { [INFO] [stdout] 98 | | id, [INFO] [stdout] 99 | | name: "product 1".to_string(), [INFO] [stdout] 100 | | detail: Some(ProductDetail { [INFO] [stdout] ... | [INFO] [stdout] 104 | | created_at: Utc::now().naive_utc(), [INFO] [stdout] 105 | | }) [INFO] [stdout] | |______^ the trait `Model` is not implemented for `test_update_embedded::{closure#0}::Product` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `limit` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_select_with_limit::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_select.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 34 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_select_with_limit::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 44 | let users = db.bind::().limit(2).await?; [INFO] [stdout] | ^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_select_with_limit::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dojo_orm::insert_operation::InsertOperation<'_, test_update_embedded::{closure#0}::Product>` is not a future [INFO] [stdout] --> tests/test_update.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 106 | .await?; [INFO] [stdout] | ^^^^^ `dojo_orm::insert_operation::InsertOperation<'_, test_update_embedded::{closure#0}::Product>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `dojo_orm::insert_operation::InsertOperation<'_, test_update_embedded::{closure#0}::Product>` [INFO] [stdout] = note: dojo_orm::insert_operation::InsertOperation<'_, test_update_embedded::{closure#0}::Product> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `dojo_orm::insert_operation::InsertOperation<'_, test_update_embedded::{closure#0}::Product>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 106 - .await?; [INFO] [stdout] 106 + ?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_update_embedded::{closure#0}::Product: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 106 | .await?; [INFO] [stdout] | ^^^^^ the trait `Model` is not implemented for `test_update_embedded::{closure#0}::Product` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `dojo_orm::insert_operation::InsertOperation` [INFO] [stdout] --> /opt/rustwide/workdir/src/insert_operation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InsertOperation<'a, T> [INFO] [stdout] | --------------- required by a bound in this struct [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `InsertOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_update_embedded::{closure#0}::Product: Model` is not satisfied [INFO] [stdout] --> tests/test_update.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | .update::(&UpdateProduct { [INFO] [stdout] | ------ ^^^^^^^ the trait `Model` is not implemented for `test_update_embedded::{closure#0}::Product` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::update` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update<'a, T, U>(&'a self, data: &'a U) -> WhereUpdate<'a, T, U> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_backward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 120 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 163 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpdateProduct: UpdateModel` is not satisfied [INFO] [stdout] --> tests/test_update.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | .update::(&UpdateProduct { [INFO] [stdout] | ------ ^^^^^^^^^^^^^ the trait `UpdateModel` is not implemented for `UpdateProduct` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::update` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update<'a, T, U>(&'a self, data: &'a U) -> WhereUpdate<'a, T, U> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 77 | U: UpdateModel, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Database::update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_paging_backward::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_paging.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_paging_backward::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `where_by` exists for struct `WhereUpdate<'_, Product, UpdateProduct>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_update.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 80 | struct Product { [INFO] [stdout] | -------------- doesn't satisfy `test_update_embedded::{closure#0}::Product: Model` [INFO] [stdout] ... [INFO] [stdout] 89 | struct UpdateProduct { [INFO] [stdout] | -------------------- doesn't satisfy `UpdateProduct: UpdateModel` [INFO] [stdout] ... [INFO] [stdout] 108 | let product = db [INFO] [stdout] | ___________________- [INFO] [stdout] 109 | | .update::(&UpdateProduct { [INFO] [stdout] 110 | | name: Some("product 2".to_string()), [INFO] [stdout] 111 | | detail: Some(ProductDetail { [INFO] [stdout] ... | [INFO] [stdout] 115 | | }) [INFO] [stdout] 116 | | .where_by(equals("id", &id)) [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `WhereUpdate<'_, Product, UpdateProduct>` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_update_embedded::{closure#0}::Product: Model` [INFO] [stdout] `UpdateProduct: UpdateModel` [INFO] [stdout] note: the traits `Model` and `UpdateModel` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub trait UpdateModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/test_update-9107d3a5f52e9df9.long-type-15855148548033689277.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cursor` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_paging_backward::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_paging.rs:179:40 [INFO] [stdout] | [INFO] [stdout] 120 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 179 | let pagination = db.bind::().cursor(None, None, last, before).await?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_paging_backward::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_select_with_where::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_select.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | $db.insert_many(&[ [INFO] [stdout] | _____________-----------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 16 | | $(User { [INFO] [stdout] 17 | | id: Uuid::new_v4(), [INFO] [stdout] 18 | | name: $name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 22 | | }),+ [INFO] [stdout] 23 | | ]).await?; [INFO] [stdout] | |_________^ the trait `Model` is not implemented for `test_select_with_where::{closure#0}::User` [INFO] [stdout] ... [INFO] [stdout] 83 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert_many` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert_many<'a, T>(&'a self, data: &'a [T]) -> InsertManyOperation<'a, T> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert_many` [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `InsertManyOperation<'_, User>` is not a future [INFO] [stdout] --> tests/test_select.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ]).await?; [INFO] [stdout] | ^^^^^ `InsertManyOperation<'_, User>` is not a future [INFO] [stdout] ... [INFO] [stdout] 83 | create_users!(db, names = "linh1", "linh2", "linh3"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `InsertManyOperation<'_, User>` [INFO] [stdout] = note: InsertManyOperation<'_, User> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `InsertManyOperation<'_, User>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/test_select-4b2cceac80c94439.long-type-11229117561376483056.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `create_users` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 23 - ]).await?; [INFO] [stdout] 23 + ])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_select_with_where::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_select.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | .bind::() [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_select_with_where::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo-orm` (test "test_update") due to 18 previous errors [INFO] [stdout] error[E0277]: the trait bound `test_insert::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let user = db.insert(&input).execute().await?; [INFO] [stdout] | ------ ^^^^^^ the trait `Model` is not implemented for `test_insert::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `where_by` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_select_with_where::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_select.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 75 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_select_with_where::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 85 | let users = db [INFO] [stdout] | _________________- [INFO] [stdout] 86 | | .bind::() [INFO] [stdout] 87 | | .where_by(and(&[equals("name", &"linh2")])) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_select_with_where::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo-orm` (test "test_paging") due to 27 previous errors [INFO] [stdout] error[E0599]: no method named `execute` found for struct `dojo_orm::insert_operation::InsertOperation<'a, T>` in the current scope [INFO] [stdout] --> tests/test_insert.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let user = db.insert(&input).execute().await?; [INFO] [stdout] | ^^^^^^^ method not found in `dojo_orm::insert_operation::InsertOperation<'_, test_insert::{closure#0}::User>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_insert::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | .bind::() [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_insert::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `where_by` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_insert::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_insert.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 20 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_insert::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 48 | let user = db [INFO] [stdout] | ________________- [INFO] [stdout] 49 | | .bind::() [INFO] [stdout] 50 | | .where_by(and(&[equals("id", &user.id)])) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_insert::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_insert_many::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | let users = db.insert_many(&[input1, input2]).execute().await?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ the trait `Model` is not implemented for `test_insert_many::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert_many` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert_many<'a, T>(&'a self, data: &'a [T]) -> InsertManyOperation<'a, T> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert_many` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo-orm` (test "test_select") due to 11 previous errors [INFO] [stdout] error[E0599]: no method named `execute` found for struct `dojo_orm::insert_operation::InsertManyOperation<'a, T>` in the current scope [INFO] [stdout] --> tests/test_insert.rs:97:51 [INFO] [stdout] | [INFO] [stdout] 97 | let users = db.insert_many(&[input1, input2]).execute().await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `exec` with a similar name [INFO] [stdout] | [INFO] [stdout] 97 - let users = db.insert_many(&[input1, input2]).execute().await?; [INFO] [stdout] 97 + let users = db.insert_many(&[input1, input2]).exec().await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_insert_many::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | .bind::() [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_insert_many::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `where_by` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_insert_many::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_insert.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 74 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_insert_many::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 118 | let users = db [INFO] [stdout] | _________________- [INFO] [stdout] 119 | | .bind::() [INFO] [stdout] 120 | | .where_by(and(&[in_list("id", &[&users[0].id, &users[1].id])])) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_insert_many::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_insert_many_empty::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | let users = db.insert_many::(&[]).execute().await?; [INFO] [stdout] | ----------- ^^^^ the trait `Model` is not implemented for `test_insert_many_empty::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert_many` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert_many<'a, T>(&'a self, data: &'a [T]) -> InsertManyOperation<'a, T> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert_many` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `execute` found for struct `dojo_orm::insert_operation::InsertManyOperation<'a, T>` in the current scope [INFO] [stdout] --> tests/test_insert.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | let users = db.insert_many::(&[]).execute().await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `exec` with a similar name [INFO] [stdout] | [INFO] [stdout] 161 - let users = db.insert_many::(&[]).execute().await?; [INFO] [stdout] 161 + let users = db.insert_many::(&[]).exec().await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_insert_many_empty::{closure#0}::User: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | let users = db.bind::().all().await?; [INFO] [stdout] | ---- ^^^^ the trait `Model` is not implemented for `test_insert_many_empty::{closure#0}::User` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::bind` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn bind(&self) -> WhereSelect [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 29 | where [INFO] [stdout] 30 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `all` exists for struct `dojo_orm::where_select::WhereSelect<'_, test_insert_many_empty::{closure#0}::User>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_insert.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 153 | struct User { [INFO] [stdout] | ----------- doesn't satisfy `test_insert_many_empty::{closure#0}::User: Model` [INFO] [stdout] ... [INFO] [stdout] 164 | let users = db.bind::().all().await?; [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_insert_many_empty::{closure#0}::User: Model` [INFO] [stdout] note: the trait `Model` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/model.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_insert_embedded::{closure#0}::Product: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | let product = db.insert(&input).execute().await?; [INFO] [stdout] | ------ ^^^^^^ the trait `Model` is not implemented for `test_insert_embedded::{closure#0}::Product` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `execute` found for struct `dojo_orm::insert_operation::InsertOperation<'a, T>` in the current scope [INFO] [stdout] --> tests/test_insert.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | let product = db.insert(&input).execute().await?; [INFO] [stdout] | ^^^^^^^ method not found in `dojo_orm::insert_operation::InsertOperation<'_, test_insert_embedded::{closure#0}::Product>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: Model` is not satisfied [INFO] [stdout] --> tests/test_insert.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | let result = db.insert(&input).execute().await?; [INFO] [stdout] | ------ ^^^^^^ the trait `Model` is not implemented for `Test` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Database::insert` [INFO] [stdout] --> /opt/rustwide/workdir/src/database.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert<'a, T>(&'a self, data: &'a T) -> InsertOperation<'a, T> [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 55 | where [INFO] [stdout] 56 | T: Model + Debug, [INFO] [stdout] | ^^^^^ required by this bound in `Database::insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `execute` found for struct `dojo_orm::insert_operation::InsertOperation<'a, T>` in the current scope [INFO] [stdout] --> tests/test_insert.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | let result = db.insert(&input).execute().await?; [INFO] [stdout] | ^^^^^^^ method not found in `dojo_orm::insert_operation::InsertOperation<'_, Test>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dojo-orm` (test "test_insert") due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "b894df37d273661e9729d06962d18efa709a3fa8836c7b86ee9842658906ca48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b894df37d273661e9729d06962d18efa709a3fa8836c7b86ee9842658906ca48", kill_on_drop: false }` [INFO] [stdout] b894df37d273661e9729d06962d18efa709a3fa8836c7b86ee9842658906ca48