[INFO] cloning repository https://github.com/muzman01/rust-webserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/muzman01/rust-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuzman01%2Frust-webserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuzman01%2Frust-webserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 813d857538c7dbf318e97462ed9e420e31acdcf3 [INFO] checking muzman01/rust-webserver against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuzman01%2Frust-webserver" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/muzman01/rust-webserver [INFO] finished tweaking git repo https://github.com/muzman01/rust-webserver [INFO] tweaked toml for git repo https://github.com/muzman01/rust-webserver written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/muzman01/rust-webserver 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/muzman01/rust-webserver already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6f21f0c06983995a8488d642ac9f759211211fbdba8c6ec15e68e35b9f48e102 [INFO] running `Command { std: "docker" "start" "-a" "6f21f0c06983995a8488d642ac9f759211211fbdba8c6ec15e68e35b9f48e102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f21f0c06983995a8488d642ac9f759211211fbdba8c6ec15e68e35b9f48e102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f21f0c06983995a8488d642ac9f759211211fbdba8c6ec15e68e35b9f48e102", kill_on_drop: false }` [INFO] [stdout] 6f21f0c06983995a8488d642ac9f759211211fbdba8c6ec15e68e35b9f48e102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 97f17194489e05a1249b3929b4aa64967a95f89537524a005eaaacc25920821b [INFO] running `Command { std: "docker" "start" "-a" "97f17194489e05a1249b3929b4aa64967a95f89537524a005eaaacc25920821b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling figment v0.10.16 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling diesel_derives v2.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.1.0 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking diesel v2.1.5 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking deadpool-redis v0.12.0 [INFO] [stderr] Checking diesel-async v0.4.1 [INFO] [stderr] Checking rocket_db_pools v0.1.0 [INFO] [stderr] Checking cr8s v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | rustaceans::table.find(id).get_result(c).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 `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 12 - rustaceans::table.find(id).get_result(c).await [INFO] [stdout] 12 + diesel_async::RunQueryDsl::get_result(rustaceans::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 12 - rustaceans::table.find(id).get_result(c).await [INFO] [stdout] 12 + diesel::RunQueryDsl::get_result(rustaceans::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | rustaceans::table.limit(limit).get_results(c).await [INFO] [stdout] | ^^^^^^^^^^^ multiple `get_results` 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] 15 - rustaceans::table.limit(limit).get_results(c).await [INFO] [stdout] 15 + diesel_async::RunQueryDsl::get_results(rustaceans::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 15 - rustaceans::table.limit(limit).get_results(c).await [INFO] [stdout] 15 + diesel::RunQueryDsl::get_results(rustaceans::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .get_result(c) [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] 18 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(rustaceans::table) [INFO] [stdout] 19 + .values(&new_rustacean), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 18 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(rustaceans::table) [INFO] [stdout] 19 + .values(&new_rustacean), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | .get_result(c) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel_async::RunQueryDsl::get_result(diesel::update(rustaceans::table.find(id )) [INFO] [stdout] 25 + .set(( [INFO] [stdout] 26 + rustaceans::name.eq(rustaceans.name), [INFO] [stdout] 27 + rustaceans::email.eq(rustaceans.email), [INFO] [stdout] 28 + [INFO] [stdout] 29 + )), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel::RunQueryDsl::get_result(diesel::update(rustaceans::table.find(id )) [INFO] [stdout] 25 + .set(( [INFO] [stdout] 26 + rustaceans::name.eq(rustaceans.name), [INFO] [stdout] 27 + rustaceans::email.eq(rustaceans.email), [INFO] [stdout] 28 + [INFO] [stdout] 29 + )), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 34 | diesel::delete(rustaceans::table.find(id)).execute(c).await [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] 34 - diesel::delete(rustaceans::table.find(id)).execute(c).await [INFO] [stdout] 34 + diesel::RunQueryDsl::execute(diesel::delete(rustaceans::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 - diesel::delete(rustaceans::table.find(id)).execute(c).await [INFO] [stdout] 34 + diesel_async::RunQueryDsl::execute(diesel::delete(rustaceans::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | crates::table.find(id).get_result(c).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 `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 43 - crates::table.find(id).get_result(c).await [INFO] [stdout] 43 + diesel_async::RunQueryDsl::get_result(crates::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 43 - crates::table.find(id).get_result(c).await [INFO] [stdout] 43 + diesel::RunQueryDsl::get_result(crates::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | crates::table.limit(limit).get_results(c).await [INFO] [stdout] | ^^^^^^^^^^^ multiple `get_results` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 - crates::table.limit(limit).get_results(c).await [INFO] [stdout] 46 + diesel_async::RunQueryDsl::get_results(crates::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 - crates::table.limit(limit).get_results(c).await [INFO] [stdout] 46 + diesel::RunQueryDsl::get_results(crates::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | .get_result(c) [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] 49 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(crates::table) [INFO] [stdout] 50 + .values(&new_crate), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 49 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(crates::table) [INFO] [stdout] 50 + .values(&new_crate), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | .get_result(c) [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] 55 ~ diesel_async::RunQueryDsl::get_result(diesel::update(crates::table.find(id )) [INFO] [stdout] 56 + .set(( [INFO] [stdout] 57 + crates::rustacean_id.eq(a_crate.rustacean_id), [INFO] [stdout] 58 + crates::name.eq(a_crate.name), [INFO] [stdout] 59 + crates::code.eq(a_crate.code), [INFO] [stdout] 60 + crates::version.eq(a_crate.version), [INFO] [stdout] 61 + crates::description.eq(a_crate.description), [INFO] [stdout] 62 + [INFO] [stdout] 63 + [INFO] [stdout] 64 + )), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 55 ~ diesel::RunQueryDsl::get_result(diesel::update(crates::table.find(id )) [INFO] [stdout] 56 + .set(( [INFO] [stdout] 57 + crates::rustacean_id.eq(a_crate.rustacean_id), [INFO] [stdout] 58 + crates::name.eq(a_crate.name), [INFO] [stdout] 59 + crates::code.eq(a_crate.code), [INFO] [stdout] 60 + crates::version.eq(a_crate.version), [INFO] [stdout] 61 + crates::description.eq(a_crate.description), [INFO] [stdout] 62 + [INFO] [stdout] 63 + [INFO] [stdout] 64 + )), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | diesel::delete(crates::table.find(id)).execute(c).await [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] 69 - diesel::delete(crates::table.find(id)).execute(c).await [INFO] [stdout] 69 + diesel::RunQueryDsl::execute(diesel::delete(crates::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 - diesel::delete(crates::table.find(id)).execute(c).await [INFO] [stdout] 69 + diesel_async::RunQueryDsl::execute(diesel::delete(crates::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | let users = users::table.load::(c).await?; [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 76 - let users = users::table.load::(c).await?; [INFO] [stdout] 76 + let users = diesel::RunQueryDsl::load(users::table, c).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 76 - let users = users::table.load::(c).await?; [INFO] [stdout] 76 + let users = diesel_async::RunQueryDsl::load(users::table, c).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | rustaceans::table.find(id).get_result(c).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 `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 12 - rustaceans::table.find(id).get_result(c).await [INFO] [stdout] 12 + diesel_async::RunQueryDsl::get_result(rustaceans::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 12 - rustaceans::table.find(id).get_result(c).await [INFO] [stdout] 12 + diesel::RunQueryDsl::get_result(rustaceans::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | rustaceans::table.limit(limit).get_results(c).await [INFO] [stdout] | ^^^^^^^^^^^ multiple `get_results` 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] 15 - rustaceans::table.limit(limit).get_results(c).await [INFO] [stdout] 15 + diesel_async::RunQueryDsl::get_results(rustaceans::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 15 - rustaceans::table.limit(limit).get_results(c).await [INFO] [stdout] 15 + diesel::RunQueryDsl::get_results(rustaceans::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .load::<(UserRole, Role)>(c).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] 77 ~ let result = diesel_async::RunQueryDsl::load(users_roles::table [INFO] [stdout] 78 ~ .inner_join(roles::table), c).await? [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 77 ~ let result = diesel::RunQueryDsl::load(users_roles::table [INFO] [stdout] 78 ~ .inner_join(roles::table), c).await? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .get_result(c) [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] 18 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(rustaceans::table) [INFO] [stdout] 19 + .values(&new_rustacean), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 18 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(rustaceans::table) [INFO] [stdout] 19 + .values(&new_rustacean), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/repositories.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let result = users_roles::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | .inner_join(roles::table) [INFO] [stdout] 79 | | .load::<(UserRole, Role)>(c).await? [INFO] [stdout] | |_______________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | .get_result(c) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel_async::RunQueryDsl::get_result(diesel::update(rustaceans::table.find(id )) [INFO] [stdout] 25 + .set(( [INFO] [stdout] 26 + rustaceans::name.eq(rustaceans.name), [INFO] [stdout] 27 + rustaceans::email.eq(rustaceans.email), [INFO] [stdout] 28 + [INFO] [stdout] 29 + )), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 24 ~ diesel::RunQueryDsl::get_result(diesel::update(rustaceans::table.find(id )) [INFO] [stdout] 25 + .set(( [INFO] [stdout] 26 + rustaceans::name.eq(rustaceans.name), [INFO] [stdout] 27 + rustaceans::email.eq(rustaceans.email), [INFO] [stdout] 28 + [INFO] [stdout] 29 + )), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/repositories.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let users = users::table.load::(c).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | Ok(users.into_iter().zip(result).collect()) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 76 | let users: /* Type */ = users::table.load::(c).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 34 | diesel::delete(rustaceans::table.find(id)).execute(c).await [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] 34 - diesel::delete(rustaceans::table.find(id)).execute(c).await [INFO] [stdout] 34 + diesel::RunQueryDsl::execute(diesel::delete(rustaceans::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 - diesel::delete(rustaceans::table.find(id)).execute(c).await [INFO] [stdout] 34 + diesel_async::RunQueryDsl::execute(diesel::delete(rustaceans::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | .get_result::(c) [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] 86 ~ let user = diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 87 + .values(&new_user), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let user = diesel_async::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 87 + .values(&new_user), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | crates::table.find(id).get_result(c).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 `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 43 - crates::table.find(id).get_result(c).await [INFO] [stdout] 43 + diesel_async::RunQueryDsl::get_result(crates::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 43 - crates::table.find(id).get_result(c).await [INFO] [stdout] 43 + diesel::RunQueryDsl::get_result(crates::table.find(id), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | .get_result::(c) [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] 110 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(users_roles::table) [INFO] [stdout] 111 + .values(&new_user_role), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 110 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(users_roles::table) [INFO] [stdout] 111 + .values(&new_user_role), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | crates::table.limit(limit).get_results(c).await [INFO] [stdout] | ^^^^^^^^^^^ multiple `get_results` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 46 - crates::table.limit(limit).get_results(c).await [INFO] [stdout] 46 + diesel_async::RunQueryDsl::get_results(crates::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 46 - crates::table.limit(limit).get_results(c).await [INFO] [stdout] 46 + diesel::RunQueryDsl::get_results(crates::table.limit(limit), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | .get_result(c) [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] 49 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(crates::table) [INFO] [stdout] 50 + .values(&new_crate), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 49 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(crates::table) [INFO] [stdout] 50 + .values(&new_crate), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | ).execute(c).await?; [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] 119 ~ diesel::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 120 + users_roles::table.filter(users_roles::user_id.eq(id)) [INFO] [stdout] 121 ~ ), c).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 119 ~ diesel_async::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 120 + users_roles::table.filter(users_roles::user_id.eq(id)) [INFO] [stdout] 121 ~ ), c).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:123:47 [INFO] [stdout] | [INFO] [stdout] 123 | diesel::delete(users::table.find(id)).execute(c).await [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] 123 - diesel::delete(users::table.find(id)).execute(c).await [INFO] [stdout] 123 + diesel::RunQueryDsl::execute(diesel::delete(users::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 - diesel::delete(users::table.find(id)).execute(c).await [INFO] [stdout] 123 + diesel_async::RunQueryDsl::execute(diesel::delete(users::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | .get_result(c) [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] 55 ~ diesel_async::RunQueryDsl::get_result(diesel::update(crates::table.find(id )) [INFO] [stdout] 56 + .set(( [INFO] [stdout] 57 + crates::rustacean_id.eq(a_crate.rustacean_id), [INFO] [stdout] 58 + crates::name.eq(a_crate.name), [INFO] [stdout] 59 + crates::code.eq(a_crate.code), [INFO] [stdout] 60 + crates::version.eq(a_crate.version), [INFO] [stdout] 61 + crates::description.eq(a_crate.description), [INFO] [stdout] 62 + [INFO] [stdout] 63 + [INFO] [stdout] 64 + )), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 55 ~ diesel::RunQueryDsl::get_result(diesel::update(crates::table.find(id )) [INFO] [stdout] 56 + .set(( [INFO] [stdout] 57 + crates::rustacean_id.eq(a_crate.rustacean_id), [INFO] [stdout] 58 + crates::name.eq(a_crate.name), [INFO] [stdout] 59 + crates::code.eq(a_crate.code), [INFO] [stdout] 60 + crates::version.eq(a_crate.version), [INFO] [stdout] 61 + crates::description.eq(a_crate.description), [INFO] [stdout] 62 + [INFO] [stdout] 63 + [INFO] [stdout] 64 + )), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:130:52 [INFO] [stdout] | [INFO] [stdout] 130 | roles::table.filter(roles::id.eq_any(ids)).load(c).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] 130 - roles::table.filter(roles::id.eq_any(ids)).load(c).await [INFO] [stdout] 130 + diesel_async::RunQueryDsl::load(roles::table.filter(roles::id.eq_any(ids)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 130 - roles::table.filter(roles::id.eq_any(ids)).load(c).await [INFO] [stdout] 130 + diesel::RunQueryDsl::load(roles::table.filter(roles::id.eq_any(ids)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | roles::table.filter(roles::code.eq(role_code)).first(c).await [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 - roles::table.filter(roles::code.eq(role_code)).first(c).await [INFO] [stdout] 133 + diesel_async::RunQueryDsl::first(roles::table.filter(roles::code.eq(role_code)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 133 - roles::table.filter(roles::code.eq(role_code)).first(c).await [INFO] [stdout] 133 + diesel::RunQueryDsl::first(roles::table.filter(roles::code.eq(role_code)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | diesel::delete(crates::table.find(id)).execute(c).await [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] 69 - diesel::delete(crates::table.find(id)).execute(c).await [INFO] [stdout] 69 + diesel::RunQueryDsl::execute(diesel::delete(crates::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 - diesel::delete(crates::table.find(id)).execute(c).await [INFO] [stdout] 69 + diesel_async::RunQueryDsl::execute(diesel::delete(crates::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] | ^^^^^^^^^^^ multiple `get_results` 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] 136 - let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] 136 + let user_roles = diesel_async::RunQueryDsl::get_results(UserRole::belonging_to(&user), c).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 136 - let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] 136 + let user_roles = diesel::RunQueryDsl::get_results(UserRole::belonging_to(&user), c).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/repositories.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 137 | let role_ids: Vec = user_roles.iter().map(|ur: &UserRole| ur.role_id).collect(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `user_roles` an explicit type [INFO] [stdout] | [INFO] [stdout] 136 | let user_roles: /* Type */ = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | .get_result(c) [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] 141 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(roles::table) [INFO] [stdout] 142 + .values(&new_role), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 141 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(roles::table) [INFO] [stdout] 142 + .values(&new_role), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | let users = users::table.load::(c).await?; [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 76 - let users = users::table.load::(c).await?; [INFO] [stdout] 76 + let users = diesel::RunQueryDsl::load(users::table, c).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 76 - let users = users::table.load::(c).await?; [INFO] [stdout] 76 + let users = diesel_async::RunQueryDsl::load(users::table, c).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .load::<(UserRole, Role)>(c).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] 77 ~ let result = diesel_async::RunQueryDsl::load(users_roles::table [INFO] [stdout] 78 ~ .inner_join(roles::table), c).await? [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 77 ~ let result = diesel::RunQueryDsl::load(users_roles::table [INFO] [stdout] 78 ~ .inner_join(roles::table), c).await? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/repositories.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let result = users_roles::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | .inner_join(roles::table) [INFO] [stdout] 79 | | .load::<(UserRole, Role)>(c).await? [INFO] [stdout] | |_______________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/repositories.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let users = users::table.load::(c).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | Ok(users.into_iter().zip(result).collect()) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 76 | let users: /* Type */ = users::table.load::(c).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | .get_result::(c) [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] 86 ~ let user = diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 87 + .values(&new_user), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let user = diesel_async::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 87 + .values(&new_user), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | .get_result::(c) [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] 110 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(users_roles::table) [INFO] [stdout] 111 + .values(&new_user_role), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 110 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(users_roles::table) [INFO] [stdout] 111 + .values(&new_user_role), c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | ).execute(c).await?; [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] 119 ~ diesel::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 120 + users_roles::table.filter(users_roles::user_id.eq(id)) [INFO] [stdout] 121 ~ ), c).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 119 ~ diesel_async::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 120 + users_roles::table.filter(users_roles::user_id.eq(id)) [INFO] [stdout] 121 ~ ), c).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:123:47 [INFO] [stdout] | [INFO] [stdout] 123 | diesel::delete(users::table.find(id)).execute(c).await [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] 123 - diesel::delete(users::table.find(id)).execute(c).await [INFO] [stdout] 123 + diesel::RunQueryDsl::execute(diesel::delete(users::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 - diesel::delete(users::table.find(id)).execute(c).await [INFO] [stdout] 123 + diesel_async::RunQueryDsl::execute(diesel::delete(users::table.find(id)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:130:52 [INFO] [stdout] | [INFO] [stdout] 130 | roles::table.filter(roles::id.eq_any(ids)).load(c).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] 130 - roles::table.filter(roles::id.eq_any(ids)).load(c).await [INFO] [stdout] 130 + diesel_async::RunQueryDsl::load(roles::table.filter(roles::id.eq_any(ids)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 130 - roles::table.filter(roles::id.eq_any(ids)).load(c).await [INFO] [stdout] 130 + diesel::RunQueryDsl::load(roles::table.filter(roles::id.eq_any(ids)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | roles::table.filter(roles::code.eq(role_code)).first(c).await [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 - roles::table.filter(roles::code.eq(role_code)).first(c).await [INFO] [stdout] 133 + diesel_async::RunQueryDsl::first(roles::table.filter(roles::code.eq(role_code)), c).await [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 133 - roles::table.filter(roles::code.eq(role_code)).first(c).await [INFO] [stdout] 133 + diesel::RunQueryDsl::first(roles::table.filter(roles::code.eq(role_code)), c).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] | ^^^^^^^^^^^ multiple `get_results` 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] 136 - let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] 136 + let user_roles = diesel_async::RunQueryDsl::get_results(UserRole::belonging_to(&user), c).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 136 - let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] 136 + let user_roles = diesel::RunQueryDsl::get_results(UserRole::belonging_to(&user), c).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/repositories.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let user_roles = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 137 | let role_ids: Vec = user_roles.iter().map(|ur: &UserRole| ur.role_id).collect(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `user_roles` an explicit type [INFO] [stdout] | [INFO] [stdout] 136 | let user_roles: /* Type */ = UserRole::belonging_to(&user).get_results::(c).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/repositories.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | .get_result(c) [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] 141 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(roles::table) [INFO] [stdout] 142 + .values(&new_role), c) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 141 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(roles::table) [INFO] [stdout] 142 + .values(&new_role), c) [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] [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 `cr8s` (lib test) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cr8s` (lib) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "97f17194489e05a1249b3929b4aa64967a95f89537524a005eaaacc25920821b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f17194489e05a1249b3929b4aa64967a95f89537524a005eaaacc25920821b", kill_on_drop: false }` [INFO] [stdout] 97f17194489e05a1249b3929b4aa64967a95f89537524a005eaaacc25920821b