[INFO] cloning repository https://github.com/darkartx-rust-curse/homework13 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darkartx-rust-curse/homework13" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkartx-rust-curse%2Fhomework13", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkartx-rust-curse%2Fhomework13'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e1dc370bf3d6c1c724e0f17f390a77f15cf0ca5 [INFO] checking darkartx-rust-curse/homework13 against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkartx-rust-curse%2Fhomework13" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/darkartx-rust-curse/homework13 [INFO] finished tweaking git repo https://github.com/darkartx-rust-curse/homework13 [INFO] tweaked toml for git repo https://github.com/darkartx-rust-curse/homework13 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darkartx-rust-curse/homework13 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/darkartx-rust-curse/homework13 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 827d83aed3a478b7c7ab745e519f3919f6b6ff81b242a6ba13136b76eb8f6259 [INFO] running `Command { std: "docker" "start" "-a" "827d83aed3a478b7c7ab745e519f3919f6b6ff81b242a6ba13136b76eb8f6259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827d83aed3a478b7c7ab745e519f3919f6b6ff81b242a6ba13136b76eb8f6259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827d83aed3a478b7c7ab745e519f3919f6b6ff81b242a6ba13136b76eb8f6259", kill_on_drop: false }` [INFO] [stdout] 827d83aed3a478b7c7ab745e519f3919f6b6ff81b242a6ba13136b76eb8f6259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] fdb63c75d7139c78dccf6a3f08faa8eaa2862cce1bf977bddf8c6efdc465b960 [INFO] running `Command { std: "docker" "start" "-a" "fdb63c75d7139c78dccf6a3f08faa8eaa2862cce1bf977bddf8c6efdc465b960", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking scoped-futures v0.1.4 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking jiff v0.2.13 [INFO] [stderr] Checking tower-http v0.6.4 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling diesel_derives v2.2.5 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking bb8 v0.8.6 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Checking diesel v2.2.10 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking diesel-async v0.5.2 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | .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] 96 ~ let result = diesel_async::RunQueryDsl::first(houses [INFO] [stdout] 97 + .select(House::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 96 ~ let result = diesel::RunQueryDsl::first(houses [INFO] [stdout] 97 + .select(House::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | .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] 96 ~ let result = diesel_async::RunQueryDsl::first(houses [INFO] [stdout] 97 + .select(House::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 96 ~ let result = diesel::RunQueryDsl::first(houses [INFO] [stdout] 97 + .select(House::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | let result = houses [INFO] [stdout] | __________________^ [INFO] [stdout] 97 | | .select(House::as_select()) [INFO] [stdout] 98 | | .first(&mut conn) [INFO] [stdout] 99 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | let result = houses [INFO] [stdout] | __________________^ [INFO] [stdout] 97 | | .select(House::as_select()) [INFO] [stdout] 98 | | .first(&mut conn) [INFO] [stdout] 99 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Some(result)) => Ok((StatusCode::OK, Json(result.into()))), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Some(result)) => Ok((StatusCode::OK, Json(result.into()))), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | .load(&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] 116 ~ diesel_async::RunQueryDsl::load(rooms [INFO] [stdout] 117 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 116 ~ diesel::RunQueryDsl::load(rooms [INFO] [stdout] 117 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | .load(&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] 116 ~ diesel_async::RunQueryDsl::load(rooms [INFO] [stdout] 117 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 116 ~ diesel::RunQueryDsl::load(rooms [INFO] [stdout] 117 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / rooms [INFO] [stdout] 117 | | .select(Room::as_select()) [INFO] [stdout] 118 | | .load(&mut conn) [INFO] [stdout] 119 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / rooms [INFO] [stdout] 117 | | .select(Room::as_select()) [INFO] [stdout] 118 | | .load(&mut conn) [INFO] [stdout] 119 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|result| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 122 | let result: Vec = result.into_iter().map(Into::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] 121 | .map(|result: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|result| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 122 | let result: Vec = result.into_iter().map(Into::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] 121 | .map(|result: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | .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::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] 135 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(rooms::table) [INFO] [stdout] 136 + .values(new_room) [INFO] [stdout] 137 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 135 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(rooms::table) [INFO] [stdout] 136 + .values(new_room) [INFO] [stdout] 137 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / diesel::insert_into(rooms::table) [INFO] [stdout] 136 | | .values(new_room) [INFO] [stdout] 137 | | .returning(Room::as_returning()) [INFO] [stdout] 138 | | .get_result(&mut conn) [INFO] [stdout] 139 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | .map(|result| (StatusCode::CREATED, Json(result.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] 141 | .map(|result: /* Type */| (StatusCode::CREATED, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | .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::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] 135 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(rooms::table) [INFO] [stdout] 136 + .values(new_room) [INFO] [stdout] 137 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 135 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(rooms::table) [INFO] [stdout] 136 + .values(new_room) [INFO] [stdout] 137 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / diesel::insert_into(rooms::table) [INFO] [stdout] 136 | | .values(new_room) [INFO] [stdout] 137 | | .returning(Room::as_returning()) [INFO] [stdout] 138 | | .get_result(&mut conn) [INFO] [stdout] 139 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | .map(|result| (StatusCode::CREATED, Json(result.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] 141 | .map(|result: /* Type */| (StatusCode::CREATED, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | .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] 152 ~ let result = diesel_async::RunQueryDsl::first(rooms [INFO] [stdout] 153 + .find(room_id) [INFO] [stdout] 154 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 152 ~ let result = diesel::RunQueryDsl::first(rooms [INFO] [stdout] 153 + .find(room_id) [INFO] [stdout] 154 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | let result = rooms [INFO] [stdout] | __________________^ [INFO] [stdout] 153 | | .find(room_id) [INFO] [stdout] 154 | | .select(Room::as_select()) [INFO] [stdout] 155 | | .first(&mut conn) [INFO] [stdout] 156 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:160:52 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(Some(room)) => Ok((StatusCode::OK, Json(room.into()))), [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | .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] 152 ~ let result = diesel_async::RunQueryDsl::first(rooms [INFO] [stdout] 153 + .find(room_id) [INFO] [stdout] 154 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 152 ~ let result = diesel::RunQueryDsl::first(rooms [INFO] [stdout] 153 + .find(room_id) [INFO] [stdout] 154 + .select(Room::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | let result = rooms [INFO] [stdout] | __________________^ [INFO] [stdout] 153 | | .find(room_id) [INFO] [stdout] 154 | | .select(Room::as_select()) [INFO] [stdout] 155 | | .first(&mut conn) [INFO] [stdout] 156 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:160:52 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(Some(room)) => Ok((StatusCode::OK, Json(room.into()))), [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | .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] 177 - room.select(id) [INFO] [stdout] 178 - .first::(&mut conn) [INFO] [stdout] 177 + diesel_async::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 177 - room.select(id) [INFO] [stdout] 178 - .first::(&mut conn) [INFO] [stdout] 177 + diesel::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / room.select(id) [INFO] [stdout] 178 | | .first::(&mut conn) [INFO] [stdout] 179 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | .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] 177 - room.select(id) [INFO] [stdout] 178 - .first::(&mut conn) [INFO] [stdout] 177 + diesel_async::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 177 - room.select(id) [INFO] [stdout] 178 - .first::(&mut conn) [INFO] [stdout] 177 + diesel::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / room.select(id) [INFO] [stdout] 178 | | .first::(&mut conn) [INFO] [stdout] 179 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | .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 `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 185 ~ diesel_async::RunQueryDsl::get_result(diesel::update(room) [INFO] [stdout] 186 + .set(name.eq(new_room.name)) [INFO] [stdout] 187 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 185 ~ diesel::RunQueryDsl::get_result(diesel::update(room) [INFO] [stdout] 186 + .set(name.eq(new_room.name)) [INFO] [stdout] 187 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / diesel::update(room) [INFO] [stdout] 186 | | .set(name.eq(new_room.name)) [INFO] [stdout] 187 | | .returning(Room::as_returning()) [INFO] [stdout] 188 | | .get_result(&mut conn) [INFO] [stdout] 189 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | .map(|result| (StatusCode::OK, Json(result.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] 191 | .map(|result: /* Type */| (StatusCode::OK, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | .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 `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 185 ~ diesel_async::RunQueryDsl::get_result(diesel::update(room) [INFO] [stdout] 186 + .set(name.eq(new_room.name)) [INFO] [stdout] 187 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 185 ~ diesel::RunQueryDsl::get_result(diesel::update(room) [INFO] [stdout] 186 + .set(name.eq(new_room.name)) [INFO] [stdout] 187 + .returning(Room::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / diesel::update(room) [INFO] [stdout] 186 | | .set(name.eq(new_room.name)) [INFO] [stdout] 187 | | .returning(Room::as_returning()) [INFO] [stdout] 188 | | .get_result(&mut conn) [INFO] [stdout] 189 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | .map(|result| (StatusCode::OK, Json(result.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] 191 | .map(|result: /* Type */| (StatusCode::OK, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | .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] 204 - room.select(id) [INFO] [stdout] 205 - .first::(&mut conn) [INFO] [stdout] 204 + diesel_async::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 204 - room.select(id) [INFO] [stdout] 205 - .first::(&mut conn) [INFO] [stdout] 204 + diesel::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / room.select(id) [INFO] [stdout] 205 | | .first::(&mut conn) [INFO] [stdout] 206 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | .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 `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] 212 - diesel::delete(room) [INFO] [stdout] 213 - .execute(&mut conn) [INFO] [stdout] 212 + diesel::RunQueryDsl::execute(diesel::delete(room), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 212 - diesel::delete(room) [INFO] [stdout] 213 - .execute(&mut conn) [INFO] [stdout] 212 + diesel_async::RunQueryDsl::execute(diesel::delete(room), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | / diesel::delete(room) [INFO] [stdout] 213 | | .execute(&mut conn) [INFO] [stdout] 214 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | .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] 204 - room.select(id) [INFO] [stdout] 205 - .first::(&mut conn) [INFO] [stdout] 204 + diesel_async::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 204 - room.select(id) [INFO] [stdout] 205 - .first::(&mut conn) [INFO] [stdout] 204 + diesel::RunQueryDsl::first(room.select(id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / room.select(id) [INFO] [stdout] 205 | | .first::(&mut conn) [INFO] [stdout] 206 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | .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 `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] 212 - diesel::delete(room) [INFO] [stdout] 213 - .execute(&mut conn) [INFO] [stdout] 212 + diesel::RunQueryDsl::execute(diesel::delete(room), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 212 - diesel::delete(room) [INFO] [stdout] 213 - .execute(&mut conn) [INFO] [stdout] 212 + diesel_async::RunQueryDsl::execute(diesel::delete(room), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | / diesel::delete(room) [INFO] [stdout] 213 | | .execute(&mut conn) [INFO] [stdout] 214 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | .load(&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] 228 ~ diesel_async::RunQueryDsl::load(dsl::devices [INFO] [stdout] 229 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 230 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 228 ~ diesel::RunQueryDsl::load(dsl::devices [INFO] [stdout] 229 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 230 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | / dsl::devices [INFO] [stdout] 229 | | .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 230 | | .select(Device::as_select()) [INFO] [stdout] 231 | | .load(&mut conn) [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:234:15 [INFO] [stdout] | [INFO] [stdout] 234 | .map(|result| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | let result: Vec = result.into_iter().map(Into::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] 234 | .map(|result: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | .load(&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] 228 ~ diesel_async::RunQueryDsl::load(dsl::devices [INFO] [stdout] 229 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 230 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 228 ~ diesel::RunQueryDsl::load(dsl::devices [INFO] [stdout] 229 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 230 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | / dsl::devices [INFO] [stdout] 229 | | .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 230 | | .select(Device::as_select()) [INFO] [stdout] 231 | | .load(&mut conn) [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:234:15 [INFO] [stdout] | [INFO] [stdout] 234 | .map(|result| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | let result: Vec = result.into_iter().map(Into::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] 234 | .map(|result: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | .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] 256 - room.select(rooms_dsl::id) [INFO] [stdout] 257 - .first::(&mut conn) [INFO] [stdout] 256 + diesel_async::RunQueryDsl::first(room.select(rooms_dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 256 - room.select(rooms_dsl::id) [INFO] [stdout] 257 - .first::(&mut conn) [INFO] [stdout] 256 + diesel::RunQueryDsl::first(room.select(rooms_dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / room.select(rooms_dsl::id) [INFO] [stdout] 257 | | .first::(&mut conn) [INFO] [stdout] 258 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | .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::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] 264 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(devices::table) [INFO] [stdout] 265 + .values(new_device) [INFO] [stdout] 266 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 264 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(devices::table) [INFO] [stdout] 265 + .values(new_device) [INFO] [stdout] 266 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / diesel::insert_into(devices::table) [INFO] [stdout] 265 | | .values(new_device) [INFO] [stdout] 266 | | .returning(Device::as_returning()) [INFO] [stdout] 267 | | .get_result(&mut conn) [INFO] [stdout] 268 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | .map(|result| (StatusCode::CREATED, Json(result.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] 270 | .map(|result: /* Type */| (StatusCode::CREATED, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | .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] 256 - room.select(rooms_dsl::id) [INFO] [stdout] 257 - .first::(&mut conn) [INFO] [stdout] 256 + diesel_async::RunQueryDsl::first(room.select(rooms_dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 256 - room.select(rooms_dsl::id) [INFO] [stdout] 257 - .first::(&mut conn) [INFO] [stdout] 256 + diesel::RunQueryDsl::first(room.select(rooms_dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / room.select(rooms_dsl::id) [INFO] [stdout] 257 | | .first::(&mut conn) [INFO] [stdout] 258 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | .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] 281 ~ let result = diesel_async::RunQueryDsl::first(dsl::devices [INFO] [stdout] 282 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 283 + .filter(dsl::id.eq(device_id)) [INFO] [stdout] 284 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 281 ~ let result = diesel::RunQueryDsl::first(dsl::devices [INFO] [stdout] 282 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 283 + .filter(dsl::id.eq(device_id)) [INFO] [stdout] 284 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | let result = dsl::devices [INFO] [stdout] | __________________^ [INFO] [stdout] 282 | | .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 283 | | .filter(dsl::id.eq(device_id)) [INFO] [stdout] 284 | | .select(Device::as_select()) [INFO] [stdout] 285 | | .first(&mut conn) [INFO] [stdout] 286 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | .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::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] 264 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(devices::table) [INFO] [stdout] 265 + .values(new_device) [INFO] [stdout] 266 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 264 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(devices::table) [INFO] [stdout] 265 + .values(new_device) [INFO] [stdout] 266 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:290:54 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(Some(device)) => Ok((StatusCode::OK, Json(device.into()))), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | / diesel::insert_into(devices::table) [INFO] [stdout] 265 | | .values(new_device) [INFO] [stdout] 266 | | .returning(Device::as_returning()) [INFO] [stdout] 267 | | .get_result(&mut conn) [INFO] [stdout] 268 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | .map(|result| (StatusCode::CREATED, Json(result.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] 270 | .map(|result: /* Type */| (StatusCode::CREATED, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:311:10 [INFO] [stdout] | [INFO] [stdout] 311 | .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] 310 - device.select(dsl::id) [INFO] [stdout] 311 - .first::(&mut conn) [INFO] [stdout] 310 + diesel_async::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 310 - device.select(dsl::id) [INFO] [stdout] 311 - .first::(&mut conn) [INFO] [stdout] 310 + diesel::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | / device.select(dsl::id) [INFO] [stdout] 311 | | .first::(&mut conn) [INFO] [stdout] 312 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | .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] 281 ~ let result = diesel_async::RunQueryDsl::first(dsl::devices [INFO] [stdout] 282 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 283 + .filter(dsl::id.eq(device_id)) [INFO] [stdout] 284 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 281 ~ let result = diesel::RunQueryDsl::first(dsl::devices [INFO] [stdout] 282 + .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 283 + .filter(dsl::id.eq(device_id)) [INFO] [stdout] 284 + .select(Device::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | let result = dsl::devices [INFO] [stdout] | __________________^ [INFO] [stdout] 282 | | .filter(dsl::room_id.eq(room_id)) [INFO] [stdout] 283 | | .filter(dsl::id.eq(device_id)) [INFO] [stdout] 284 | | .select(Device::as_select()) [INFO] [stdout] 285 | | .first(&mut conn) [INFO] [stdout] 286 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:290:54 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(Some(device)) => Ok((StatusCode::OK, Json(device.into()))), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | .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 `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 318 ~ diesel_async::RunQueryDsl::get_result(diesel::update(device) [INFO] [stdout] 319 + .set(dsl::name.eq(new_device.name)) [INFO] [stdout] 320 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 318 ~ diesel::RunQueryDsl::get_result(diesel::update(device) [INFO] [stdout] 319 + .set(dsl::name.eq(new_device.name)) [INFO] [stdout] 320 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / diesel::update(device) [INFO] [stdout] 319 | | .set(dsl::name.eq(new_device.name)) [INFO] [stdout] 320 | | .returning(Device::as_returning()) [INFO] [stdout] 321 | | .get_result(&mut conn) [INFO] [stdout] 322 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|result| (StatusCode::OK, Json(result.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] 324 | .map(|result: /* Type */| (StatusCode::OK, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:311:10 [INFO] [stdout] | [INFO] [stdout] 311 | .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] 310 - device.select(dsl::id) [INFO] [stdout] 311 - .first::(&mut conn) [INFO] [stdout] 310 + diesel_async::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 310 - device.select(dsl::id) [INFO] [stdout] 311 - .first::(&mut conn) [INFO] [stdout] 310 + diesel::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | / device.select(dsl::id) [INFO] [stdout] 311 | | .first::(&mut conn) [INFO] [stdout] 312 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | .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] 339 - device.select(dsl::id) [INFO] [stdout] 340 - .first::(&mut conn) [INFO] [stdout] 339 + diesel_async::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 339 - device.select(dsl::id) [INFO] [stdout] 340 - .first::(&mut conn) [INFO] [stdout] 339 + diesel::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | / device.select(dsl::id) [INFO] [stdout] 340 | | .first::(&mut conn) [INFO] [stdout] 341 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:348:10 [INFO] [stdout] | [INFO] [stdout] 348 | .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 `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] 347 - diesel::delete(device) [INFO] [stdout] 348 - .execute(&mut conn) [INFO] [stdout] 347 + diesel::RunQueryDsl::execute(diesel::delete(device), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 347 - diesel::delete(device) [INFO] [stdout] 348 - .execute(&mut conn) [INFO] [stdout] 347 + diesel_async::RunQueryDsl::execute(diesel::delete(device), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | / diesel::delete(device) [INFO] [stdout] 348 | | .execute(&mut conn) [INFO] [stdout] 349 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | .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 `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 318 ~ diesel_async::RunQueryDsl::get_result(diesel::update(device) [INFO] [stdout] 319 + .set(dsl::name.eq(new_device.name)) [INFO] [stdout] 320 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 318 ~ diesel::RunQueryDsl::get_result(diesel::update(device) [INFO] [stdout] 319 + .set(dsl::name.eq(new_device.name)) [INFO] [stdout] 320 + .returning(Device::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / diesel::update(device) [INFO] [stdout] 319 | | .set(dsl::name.eq(new_device.name)) [INFO] [stdout] 320 | | .returning(Device::as_returning()) [INFO] [stdout] 321 | | .get_result(&mut conn) [INFO] [stdout] 322 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|result| (StatusCode::OK, Json(result.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] 324 | .map(|result: /* Type */| (StatusCode::OK, Json(result.into()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | .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] 339 - device.select(dsl::id) [INFO] [stdout] 340 - .first::(&mut conn) [INFO] [stdout] 339 + diesel_async::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 339 - device.select(dsl::id) [INFO] [stdout] 340 - .first::(&mut conn) [INFO] [stdout] 339 + diesel::RunQueryDsl::first(device.select(dsl::id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | / device.select(dsl::id) [INFO] [stdout] 340 | | .first::(&mut conn) [INFO] [stdout] 341 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> server/src/main.rs:348:10 [INFO] [stdout] | [INFO] [stdout] 348 | .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 `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] 347 - diesel::delete(device) [INFO] [stdout] 348 - .execute(&mut conn) [INFO] [stdout] 347 + diesel::RunQueryDsl::execute(diesel::delete(device), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 347 - diesel::delete(device) [INFO] [stdout] 348 - .execute(&mut conn) [INFO] [stdout] 347 + diesel_async::RunQueryDsl::execute(diesel::delete(device), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> server/src/main.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | / diesel::delete(device) [INFO] [stdout] 348 | | .execute(&mut conn) [INFO] [stdout] 349 | | .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] 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 `server` (bin "server" test) due to 41 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `server` (bin "server") due to 41 previous errors [INFO] running `Command { std: "docker" "inspect" "fdb63c75d7139c78dccf6a3f08faa8eaa2862cce1bf977bddf8c6efdc465b960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb63c75d7139c78dccf6a3f08faa8eaa2862cce1bf977bddf8c6efdc465b960", kill_on_drop: false }` [INFO] [stdout] fdb63c75d7139c78dccf6a3f08faa8eaa2862cce1bf977bddf8c6efdc465b960