[INFO] cloning repository https://github.com/morintd/newsletter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/morintd/newsletter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorintd%2Fnewsletter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorintd%2Fnewsletter-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a81f257db4483e0b110835ff186d395b6940059 [INFO] checking morintd/newsletter-rust against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorintd%2Fnewsletter-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/morintd/newsletter-rust [INFO] finished tweaking git repo https://github.com/morintd/newsletter-rust [INFO] tweaked toml for git repo https://github.com/morintd/newsletter-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/morintd/newsletter-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/morintd/newsletter-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6882d2777db1dc35de870124bb6b094b84d4e132f6571fe55faf0739193ec2b2 [INFO] running `Command { std: "docker" "start" "-a" "6882d2777db1dc35de870124bb6b094b84d4e132f6571fe55faf0739193ec2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6882d2777db1dc35de870124bb6b094b84d4e132f6571fe55faf0739193ec2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6882d2777db1dc35de870124bb6b094b84d4e132f6571fe55faf0739193ec2b2", kill_on_drop: false }` [INFO] [stdout] 6882d2777db1dc35de870124bb6b094b84d4e132f6571fe55faf0739193ec2b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d2b5a6114c1770bf5ea442e8d289fca348874a6cee236f0fefbc035a9fc8c31a [INFO] running `Command { std: "docker" "start" "-a" "d2b5a6114c1770bf5ea442e8d289fca348874a6cee236f0fefbc035a9fc8c31a", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling diesel_derives v2.3.3 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking downcast-rs v2.0.2 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking scoped-futures v0.1.4 [INFO] [stderr] Checking anymap2 v0.13.0 [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 axum-core v0.5.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking slugify v0.1.0 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling pq-src v0.3.10+libpq-18.0 [INFO] [stderr] Compiling aws-lc-sys v0.32.2 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking postgres-types v0.2.10 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling shaku_derive v0.6.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling googletest_macro v0.14.2 [INFO] [stderr] Checking shaku v0.6.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking googletest v0.14.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking deadpool-sync v0.1.4 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tokio-postgres v0.7.14 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking diesel v2.3.2 [INFO] [stderr] Checking jsonwebtoken v10.0.0 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking axum v0.8.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking axum-extra v0.10.3 [INFO] [stderr] Checking deadpool-diesel v0.6.1 [INFO] [stderr] Checking diesel-async v0.7.3 [INFO] [stderr] Checking newsletter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DieselEventRepository` and `EventController` [INFO] [stdout] --> src/core/app_state.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | event::{DieselEventRepository, EventController, LocalEventDispatcher}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DieselEventRepository` and `EventController` [INFO] [stdout] --> src/core/app_state.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | event::{DieselEventRepository, EventController, LocalEventDispatcher}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | .first::<(ArticleModel, UserModel)>(&mut 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] 35 ~ let result = diesel_async::RunQueryDsl::first(articles::table [INFO] [stdout] 36 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 37 + .filter(articles::slug.eq(query.slug)) [INFO] [stdout] 38 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 ~ let result = diesel::RunQueryDsl::first(articles::table [INFO] [stdout] 36 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 37 + .filter(articles::slug.eq(query.slug)) [INFO] [stdout] 38 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let result = articles::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 37 | | .filter(articles::slug.eq(query.slug)) [INFO] [stdout] 38 | | .select((ArticleModel::as_select(), UserModel::as_select())) [INFO] [stdout] 39 | | .first::<(ArticleModel, UserModel)>(&mut conn) [INFO] [stdout] 40 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(result.map(|(article_model, user_model)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | to_article_view_model(article_model.into(), user_model.email) [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 44 | Ok(result.map(|(article_model, user_model): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .get_result::(&mut 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 `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 38 ~ let total_count = diesel_async::RunQueryDsl::get_result(articles::table [INFO] [stdout] 39 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 38 ~ let total_count = diesel::RunQueryDsl::get_result(articles::table [INFO] [stdout] 39 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let total_count = articles::table [INFO] [stdout] | ___________________________^ [INFO] [stdout] 39 | | .count() [INFO] [stdout] 40 | | .get_result::(&mut conn) [INFO] [stdout] 41 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | .load::<(ArticleModel, UserModel)>(&mut 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] 44 ~ let result = diesel_async::RunQueryDsl::load(articles::table [INFO] [stdout] 45 + .limit(self.articles_per_page) [INFO] [stdout] 46 + .offset((query.page - 1) * self.articles_per_page) [INFO] [stdout] 47 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 48 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 44 ~ let result = diesel::RunQueryDsl::load(articles::table [INFO] [stdout] 45 + .limit(self.articles_per_page) [INFO] [stdout] 46 + .offset((query.page - 1) * self.articles_per_page) [INFO] [stdout] 47 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 48 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = articles::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 45 | | .limit(self.articles_per_page) [INFO] [stdout] 46 | | .offset((query.page - 1) * self.articles_per_page) [INFO] [stdout] 47 | | .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 48 | | .select((ArticleModel::as_select(), UserModel::as_select())) [INFO] [stdout] 49 | | .load::<(ArticleModel, UserModel)>(&mut conn) [INFO] [stdout] 50 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|(article_model, user_model)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | to_article_view_model(article_model.into(), user_model.email) [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 58 | .map(|(article_model, user_model): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | .first::<(ArticleModel, UserModel)>(&mut 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] 35 ~ let result = diesel_async::RunQueryDsl::first(articles::table [INFO] [stdout] 36 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 37 + .filter(articles::slug.eq(query.slug)) [INFO] [stdout] 38 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 ~ let result = diesel::RunQueryDsl::first(articles::table [INFO] [stdout] 36 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 37 + .filter(articles::slug.eq(query.slug)) [INFO] [stdout] 38 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let result = articles::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 37 | | .filter(articles::slug.eq(query.slug)) [INFO] [stdout] 38 | | .select((ArticleModel::as_select(), UserModel::as_select())) [INFO] [stdout] 39 | | .first::<(ArticleModel, UserModel)>(&mut conn) [INFO] [stdout] 40 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/article/infrastructure/queries/find_article_by_slug.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(result.map(|(article_model, user_model)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | to_article_view_model(article_model.into(), user_model.email) [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 44 | Ok(result.map(|(article_model, user_model): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .get_result::(&mut 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 `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 38 ~ let total_count = diesel_async::RunQueryDsl::get_result(articles::table [INFO] [stdout] 39 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 38 ~ let total_count = diesel::RunQueryDsl::get_result(articles::table [INFO] [stdout] 39 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let total_count = articles::table [INFO] [stdout] | ___________________________^ [INFO] [stdout] 39 | | .count() [INFO] [stdout] 40 | | .get_result::(&mut conn) [INFO] [stdout] 41 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | .load::<(ArticleModel, UserModel)>(&mut 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] 44 ~ let result = diesel_async::RunQueryDsl::load(articles::table [INFO] [stdout] 45 + .limit(self.articles_per_page) [INFO] [stdout] 46 + .offset((query.page - 1) * self.articles_per_page) [INFO] [stdout] 47 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 48 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 44 ~ let result = diesel::RunQueryDsl::load(articles::table [INFO] [stdout] 45 + .limit(self.articles_per_page) [INFO] [stdout] 46 + .offset((query.page - 1) * self.articles_per_page) [INFO] [stdout] 47 + .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 48 + .select((ArticleModel::as_select(), UserModel::as_select())), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = articles::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 45 | | .limit(self.articles_per_page) [INFO] [stdout] 46 | | .offset((query.page - 1) * self.articles_per_page) [INFO] [stdout] 47 | | .inner_join(users::table.on(articles::author_id.eq(users::id))) [INFO] [stdout] 48 | | .select((ArticleModel::as_select(), UserModel::as_select())) [INFO] [stdout] 49 | | .load::<(ArticleModel, UserModel)>(&mut conn) [INFO] [stdout] 50 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/article/infrastructure/queries/find_articles_by_page.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|(article_model, user_model)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | to_article_view_model(article_model.into(), user_model.email) [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 58 | .map(|(article_model, user_model): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/event/infrastructure/event_services.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 70 | EventPayload::ArticleUpdated(payload) => { [INFO] [stdout] | ------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 73 | _ => Err(EventError::NoHandlerFound(event)), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_services.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | .load::(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] 122 ~ let events = diesel_async::RunQueryDsl::load(events::table [INFO] [stdout] 123 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 122 ~ let events = diesel::RunQueryDsl::load(events::table [INFO] [stdout] 123 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let events = events::table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 123 | | .select(EventModel::as_select()) [INFO] [stdout] 124 | | .load::(conn) [INFO] [stdout] 125 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_services.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | .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] 164 - diesel::delete(events::table.filter(events::id.eq(event_id))) [INFO] [stdout] 165 - .execute(conn) [INFO] [stdout] 164 + diesel::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(event_id))), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 164 - diesel::delete(events::table.filter(events::id.eq(event_id))) [INFO] [stdout] 165 - .execute(conn) [INFO] [stdout] 164 + diesel_async::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(event_id))), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | / diesel::delete(events::table.filter(events::id.eq(event_id))) [INFO] [stdout] 165 | | .execute(conn) [INFO] [stdout] 166 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/event/infrastructure/event_services.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 70 | EventPayload::ArticleUpdated(payload) => { [INFO] [stdout] | ------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 73 | _ => Err(EventError::NoHandlerFound(event)), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_services.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | .load::(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] 122 ~ let events = diesel_async::RunQueryDsl::load(events::table [INFO] [stdout] 123 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 122 ~ let events = diesel::RunQueryDsl::load(events::table [INFO] [stdout] 123 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let events = events::table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 123 | | .select(EventModel::as_select()) [INFO] [stdout] 124 | | .load::(conn) [INFO] [stdout] 125 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_services.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | .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] 164 - diesel::delete(events::table.filter(events::id.eq(event_id))) [INFO] [stdout] 165 - .execute(conn) [INFO] [stdout] 164 + diesel::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(event_id))), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 164 - diesel::delete(events::table.filter(events::id.eq(event_id))) [INFO] [stdout] 165 - .execute(conn) [INFO] [stdout] 164 + diesel_async::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(event_id))), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | / diesel::delete(events::table.filter(events::id.eq(event_id))) [INFO] [stdout] 165 | | .execute(conn) [INFO] [stdout] 166 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_services.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | .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 `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] 86 ~ let _ = diesel::RunQueryDsl::execute(diesel::insert_into(articles::table) [INFO] [stdout] 87 + .values(&article_model), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let _ = diesel_async::RunQueryDsl::execute(diesel::insert_into(articles::table) [INFO] [stdout] 87 + .values(&article_model), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | let _ = diesel::insert_into(articles::table) [INFO] [stdout] | _____________________________^ [INFO] [stdout] 87 | | .values(&article_model) [INFO] [stdout] 88 | | .execute(conn) [INFO] [stdout] 89 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | .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] 104 ~ let result = diesel_async::RunQueryDsl::first(articles::table [INFO] [stdout] 105 + .filter(articles::slug.eq(slug)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 104 ~ let result = diesel::RunQueryDsl::first(articles::table [INFO] [stdout] 105 + .filter(articles::slug.eq(slug)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | let result = articles::table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 105 | | .filter(articles::slug.eq(slug)) [INFO] [stdout] 106 | | .first::(conn) [INFO] [stdout] 107 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 111 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | .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] 123 ~ let result = diesel_async::RunQueryDsl::first(articles::table [INFO] [stdout] 124 + .filter(articles::id.eq(id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 ~ let result = diesel::RunQueryDsl::first(articles::table [INFO] [stdout] 124 + .filter(articles::id.eq(id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | let result = articles::table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 124 | | .filter(articles::id.eq(id)) [INFO] [stdout] 125 | | .first::(conn) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` 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] 145 ~ diesel_async::RunQueryDsl::execute(diesel::update(articles::table.filter(articles::id.eq(&article_model.id))) [INFO] [stdout] 146 + .set(( [INFO] [stdout] 147 + articles::content.eq(article_model.content), [INFO] [stdout] 148 + articles::title.eq(article_model.title), [INFO] [stdout] 149 + articles::updated_at.eq(article_model.updated_at), [INFO] [stdout] 150 + articles::created_at.eq(article_model.created_at), [INFO] [stdout] 151 + articles::slug.eq(article_model.slug), [INFO] [stdout] 152 + articles::author_id.eq(article_model.author_id), [INFO] [stdout] 153 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 145 ~ diesel::RunQueryDsl::execute(diesel::update(articles::table.filter(articles::id.eq(&article_model.id))) [INFO] [stdout] 146 + .set(( [INFO] [stdout] 147 + articles::content.eq(article_model.content), [INFO] [stdout] 148 + articles::title.eq(article_model.title), [INFO] [stdout] 149 + articles::updated_at.eq(article_model.updated_at), [INFO] [stdout] 150 + articles::created_at.eq(article_model.created_at), [INFO] [stdout] 151 + articles::slug.eq(article_model.slug), [INFO] [stdout] 152 + articles::author_id.eq(article_model.author_id), [INFO] [stdout] 153 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | / diesel::update(articles::table.filter(articles::id.eq(&article_model.id))) [INFO] [stdout] 146 | | .set(( [INFO] [stdout] 147 | | articles::content.eq(article_model.content), [INFO] [stdout] 148 | | articles::title.eq(article_model.title), [INFO] [stdout] ... | [INFO] [stdout] 154 | | .execute(conn) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | .map_err(|e| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 156 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | .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 `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] 86 ~ let _ = diesel::RunQueryDsl::execute(diesel::insert_into(articles::table) [INFO] [stdout] 87 + .values(&article_model), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let _ = diesel_async::RunQueryDsl::execute(diesel::insert_into(articles::table) [INFO] [stdout] 87 + .values(&article_model), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | let _ = diesel::insert_into(articles::table) [INFO] [stdout] | _____________________________^ [INFO] [stdout] 87 | | .values(&article_model) [INFO] [stdout] 88 | | .execute(conn) [INFO] [stdout] 89 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | .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] 104 ~ let result = diesel_async::RunQueryDsl::first(articles::table [INFO] [stdout] 105 + .filter(articles::slug.eq(slug)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 104 ~ let result = diesel::RunQueryDsl::first(articles::table [INFO] [stdout] 105 + .filter(articles::slug.eq(slug)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | let result = articles::table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 105 | | .filter(articles::slug.eq(slug)) [INFO] [stdout] 106 | | .first::(conn) [INFO] [stdout] 107 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 111 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | .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] 123 ~ let result = diesel_async::RunQueryDsl::first(articles::table [INFO] [stdout] 124 + .filter(articles::id.eq(id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 ~ let result = diesel::RunQueryDsl::first(articles::table [INFO] [stdout] 124 + .filter(articles::id.eq(id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | let result = articles::table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 124 | | .filter(articles::id.eq(id)) [INFO] [stdout] 125 | | .first::(conn) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` 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] 145 ~ diesel_async::RunQueryDsl::execute(diesel::update(articles::table.filter(articles::id.eq(&article_model.id))) [INFO] [stdout] 146 + .set(( [INFO] [stdout] 147 + articles::content.eq(article_model.content), [INFO] [stdout] 148 + articles::title.eq(article_model.title), [INFO] [stdout] 149 + articles::updated_at.eq(article_model.updated_at), [INFO] [stdout] 150 + articles::created_at.eq(article_model.created_at), [INFO] [stdout] 151 + articles::slug.eq(article_model.slug), [INFO] [stdout] 152 + articles::author_id.eq(article_model.author_id), [INFO] [stdout] 153 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 145 ~ diesel::RunQueryDsl::execute(diesel::update(articles::table.filter(articles::id.eq(&article_model.id))) [INFO] [stdout] 146 + .set(( [INFO] [stdout] 147 + articles::content.eq(article_model.content), [INFO] [stdout] 148 + articles::title.eq(article_model.title), [INFO] [stdout] 149 + articles::updated_at.eq(article_model.updated_at), [INFO] [stdout] 150 + articles::created_at.eq(article_model.created_at), [INFO] [stdout] 151 + articles::slug.eq(article_model.slug), [INFO] [stdout] 152 + articles::author_id.eq(article_model.author_id), [INFO] [stdout] 153 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | / diesel::update(articles::table.filter(articles::id.eq(&article_model.id))) [INFO] [stdout] 146 | | .set(( [INFO] [stdout] 147 | | articles::content.eq(article_model.content), [INFO] [stdout] 148 | | articles::title.eq(article_model.title), [INFO] [stdout] ... | [INFO] [stdout] 154 | | .execute(conn) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/article/infrastructure/article_adapters.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | .map_err(|e| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 156 | .map_err(|e: /* Type */| ArticleError::Unknown(e.to_string())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | .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 `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] 79 ~ diesel::RunQueryDsl::execute(diesel::insert_into(events::table) [INFO] [stdout] 80 + .values(&event_model), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 79 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(events::table) [INFO] [stdout] 80 + .values(&event_model), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | / diesel::insert_into(events::table) [INFO] [stdout] 80 | | .values(&event_model) [INFO] [stdout] 81 | | .execute(conn) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | .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] 97 - diesel::delete(events::table.filter(events::id.eq(&id))) [INFO] [stdout] 98 - .execute(conn) [INFO] [stdout] 97 + diesel::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(&id))), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 97 - diesel::delete(events::table.filter(events::id.eq(&id))) [INFO] [stdout] 98 - .execute(conn) [INFO] [stdout] 97 + diesel_async::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(&id))), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | / diesel::delete(events::table.filter(events::id.eq(&id))) [INFO] [stdout] 98 | | .execute(conn) [INFO] [stdout] 99 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | .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] 112 - diesel::delete(events::table) [INFO] [stdout] 113 - .execute(conn) [INFO] [stdout] 112 + diesel::RunQueryDsl::execute(diesel::delete(events::table), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 112 - diesel::delete(events::table) [INFO] [stdout] 113 - .execute(conn) [INFO] [stdout] 112 + diesel_async::RunQueryDsl::execute(diesel::delete(events::table), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | / diesel::delete(events::table) [INFO] [stdout] 113 | | .execute(conn) [INFO] [stdout] 114 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | .load::(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] 127 ~ let results = diesel_async::RunQueryDsl::load(events::table [INFO] [stdout] 128 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 127 ~ let results = diesel::RunQueryDsl::load(events::table [INFO] [stdout] 128 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | let results = events::table [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 128 | | .select(EventModel::as_select()) [INFO] [stdout] 129 | | .load::(conn) [INFO] [stdout] 130 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 131 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:133:49 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(results.into_iter().map(|model| model.into()).collect()) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 133 | Ok(results.into_iter().map(|model: /* Type */| model.into()).collect()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | .first::(&mut 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] 93 ~ let result = diesel_async::RunQueryDsl::first(users::table [INFO] [stdout] 94 + .filter(users::id.eq(id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 93 ~ let result = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 94 + .filter(users::id.eq(id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let result = users::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 94 | | .filter(users::id.eq(id)) [INFO] [stdout] 95 | | .first::(&mut conn) [INFO] [stdout] 96 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 98 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | .first::(&mut 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] 115 ~ let result = diesel_async::RunQueryDsl::first(users::table [INFO] [stdout] 116 + .filter(users::refresh.eq(id).and(users::id.eq(user_id))), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 115 ~ let result = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 116 + .filter(users::refresh.eq(id).and(users::id.eq(user_id))), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let result = users::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 116 | | .filter(users::refresh.eq(id).and(users::id.eq(user_id))) [INFO] [stdout] 117 | | .first::(&mut conn) [INFO] [stdout] 118 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 122 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | .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 `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] 79 ~ diesel::RunQueryDsl::execute(diesel::insert_into(events::table) [INFO] [stdout] 80 + .values(&event_model), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 79 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(events::table) [INFO] [stdout] 80 + .values(&event_model), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | / diesel::insert_into(events::table) [INFO] [stdout] 80 | | .values(&event_model) [INFO] [stdout] 81 | | .execute(conn) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | .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] 97 - diesel::delete(events::table.filter(events::id.eq(&id))) [INFO] [stdout] 98 - .execute(conn) [INFO] [stdout] 97 + diesel::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(&id))), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 97 - diesel::delete(events::table.filter(events::id.eq(&id))) [INFO] [stdout] 98 - .execute(conn) [INFO] [stdout] 97 + diesel_async::RunQueryDsl::execute(diesel::delete(events::table.filter(events::id.eq(&id))), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | / diesel::delete(events::table.filter(events::id.eq(&id))) [INFO] [stdout] 98 | | .execute(conn) [INFO] [stdout] 99 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | .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] 112 - diesel::delete(events::table) [INFO] [stdout] 113 - .execute(conn) [INFO] [stdout] 112 + diesel::RunQueryDsl::execute(diesel::delete(events::table), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 112 - diesel::delete(events::table) [INFO] [stdout] 113 - .execute(conn) [INFO] [stdout] 112 + diesel_async::RunQueryDsl::execute(diesel::delete(events::table), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | / diesel::delete(events::table) [INFO] [stdout] 113 | | .execute(conn) [INFO] [stdout] 114 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | .first::(&mut 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] 133 ~ let result = diesel_async::RunQueryDsl::first(users::table [INFO] [stdout] 134 + .filter(users::email.eq(email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 133 ~ let result = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 134 + .filter(users::email.eq(email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let result = users::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 134 | | .filter(users::email.eq(email)) [INFO] [stdout] 135 | | .first::(&mut conn) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 140 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | .load::(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] 127 ~ let results = diesel_async::RunQueryDsl::load(events::table [INFO] [stdout] 128 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 127 ~ let results = diesel::RunQueryDsl::load(events::table [INFO] [stdout] 128 + .select(EventModel::as_select()), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | let results = events::table [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 128 | | .select(EventModel::as_select()) [INFO] [stdout] 129 | | .load::(conn) [INFO] [stdout] 130 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | .map_err(|e| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 131 | .map_err(|e: /* Type */| EventError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/event/infrastructure/event_adapters.rs:133:49 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(results.into_iter().map(|model| model.into()).collect()) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 133 | Ok(results.into_iter().map(|model: /* Type */| model.into()).collect()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | .execute(&mut 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 `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] 154 ~ diesel::RunQueryDsl::execute(diesel::insert_into(users::table) [INFO] [stdout] 155 + .values(&user_model), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 154 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(users::table) [INFO] [stdout] 155 + .values(&user_model), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | / diesel::insert_into(users::table) [INFO] [stdout] 155 | | .values(&user_model) [INFO] [stdout] 156 | | .execute(&mut conn) [INFO] [stdout] 157 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 158 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` 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] 174 ~ diesel_async::RunQueryDsl::execute(diesel::update(users::table.filter(users::id.eq(&user_model.id))) [INFO] [stdout] 175 + .set(( [INFO] [stdout] 176 + users::role.eq(user_model.role), [INFO] [stdout] 177 + users::email.eq(user_model.email), [INFO] [stdout] 178 + users::updated_at.eq(user_model.updated_at), [INFO] [stdout] 179 + users::refresh.eq(user_model.refresh), [INFO] [stdout] 180 + users::password.eq(user_model.password), [INFO] [stdout] 181 + users::created_at.eq(user_model.created_at), [INFO] [stdout] 182 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 174 ~ diesel::RunQueryDsl::execute(diesel::update(users::table.filter(users::id.eq(&user_model.id))) [INFO] [stdout] 175 + .set(( [INFO] [stdout] 176 + users::role.eq(user_model.role), [INFO] [stdout] 177 + users::email.eq(user_model.email), [INFO] [stdout] 178 + users::updated_at.eq(user_model.updated_at), [INFO] [stdout] 179 + users::refresh.eq(user_model.refresh), [INFO] [stdout] 180 + users::password.eq(user_model.password), [INFO] [stdout] 181 + users::created_at.eq(user_model.created_at), [INFO] [stdout] 182 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / diesel::update(users::table.filter(users::id.eq(&user_model.id))) [INFO] [stdout] 175 | | .set(( [INFO] [stdout] 176 | | users::role.eq(user_model.role), [INFO] [stdout] 177 | | users::email.eq(user_model.email), [INFO] [stdout] ... | [INFO] [stdout] 183 | | .execute(&mut conn) [INFO] [stdout] 184 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | .first::(&mut 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] 93 ~ let result = diesel_async::RunQueryDsl::first(users::table [INFO] [stdout] 94 + .filter(users::id.eq(id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 93 ~ let result = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 94 + .filter(users::id.eq(id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let result = users::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 94 | | .filter(users::id.eq(id)) [INFO] [stdout] 95 | | .first::(&mut conn) [INFO] [stdout] 96 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 98 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | .first::(&mut 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] 115 ~ let result = diesel_async::RunQueryDsl::first(users::table [INFO] [stdout] 116 + .filter(users::refresh.eq(id).and(users::id.eq(user_id))), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 115 ~ let result = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 116 + .filter(users::refresh.eq(id).and(users::id.eq(user_id))), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let result = users::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 116 | | .filter(users::refresh.eq(id).and(users::id.eq(user_id))) [INFO] [stdout] 117 | | .first::(&mut conn) [INFO] [stdout] 118 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 122 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | .first::(&mut 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] 133 ~ let result = diesel_async::RunQueryDsl::first(users::table [INFO] [stdout] 134 + .filter(users::email.eq(email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 133 ~ let result = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 134 + .filter(users::email.eq(email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let result = users::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 134 | | .filter(users::email.eq(email)) [INFO] [stdout] 135 | | .first::(&mut conn) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(result.map(|model| model.into())) [INFO] [stdout] | ^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 140 | Ok(result.map(|model: /* Type */| model.into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | .execute(&mut 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 `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] 154 ~ diesel::RunQueryDsl::execute(diesel::insert_into(users::table) [INFO] [stdout] 155 + .values(&user_model), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 154 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(users::table) [INFO] [stdout] 155 + .values(&user_model), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | / diesel::insert_into(users::table) [INFO] [stdout] 155 | | .values(&user_model) [INFO] [stdout] 156 | | .execute(&mut conn) [INFO] [stdout] 157 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 158 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` 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] 174 ~ diesel_async::RunQueryDsl::execute(diesel::update(users::table.filter(users::id.eq(&user_model.id))) [INFO] [stdout] 175 + .set(( [INFO] [stdout] 176 + users::role.eq(user_model.role), [INFO] [stdout] 177 + users::email.eq(user_model.email), [INFO] [stdout] 178 + users::updated_at.eq(user_model.updated_at), [INFO] [stdout] 179 + users::refresh.eq(user_model.refresh), [INFO] [stdout] 180 + users::password.eq(user_model.password), [INFO] [stdout] 181 + users::created_at.eq(user_model.created_at), [INFO] [stdout] 182 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 174 ~ diesel::RunQueryDsl::execute(diesel::update(users::table.filter(users::id.eq(&user_model.id))) [INFO] [stdout] 175 + .set(( [INFO] [stdout] 176 + users::role.eq(user_model.role), [INFO] [stdout] 177 + users::email.eq(user_model.email), [INFO] [stdout] 178 + users::updated_at.eq(user_model.updated_at), [INFO] [stdout] 179 + users::refresh.eq(user_model.refresh), [INFO] [stdout] 180 + users::password.eq(user_model.password), [INFO] [stdout] 181 + users::created_at.eq(user_model.created_at), [INFO] [stdout] 182 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / diesel::update(users::table.filter(users::id.eq(&user_model.id))) [INFO] [stdout] 175 | | .set(( [INFO] [stdout] 176 | | users::role.eq(user_model.role), [INFO] [stdout] 177 | | users::email.eq(user_model.email), [INFO] [stdout] ... | [INFO] [stdout] 183 | | .execute(&mut conn) [INFO] [stdout] 184 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/user/infrastructure/user_adapters.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e: /* Type */| UserError::Unknown(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [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 `newsletter` (lib) due to 61 previous errors; 2 warnings emitted [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 `newsletter` (lib test) due to 61 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2b5a6114c1770bf5ea442e8d289fca348874a6cee236f0fefbc035a9fc8c31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b5a6114c1770bf5ea442e8d289fca348874a6cee236f0fefbc035a9fc8c31a", kill_on_drop: false }` [INFO] [stdout] d2b5a6114c1770bf5ea442e8d289fca348874a6cee236f0fefbc035a9fc8c31a