[INFO] cloning repository https://github.com/schitcrafter/diesel-thingy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/schitcrafter/diesel-thingy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschitcrafter%2Fdiesel-thingy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschitcrafter%2Fdiesel-thingy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe31deb361b259d942b3971996f4ce38c071bf9a [INFO] checking schitcrafter/diesel-thingy against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschitcrafter%2Fdiesel-thingy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/schitcrafter/diesel-thingy [INFO] finished tweaking git repo https://github.com/schitcrafter/diesel-thingy [INFO] tweaked toml for git repo https://github.com/schitcrafter/diesel-thingy written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/schitcrafter/diesel-thingy 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/schitcrafter/diesel-thingy 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] 6b57bffccaa7d2e167baf7143f5e51b1a251126fb91f6ecc31d29cd3397c84fe [INFO] running `Command { std: "docker" "start" "-a" "6b57bffccaa7d2e167baf7143f5e51b1a251126fb91f6ecc31d29cd3397c84fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b57bffccaa7d2e167baf7143f5e51b1a251126fb91f6ecc31d29cd3397c84fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b57bffccaa7d2e167baf7143f5e51b1a251126fb91f6ecc31d29cd3397c84fe", kill_on_drop: false }` [INFO] [stdout] 6b57bffccaa7d2e167baf7143f5e51b1a251126fb91f6ecc31d29cd3397c84fe [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] 508680570c949ca71c105f1dcdd873329c857ad85ef7ec5d686db382692eb95e [INFO] running `Command { std: "docker" "start" "-a" "508680570c949ca71c105f1dcdd873329c857ad85ef7ec5d686db382692eb95e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking axum-valid v0.18.0 [INFO] [stderr] Checking diesel-async v0.4.1 [INFO] [stderr] Checking diesel-thingy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | .get_result(&mut *db_handle).await [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 28 ~ let post = diesel_async::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 29 ~ .set(&update_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 28 ~ let post = diesel::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 29 ~ .set(&update_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let post = diesel::update(posts.find(post_id)) [INFO] [stdout] | ________________^ [INFO] [stdout] 29 | | .set(&update_post_body) [INFO] [stdout] 30 | | .get_result(&mut *db_handle).await [INFO] [stdout] | |__________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .get_result(&mut *db_handle).await [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 ~ let maybe_post: Option = diesel_async::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 47 ~ .set(published.eq(true)), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 ~ let maybe_post: Option = diesel::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 47 ~ .set(published.eq(true)), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | let maybe_post: Option = diesel::update(posts.find(post_id)) [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 47 | | .set(published.eq(true)) [INFO] [stdout] 48 | | .get_result(&mut *db_handle).await [INFO] [stdout] | |__________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | .load(&mut *db_handle).await [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] 62 ~ diesel_async::RunQueryDsl::load(posts.select(Post::as_select()) [INFO] [stdout] 63 ~ .limit(100), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 62 ~ diesel::RunQueryDsl::load(posts.select(Post::as_select()) [INFO] [stdout] 63 ~ .limit(100), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / posts.select(Post::as_select()) [INFO] [stdout] 63 | | .limit(100) [INFO] [stdout] 64 | | .load(&mut *db_handle).await [INFO] [stdout] | |____________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | .get_result(&mut *db_handle).await [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 77 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(posts) [INFO] [stdout] 78 ~ .values(&new_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 77 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(posts) [INFO] [stdout] 78 ~ .values(&new_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / diesel::insert_into(posts) [INFO] [stdout] 78 | | .values(&new_post_body) [INFO] [stdout] 79 | | .get_result(&mut *db_handle).await [INFO] [stdout] | |__________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel-thingy` (bin "diesel-thingy") due to 8 previous errors [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | .get_result(&mut *db_handle).await [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 28 ~ let post = diesel_async::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 29 ~ .set(&update_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 28 ~ let post = diesel::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 29 ~ .set(&update_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let post = diesel::update(posts.find(post_id)) [INFO] [stdout] | ________________^ [INFO] [stdout] 29 | | .set(&update_post_body) [INFO] [stdout] 30 | | .get_result(&mut *db_handle).await [INFO] [stdout] | |__________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .get_result(&mut *db_handle).await [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 ~ let maybe_post: Option = diesel_async::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 47 ~ .set(published.eq(true)), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 ~ let maybe_post: Option = diesel::RunQueryDsl::get_result(diesel::update(posts.find(post_id)) [INFO] [stdout] 47 ~ .set(published.eq(true)), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | let maybe_post: Option = diesel::update(posts.find(post_id)) [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 47 | | .set(published.eq(true)) [INFO] [stdout] 48 | | .get_result(&mut *db_handle).await [INFO] [stdout] | |__________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | .load(&mut *db_handle).await [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] 62 ~ diesel_async::RunQueryDsl::load(posts.select(Post::as_select()) [INFO] [stdout] 63 ~ .limit(100), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 62 ~ diesel::RunQueryDsl::load(posts.select(Post::as_select()) [INFO] [stdout] 63 ~ .limit(100), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / posts.select(Post::as_select()) [INFO] [stdout] 63 | | .limit(100) [INFO] [stdout] 64 | | .load(&mut *db_handle).await [INFO] [stdout] | |____________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/posts.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | .get_result(&mut *db_handle).await [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 77 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(posts) [INFO] [stdout] 78 ~ .values(&new_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 77 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(posts) [INFO] [stdout] 78 ~ .values(&new_post_body), &mut *db_handle).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/posts.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / diesel::insert_into(posts) [INFO] [stdout] 78 | | .values(&new_post_body) [INFO] [stdout] 79 | | .get_result(&mut *db_handle).await [INFO] [stdout] | |__________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel-thingy` (bin "diesel-thingy" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "508680570c949ca71c105f1dcdd873329c857ad85ef7ec5d686db382692eb95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508680570c949ca71c105f1dcdd873329c857ad85ef7ec5d686db382692eb95e", kill_on_drop: false }` [INFO] [stdout] 508680570c949ca71c105f1dcdd873329c857ad85ef7ec5d686db382692eb95e