[INFO] cloning repository https://github.com/Timmybankz/random-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Timmybankz/random-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimmybankz%2Frandom-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimmybankz%2Frandom-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef10fa1470c474ab1a64068c2d5e099b500fb6e7 [INFO] checking Timmybankz/random-rust against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimmybankz%2Frandom-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Timmybankz/random-rust [INFO] finished tweaking git repo https://github.com/Timmybankz/random-rust [INFO] tweaked toml for git repo https://github.com/Timmybankz/random-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Timmybankz/random-rust on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Timmybankz/random-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cbf03cbfc01954846bf1dcd59f28c6dbd19f8c9e3eb9be7b221069363a524b7 [INFO] running `Command { std: "docker" "start" "-a" "7cbf03cbfc01954846bf1dcd59f28c6dbd19f8c9e3eb9be7b221069363a524b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cbf03cbfc01954846bf1dcd59f28c6dbd19f8c9e3eb9be7b221069363a524b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbf03cbfc01954846bf1dcd59f28c6dbd19f8c9e3eb9be7b221069363a524b7", kill_on_drop: false }` [INFO] [stdout] 7cbf03cbfc01954846bf1dcd59f28c6dbd19f8c9e3eb9be7b221069363a524b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d3ff731a258d1a45f046a87b3fc2c3c45d4bd7eceee48b95714a9997af4480a [INFO] running `Command { std: "docker" "start" "-a" "8d3ff731a258d1a45f046a87b3fc2c3c45d4bd7eceee48b95714a9997af4480a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking scoped-futures v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling diesel-derive-enum v3.0.0-beta.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.3 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [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] Compiling diesel_derives v2.2.7 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking bb8 v0.9.0 [INFO] [stderr] Checking bb8 v0.8.6 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking diesel v2.2.12 [INFO] [stderr] Checking diesel-async v0.6.1 [INFO] [stderr] Checking rust_postgres_app v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(u::users) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(u::users) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / diesel::insert_into(u::users) [INFO] [stdout] 14 | | .values(&data) [INFO] [stdout] 15 | | .get_result::(conn) [INFO] [stdout] 16 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel_async::RunQueryDsl::get_result(diesel::update(u::users.find(user_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel::RunQueryDsl::get_result(diesel::update(u::users.find(user_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / diesel::update(u::users.find(user_id)) [INFO] [stdout] 26 | | .set(&changes) [INFO] [stdout] 27 | | .get_result::(conn) [INFO] [stdout] 28 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 36 ~ diesel_async::RunQueryDsl::first(u::users [INFO] [stdout] 37 + .filter(u::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 36 ~ diesel::RunQueryDsl::first(u::users [INFO] [stdout] 37 + .filter(u::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / u::users [INFO] [stdout] 37 | | .filter(u::email.eq(email_addr)) [INFO] [stdout] 38 | | .first::(conn) [INFO] [stdout] 39 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 47 - u::users [INFO] [stdout] 48 - .load::(conn) [INFO] [stdout] 47 + diesel::RunQueryDsl::load(u::users, conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 47 - u::users [INFO] [stdout] 48 - .load::(conn) [INFO] [stdout] 47 + diesel_async::RunQueryDsl::load(u::users, conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / u::users [INFO] [stdout] 48 | | .load::(conn) [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 57 - diesel::delete(u::users.find(user_id)) [INFO] [stdout] 58 - .execute(conn) [INFO] [stdout] 57 + diesel::RunQueryDsl::execute(diesel::delete(u::users.find(user_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 - diesel::delete(u::users.find(user_id)) [INFO] [stdout] 58 - .execute(conn) [INFO] [stdout] 57 + diesel_async::RunQueryDsl::execute(diesel::delete(u::users.find(user_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / diesel::delete(u::users.find(user_id)) [INFO] [stdout] 58 | | .execute(conn) [INFO] [stdout] 59 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel_async::RunQueryDsl::get_result(diesel::update(u::users.filter(u::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + u::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + u::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel::RunQueryDsl::get_result(diesel::update(u::users.filter(u::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + u::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + u::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / diesel::update(u::users.filter(u::email.eq(email))) [INFO] [stdout] 70 | | .set(( [INFO] [stdout] 71 | | u::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 | | u::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 | | )) [INFO] [stdout] 74 | | .get_result::(conn) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(a::admins) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(a::admins) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / diesel::insert_into(a::admins) [INFO] [stdout] 14 | | .values(&data) [INFO] [stdout] 15 | | .get_result::(conn) [INFO] [stdout] 16 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel_async::RunQueryDsl::get_result(diesel::update(a::admins.find(admin_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel::RunQueryDsl::get_result(diesel::update(a::admins.find(admin_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / diesel::update(a::admins.find(admin_id)) [INFO] [stdout] 26 | | .set(&changes) [INFO] [stdout] 27 | | .get_result::(conn) [INFO] [stdout] 28 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 36 - diesel::delete(a::admins.find(admin_id)) [INFO] [stdout] 37 - .execute(conn) [INFO] [stdout] 36 + diesel::RunQueryDsl::execute(diesel::delete(a::admins.find(admin_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 36 - diesel::delete(a::admins.find(admin_id)) [INFO] [stdout] 37 - .execute(conn) [INFO] [stdout] 36 + diesel_async::RunQueryDsl::execute(diesel::delete(a::admins.find(admin_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / diesel::delete(a::admins.find(admin_id)) [INFO] [stdout] 37 | | .execute(conn) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 ~ diesel_async::RunQueryDsl::first(a::admins [INFO] [stdout] 47 + .filter(a::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 ~ diesel::RunQueryDsl::first(a::admins [INFO] [stdout] 47 + .filter(a::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / a::admins [INFO] [stdout] 47 | | .filter(a::email.eq(email_addr)) [INFO] [stdout] 48 | | .first::(conn) [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 57 - a::admins [INFO] [stdout] 58 - .load::(conn) [INFO] [stdout] 57 + diesel::RunQueryDsl::load(a::admins, conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 - a::admins [INFO] [stdout] 58 - .load::(conn) [INFO] [stdout] 57 + diesel_async::RunQueryDsl::load(a::admins, conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / a::admins [INFO] [stdout] 58 | | .load::(conn) [INFO] [stdout] 59 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel_async::RunQueryDsl::get_result(diesel::update(a::admins.filter(a::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + a::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + a::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel::RunQueryDsl::get_result(diesel::update(a::admins.filter(a::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + a::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + a::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / diesel::update(a::admins.filter(a::email.eq(email))) [INFO] [stdout] 70 | | .set(( [INFO] [stdout] 71 | | a::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 | | a::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 | | )) [INFO] [stdout] 74 | | .get_result::(conn) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(p::products) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(p::products) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / diesel::insert_into(p::products) [INFO] [stdout] 13 | | .values(&data) [INFO] [stdout] 14 | | .get_result::(conn) [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel_async::RunQueryDsl::get_result(diesel::update(p::products.find(product_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel::RunQueryDsl::get_result(diesel::update(p::products.find(product_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / diesel::update(p::products.find(product_id)) [INFO] [stdout] 25 | | .set(&changes) [INFO] [stdout] 26 | | .get_result::(conn) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 35 - diesel::delete(p::products.find(product_id)) [INFO] [stdout] 36 - .execute(conn) [INFO] [stdout] 35 + diesel::RunQueryDsl::execute(diesel::delete(p::products.find(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 - diesel::delete(p::products.find(product_id)) [INFO] [stdout] 36 - .execute(conn) [INFO] [stdout] 35 + diesel_async::RunQueryDsl::execute(diesel::delete(p::products.find(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / diesel::delete(p::products.find(product_id)) [INFO] [stdout] 36 | | .execute(conn) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 45 ~ diesel_async::RunQueryDsl::first(p::products [INFO] [stdout] 46 + .filter(p::id.eq(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 45 ~ diesel::RunQueryDsl::first(p::products [INFO] [stdout] 46 + .filter(p::id.eq(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / p::products [INFO] [stdout] 46 | | .filter(p::id.eq(product_id)) [INFO] [stdout] 47 | | .first::(conn) [INFO] [stdout] 48 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 56 - p::products [INFO] [stdout] 57 - .load::(conn) [INFO] [stdout] 56 + diesel::RunQueryDsl::load(p::products, conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 56 - p::products [INFO] [stdout] 57 - .load::(conn) [INFO] [stdout] 56 + diesel_async::RunQueryDsl::load(p::products, conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / p::products [INFO] [stdout] 57 | | .load::(conn) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(o::orders) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(o::orders) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / diesel::insert_into(o::orders) [INFO] [stdout] 13 | | .values(&data) [INFO] [stdout] 14 | | .get_result::(conn) [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel_async::RunQueryDsl::get_result(diesel::update(o::orders.find(order_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel::RunQueryDsl::get_result(diesel::update(o::orders.find(order_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / diesel::update(o::orders.find(order_id)) [INFO] [stdout] 25 | | .set(&changes) [INFO] [stdout] 26 | | .get_result::(conn) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | .load::<(Order, Product)>(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 39 ~ let results = diesel_async::RunQueryDsl::load(o::orders [INFO] [stdout] 40 + .inner_join(p::products.on(p::id.eq(o::product_id))) [INFO] [stdout] 41 + .filter(o::user_id.eq(user_id)) [INFO] [stdout] 42 + .order(o::date_created.desc()) [INFO] [stdout] 43 + .select((Order::as_select(), Product::as_select())), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 39 ~ let results = diesel::RunQueryDsl::load(o::orders [INFO] [stdout] 40 + .inner_join(p::products.on(p::id.eq(o::product_id))) [INFO] [stdout] 41 + .filter(o::user_id.eq(user_id)) [INFO] [stdout] 42 + .order(o::date_created.desc()) [INFO] [stdout] 43 + .select((Order::as_select(), Product::as_select())), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let results = o::orders [INFO] [stdout] | ___________________^ [INFO] [stdout] 40 | | .inner_join(p::products.on(p::id.eq(o::product_id))) [INFO] [stdout] 41 | | .filter(o::user_id.eq(user_id)) [INFO] [stdout] 42 | | .order(o::date_created.desc()) [INFO] [stdout] 43 | | .select((Order::as_select(), Product::as_select())) // ✅ Diesel 2.x style [INFO] [stdout] 44 | | .load::<(Order, Product)>(conn) [INFO] [stdout] 45 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `BoxedSelectStatement<'_, ST, QS, DB, GB>` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 81 ~ diesel::RunQueryDsl::load(query [INFO] [stdout] 82 + .order(o::date_created.desc()), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 81 ~ diesel_async::RunQueryDsl::load(query [INFO] [stdout] 82 + .order(o::date_created.desc()), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / query [INFO] [stdout] 82 | | .order(o::date_created.desc()) [INFO] [stdout] 83 | | .load::(conn) [INFO] [stdout] 84 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(u::users) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(u::users) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / diesel::insert_into(u::users) [INFO] [stdout] 14 | | .values(&data) [INFO] [stdout] 15 | | .get_result::(conn) [INFO] [stdout] 16 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel_async::RunQueryDsl::get_result(diesel::update(u::users.find(user_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel::RunQueryDsl::get_result(diesel::update(u::users.find(user_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / diesel::update(u::users.find(user_id)) [INFO] [stdout] 26 | | .set(&changes) [INFO] [stdout] 27 | | .get_result::(conn) [INFO] [stdout] 28 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 36 ~ diesel_async::RunQueryDsl::first(u::users [INFO] [stdout] 37 + .filter(u::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 36 ~ diesel::RunQueryDsl::first(u::users [INFO] [stdout] 37 + .filter(u::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / u::users [INFO] [stdout] 37 | | .filter(u::email.eq(email_addr)) [INFO] [stdout] 38 | | .first::(conn) [INFO] [stdout] 39 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 47 - u::users [INFO] [stdout] 48 - .load::(conn) [INFO] [stdout] 47 + diesel::RunQueryDsl::load(u::users, conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 47 - u::users [INFO] [stdout] 48 - .load::(conn) [INFO] [stdout] 47 + diesel_async::RunQueryDsl::load(u::users, conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / u::users [INFO] [stdout] 48 | | .load::(conn) [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 57 - diesel::delete(u::users.find(user_id)) [INFO] [stdout] 58 - .execute(conn) [INFO] [stdout] 57 + diesel::RunQueryDsl::execute(diesel::delete(u::users.find(user_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 - diesel::delete(u::users.find(user_id)) [INFO] [stdout] 58 - .execute(conn) [INFO] [stdout] 57 + diesel_async::RunQueryDsl::execute(diesel::delete(u::users.find(user_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / diesel::delete(u::users.find(user_id)) [INFO] [stdout] 58 | | .execute(conn) [INFO] [stdout] 59 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/user.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel_async::RunQueryDsl::get_result(diesel::update(u::users.filter(u::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + u::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + u::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel::RunQueryDsl::get_result(diesel::update(u::users.filter(u::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + u::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + u::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/user.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / diesel::update(u::users.filter(u::email.eq(email))) [INFO] [stdout] 70 | | .set(( [INFO] [stdout] 71 | | u::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 | | u::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 | | )) [INFO] [stdout] 74 | | .get_result::(conn) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(a::admins) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 13 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(a::admins) [INFO] [stdout] 14 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / diesel::insert_into(a::admins) [INFO] [stdout] 14 | | .values(&data) [INFO] [stdout] 15 | | .get_result::(conn) [INFO] [stdout] 16 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel_async::RunQueryDsl::get_result(diesel::update(a::admins.find(admin_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 25 ~ diesel::RunQueryDsl::get_result(diesel::update(a::admins.find(admin_id)) [INFO] [stdout] 26 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / diesel::update(a::admins.find(admin_id)) [INFO] [stdout] 26 | | .set(&changes) [INFO] [stdout] 27 | | .get_result::(conn) [INFO] [stdout] 28 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 36 - diesel::delete(a::admins.find(admin_id)) [INFO] [stdout] 37 - .execute(conn) [INFO] [stdout] 36 + diesel::RunQueryDsl::execute(diesel::delete(a::admins.find(admin_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 36 - diesel::delete(a::admins.find(admin_id)) [INFO] [stdout] 37 - .execute(conn) [INFO] [stdout] 36 + diesel_async::RunQueryDsl::execute(diesel::delete(a::admins.find(admin_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / diesel::delete(a::admins.find(admin_id)) [INFO] [stdout] 37 | | .execute(conn) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 ~ diesel_async::RunQueryDsl::first(a::admins [INFO] [stdout] 47 + .filter(a::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 ~ diesel::RunQueryDsl::first(a::admins [INFO] [stdout] 47 + .filter(a::email.eq(email_addr)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / a::admins [INFO] [stdout] 47 | | .filter(a::email.eq(email_addr)) [INFO] [stdout] 48 | | .first::(conn) [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 57 - a::admins [INFO] [stdout] 58 - .load::(conn) [INFO] [stdout] 57 + diesel::RunQueryDsl::load(a::admins, conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 - a::admins [INFO] [stdout] 58 - .load::(conn) [INFO] [stdout] 57 + diesel_async::RunQueryDsl::load(a::admins, conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / a::admins [INFO] [stdout] 58 | | .load::(conn) [INFO] [stdout] 59 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/admin.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel_async::RunQueryDsl::get_result(diesel::update(a::admins.filter(a::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + a::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + a::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 ~ diesel::RunQueryDsl::get_result(diesel::update(a::admins.filter(a::email.eq(email))) [INFO] [stdout] 70 + .set(( [INFO] [stdout] 71 + a::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 + a::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/admin.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / diesel::update(a::admins.filter(a::email.eq(email))) [INFO] [stdout] 70 | | .set(( [INFO] [stdout] 71 | | a::otp.eq(Some(otp.to_string())), [INFO] [stdout] 72 | | a::otp_expires_at.eq(expires_at), [INFO] [stdout] 73 | | )) [INFO] [stdout] 74 | | .get_result::(conn) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(p::products) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(p::products) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / diesel::insert_into(p::products) [INFO] [stdout] 13 | | .values(&data) [INFO] [stdout] 14 | | .get_result::(conn) [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel_async::RunQueryDsl::get_result(diesel::update(p::products.find(product_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel::RunQueryDsl::get_result(diesel::update(p::products.find(product_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / diesel::update(p::products.find(product_id)) [INFO] [stdout] 25 | | .set(&changes) [INFO] [stdout] 26 | | .get_result::(conn) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 35 - diesel::delete(p::products.find(product_id)) [INFO] [stdout] 36 - .execute(conn) [INFO] [stdout] 35 + diesel::RunQueryDsl::execute(diesel::delete(p::products.find(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 - diesel::delete(p::products.find(product_id)) [INFO] [stdout] 36 - .execute(conn) [INFO] [stdout] 35 + diesel_async::RunQueryDsl::execute(diesel::delete(p::products.find(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / diesel::delete(p::products.find(product_id)) [INFO] [stdout] 36 | | .execute(conn) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 45 ~ diesel_async::RunQueryDsl::first(p::products [INFO] [stdout] 46 + .filter(p::id.eq(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 45 ~ diesel::RunQueryDsl::first(p::products [INFO] [stdout] 46 + .filter(p::id.eq(product_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / p::products [INFO] [stdout] 46 | | .filter(p::id.eq(product_id)) [INFO] [stdout] 47 | | .first::(conn) [INFO] [stdout] 48 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/product.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 56 - p::products [INFO] [stdout] 57 - .load::(conn) [INFO] [stdout] 56 + diesel::RunQueryDsl::load(p::products, conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 56 - p::products [INFO] [stdout] 57 - .load::(conn) [INFO] [stdout] 56 + diesel_async::RunQueryDsl::load(p::products, conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/product.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / p::products [INFO] [stdout] 57 | | .load::(conn) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(o::orders) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 12 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(o::orders) [INFO] [stdout] 13 + .values(&data), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / diesel::insert_into(o::orders) [INFO] [stdout] 13 | | .values(&data) [INFO] [stdout] 14 | | .get_result::(conn) [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | .get_result::(conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel_async::RunQueryDsl::get_result(diesel::update(o::orders.find(order_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel::RunQueryDsl::get_result(diesel::update(o::orders.find(order_id)) [INFO] [stdout] 25 + .set(&changes), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / diesel::update(o::orders.find(order_id)) [INFO] [stdout] 25 | | .set(&changes) [INFO] [stdout] 26 | | .get_result::(conn) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | .load::<(Order, Product)>(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 39 ~ let results = diesel_async::RunQueryDsl::load(o::orders [INFO] [stdout] 40 + .inner_join(p::products.on(p::id.eq(o::product_id))) [INFO] [stdout] 41 + .filter(o::user_id.eq(user_id)) [INFO] [stdout] 42 + .order(o::date_created.desc()) [INFO] [stdout] 43 + .select((Order::as_select(), Product::as_select())), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 39 ~ let results = diesel::RunQueryDsl::load(o::orders [INFO] [stdout] 40 + .inner_join(p::products.on(p::id.eq(o::product_id))) [INFO] [stdout] 41 + .filter(o::user_id.eq(user_id)) [INFO] [stdout] 42 + .order(o::date_created.desc()) [INFO] [stdout] 43 + .select((Order::as_select(), Product::as_select())), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let results = o::orders [INFO] [stdout] | ___________________^ [INFO] [stdout] 40 | | .inner_join(p::products.on(p::id.eq(o::product_id))) [INFO] [stdout] 41 | | .filter(o::user_id.eq(user_id)) [INFO] [stdout] 42 | | .order(o::date_created.desc()) [INFO] [stdout] 43 | | .select((Order::as_select(), Product::as_select())) // ✅ Diesel 2.x style [INFO] [stdout] 44 | | .load::<(Order, Product)>(conn) [INFO] [stdout] 45 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/db/order.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | .load::(conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `BoxedSelectStatement<'_, ST, QS, DB, GB>` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 81 ~ diesel::RunQueryDsl::load(query [INFO] [stdout] 82 + .order(o::date_created.desc()), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 81 ~ diesel_async::RunQueryDsl::load(query [INFO] [stdout] 82 + .order(o::date_created.desc()), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/order.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / query [INFO] [stdout] 82 | | .order(o::date_created.desc()) [INFO] [stdout] 83 | | .load::(conn) [INFO] [stdout] 84 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_postgres_app` (bin "rust_postgres_app" test) due to 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_postgres_app` (bin "rust_postgres_app") due to 42 previous errors [INFO] running `Command { std: "docker" "inspect" "8d3ff731a258d1a45f046a87b3fc2c3c45d4bd7eceee48b95714a9997af4480a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3ff731a258d1a45f046a87b3fc2c3c45d4bd7eceee48b95714a9997af4480a", kill_on_drop: false }` [INFO] [stdout] 8d3ff731a258d1a45f046a87b3fc2c3c45d4bd7eceee48b95714a9997af4480a