[INFO] cloning repository https://github.com/fadl8/mosnad-challenga-one [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fadl8/mosnad-challenga-one" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffadl8%2Fmosnad-challenga-one", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffadl8%2Fmosnad-challenga-one'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a497ee2cc7c22c789f4253a5f206fb251dc7fc74 [INFO] checking fadl8/mosnad-challenga-one against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffadl8%2Fmosnad-challenga-one" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fadl8/mosnad-challenga-one [INFO] finished tweaking git repo https://github.com/fadl8/mosnad-challenga-one [INFO] tweaked toml for git repo https://github.com/fadl8/mosnad-challenga-one written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fadl8/mosnad-challenga-one 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/fadl8/mosnad-challenga-one already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 66ebfc1f108b7b3e87ca98f2ca87e5eb304e2f5b0bc395057d406497a5002f4d [INFO] running `Command { std: "docker" "start" "-a" "66ebfc1f108b7b3e87ca98f2ca87e5eb304e2f5b0bc395057d406497a5002f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ebfc1f108b7b3e87ca98f2ca87e5eb304e2f5b0bc395057d406497a5002f4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ebfc1f108b7b3e87ca98f2ca87e5eb304e2f5b0bc395057d406497a5002f4d", kill_on_drop: false }` [INFO] [stdout] 66ebfc1f108b7b3e87ca98f2ca87e5eb304e2f5b0bc395057d406497a5002f4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 59bc26516831bde9ada3f748d6e037611979b3e5d328f1614416da022ce0f4b1 [INFO] running `Command { std: "docker" "start" "-a" "59bc26516831bde9ada3f748d6e037611979b3e5d328f1614416da022ce0f4b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking winnow v0.6.11 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Checking tempfile v3.10.1 [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.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking migrations_internals v2.1.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Checking diesel-async v0.4.1 [INFO] [stderr] Checking diesel_migrations v2.1.0 [INFO] [stderr] Checking rocket_db_pools v0.2.0 [INFO] [stderr] Checking urbandic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/user/handlers.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[get("/login", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/user/handlers.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[get("/login", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/user/handlers.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[get("/login", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/user/handlers.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[get("/login", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_db_pools::{Connection, Database}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/user/handlers.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | use rocket_db_pools::{Connection, Database}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/word/handlers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Integer` [INFO] [stdout] --> src/word/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::sql_types::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> src/word/handlers.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | use super::models::{words::{self, approved, id}, NewWord, Word}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_db_pools::{Connection, Database}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/user/handlers.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | use rocket_db_pools::{Connection, Database}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/word/handlers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Integer` [INFO] [stdout] --> src/word/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::sql_types::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `id` [INFO] [stdout] --> src/word/handlers.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | use super::models::{words::{self, approved, id}, NewWord, Word}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/handlers.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | .get_result(&mut db) [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 `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 42 ~ let user = diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 43 + .values(&*new_user) [INFO] [stdout] 44 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 42 ~ let user = rocket_db_pools::diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 43 + .values(&*new_user) [INFO] [stdout] 44 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/handlers.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | .get_result(&mut db) [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 `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 42 ~ let user = diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 43 + .values(&*new_user) [INFO] [stdout] 44 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 42 ~ let user = rocket_db_pools::diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 43 + .values(&*new_user) [INFO] [stdout] 44 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/handlers.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | .first::(&mut db) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 59 ~ let user = rocket_db_pools::diesel::RunQueryDsl::first(users::table [INFO] [stdout] 60 + .select(users::all_columns) [INFO] [stdout] 61 + .filter(users::email.eq(&user_view.email)), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 59 ~ let user = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 60 + .select(users::all_columns) [INFO] [stdout] 61 + .filter(users::email.eq(&user_view.email)), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/handlers.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 86 ~ let userList = rocket_db_pools::diesel::RunQueryDsl::load(users::table [INFO] [stdout] 87 + .select(users::all_columns), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let userList = diesel::RunQueryDsl::load(users::table [INFO] [stdout] 87 + .select(users::all_columns), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/handlers.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | .first::(&mut db) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 59 ~ let user = rocket_db_pools::diesel::RunQueryDsl::first(users::table [INFO] [stdout] 60 + .select(users::all_columns) [INFO] [stdout] 61 + .filter(users::email.eq(&user_view.email)), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 59 ~ let user = diesel::RunQueryDsl::first(users::table [INFO] [stdout] 60 + .select(users::all_columns) [INFO] [stdout] 61 + .filter(users::email.eq(&user_view.email)), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/user/handlers.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 86 ~ let userList = rocket_db_pools::diesel::RunQueryDsl::load(users::table [INFO] [stdout] 87 + .select(users::all_columns), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 ~ let userList = diesel::RunQueryDsl::load(users::table [INFO] [stdout] 87 + .select(users::all_columns), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 35 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 36 + .select(words::all_columns) [INFO] [stdout] 37 + .limit(limit) [INFO] [stdout] 38 + .offset(10 * page_index), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 36 + .select(words::all_columns) [INFO] [stdout] 37 + .limit(limit) [INFO] [stdout] 38 + .offset(10 * page_index), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 35 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 36 + .select(words::all_columns) [INFO] [stdout] 37 + .limit(limit) [INFO] [stdout] 38 + .offset(10 * page_index), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 35 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 36 + .select(words::all_columns) [INFO] [stdout] 37 + .limit(limit) [INFO] [stdout] 38 + .offset(10 * page_index), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 47 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 48 + .select(words::all_columns) [INFO] [stdout] 49 + .order_by(words::character) [INFO] [stdout] 50 + .limit(limit) [INFO] [stdout] 51 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 47 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 48 + .select(words::all_columns) [INFO] [stdout] 49 + .order_by(words::character) [INFO] [stdout] 50 + .limit(limit) [INFO] [stdout] 51 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 47 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 48 + .select(words::all_columns) [INFO] [stdout] 49 + .order_by(words::character) [INFO] [stdout] 50 + .limit(limit) [INFO] [stdout] 51 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 47 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 48 + .select(words::all_columns) [INFO] [stdout] 49 + .order_by(words::character) [INFO] [stdout] 50 + .limit(limit) [INFO] [stdout] 51 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 61 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 62 + .select(words::character) [INFO] [stdout] 63 + .distinct_on(words::character), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 61 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 62 + .select(words::character) [INFO] [stdout] 63 + .distinct_on(words::character), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 61 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 62 + .select(words::character) [INFO] [stdout] 63 + .distinct_on(words::character), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 61 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 62 + .select(words::character) [INFO] [stdout] 63 + .distinct_on(words::character), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 73 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 74 + .select(words::all_columns) [INFO] [stdout] 75 + .filter(words::title.like(format!("{}%", character))) [INFO] [stdout] 76 + .limit(limit) [INFO] [stdout] 77 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 73 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 74 + .select(words::all_columns) [INFO] [stdout] 75 + .filter(words::title.like(format!("{}%", character))) [INFO] [stdout] 76 + .limit(limit) [INFO] [stdout] 77 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 73 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 74 + .select(words::all_columns) [INFO] [stdout] 75 + .filter(words::title.like(format!("{}%", character))) [INFO] [stdout] 76 + .limit(limit) [INFO] [stdout] 77 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 73 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 74 + .select(words::all_columns) [INFO] [stdout] 75 + .filter(words::title.like(format!("{}%", character))) [INFO] [stdout] 76 + .limit(limit) [INFO] [stdout] 77 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | let word = words::table.find(word_id).get_result::(&mut db).await; [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 86 - let word = words::table.find(word_id).get_result::(&mut db).await; [INFO] [stdout] 86 + let word = rocket_db_pools::diesel::RunQueryDsl::get_result(words::table.find(word_id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 - let word = words::table.find(word_id).get_result::(&mut db).await; [INFO] [stdout] 86 + let word = diesel::RunQueryDsl::get_result(words::table.find(word_id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | let word = words::table.find(word_id).get_result::(&mut db).await; [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 86 - let word = words::table.find(word_id).get_result::(&mut db).await; [INFO] [stdout] 86 + let word = rocket_db_pools::diesel::RunQueryDsl::get_result(words::table.find(word_id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 86 - let word = words::table.find(word_id).get_result::(&mut db).await; [INFO] [stdout] 86 + let word = diesel::RunQueryDsl::get_result(words::table.find(word_id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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 words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 97 + .select(words::all_columns) [INFO] [stdout] 98 + .filter(words::title.eq(search_word)) [INFO] [stdout] 99 + .filter(words::approved.eq(true)) [INFO] [stdout] 100 + .limit(limit) [INFO] [stdout] 101 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 96 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 97 + .select(words::all_columns) [INFO] [stdout] 98 + .filter(words::title.eq(search_word)) [INFO] [stdout] 99 + .filter(words::approved.eq(true)) [INFO] [stdout] 100 + .limit(limit) [INFO] [stdout] 101 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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 words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 97 + .select(words::all_columns) [INFO] [stdout] 98 + .filter(words::title.eq(search_word)) [INFO] [stdout] 99 + .filter(words::approved.eq(true)) [INFO] [stdout] 100 + .limit(limit) [INFO] [stdout] 101 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 96 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 97 + .select(words::all_columns) [INFO] [stdout] 98 + .filter(words::title.eq(search_word)) [INFO] [stdout] 99 + .filter(words::approved.eq(true)) [INFO] [stdout] 100 + .limit(limit) [INFO] [stdout] 101 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | .get_result(&mut db) [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 `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 110 ~ let word = diesel::RunQueryDsl::get_result(diesel::insert_into(words::table) [INFO] [stdout] 111 + .values(&*new_word) [INFO] [stdout] 112 + .returning(Word::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 110 ~ let word = rocket_db_pools::diesel::RunQueryDsl::get_result(diesel::insert_into(words::table) [INFO] [stdout] 111 + .values(&*new_word) [INFO] [stdout] 112 + .returning(Word::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | .get_result(&mut db) [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 `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 110 ~ let word = diesel::RunQueryDsl::get_result(diesel::insert_into(words::table) [INFO] [stdout] 111 + .values(&*new_word) [INFO] [stdout] 112 + .returning(Word::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 110 ~ let word = rocket_db_pools::diesel::RunQueryDsl::get_result(diesel::insert_into(words::table) [INFO] [stdout] 111 + .values(&*new_word) [INFO] [stdout] 112 + .returning(Word::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 123 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 124 + .select(words::all_columns) [INFO] [stdout] 125 + .filter(words::user_id.eq(claims.id)), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 124 + .select(words::all_columns) [INFO] [stdout] 125 + .filter(words::user_id.eq(claims.id)), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | .get_result::(&mut *db) [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 `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 138 - let deleted_word = match diesel::delete(words::table.filter(words::id.eq(word_id))) [INFO] [stdout] 139 - .get_result::(&mut *db) [INFO] [stdout] 138 + let deleted_word = match diesel::RunQueryDsl::get_result(diesel::delete(words::table.filter(words::id.eq(word_id))), &mut *db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 138 - let deleted_word = match diesel::delete(words::table.filter(words::id.eq(word_id))) [INFO] [stdout] 139 - .get_result::(&mut *db) [INFO] [stdout] 138 + let deleted_word = match rocket_db_pools::diesel::RunQueryDsl::get_result(diesel::delete(words::table.filter(words::id.eq(word_id))), &mut *db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 123 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 124 + .select(words::all_columns) [INFO] [stdout] 125 + .filter(words::user_id.eq(claims.id)), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 123 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 124 + .select(words::all_columns) [INFO] [stdout] 125 + .filter(words::user_id.eq(claims.id)), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | .get_result::(&mut *db) [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 `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `rocket_db_pools::diesel::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 138 - let deleted_word = match diesel::delete(words::table.filter(words::id.eq(word_id))) [INFO] [stdout] 139 - .get_result::(&mut *db) [INFO] [stdout] 138 + let deleted_word = match diesel::RunQueryDsl::get_result(diesel::delete(words::table.filter(words::id.eq(word_id))), &mut *db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 138 - let deleted_word = match diesel::delete(words::table.filter(words::id.eq(word_id))) [INFO] [stdout] 139 - .get_result::(&mut *db) [INFO] [stdout] 138 + let deleted_word = match rocket_db_pools::diesel::RunQueryDsl::get_result(diesel::delete(words::table.filter(words::id.eq(word_id))), &mut *db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 164 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 165 + .select(words::all_columns) [INFO] [stdout] 166 + .filter(words::approved.eq(false)) [INFO] [stdout] 167 + .limit(limit) [INFO] [stdout] 168 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 164 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 165 + .select(words::all_columns) [INFO] [stdout] 166 + .filter(words::approved.eq(false)) [INFO] [stdout] 167 + .limit(limit) [INFO] [stdout] 168 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/word/handlers.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let words = words::table [INFO] [stdout] | _________________^ [INFO] [stdout] 165 | | .select(words::all_columns) [INFO] [stdout] 166 | | .filter(words::approved.eq(false)) [INFO] [stdout] 167 | | .limit(limit) [INFO] [stdout] 168 | | .offset(page_index * 10) [INFO] [stdout] 169 | | .load(&mut db) [INFO] [stdout] 170 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | .load(&mut db) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 164 ~ let words = rocket_db_pools::diesel::RunQueryDsl::load(words::table [INFO] [stdout] 165 + .select(words::all_columns) [INFO] [stdout] 166 + .filter(words::approved.eq(false)) [INFO] [stdout] 167 + .limit(limit) [INFO] [stdout] 168 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 164 ~ let words = diesel::RunQueryDsl::load(words::table [INFO] [stdout] 165 + .select(words::all_columns) [INFO] [stdout] 166 + .filter(words::approved.eq(false)) [INFO] [stdout] 167 + .limit(limit) [INFO] [stdout] 168 + .offset(page_index * 10), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/word/handlers.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let words = words::table [INFO] [stdout] | _________________^ [INFO] [stdout] 165 | | .select(words::all_columns) [INFO] [stdout] 166 | | .filter(words::approved.eq(false)) [INFO] [stdout] 167 | | .limit(limit) [INFO] [stdout] 168 | | .offset(page_index * 10) [INFO] [stdout] 169 | | .load(&mut db) [INFO] [stdout] 170 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:185:48 [INFO] [stdout] | [INFO] [stdout] 185 | let word = words::table.find(new_word.id).get_result::(&mut db).await; [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 185 - let word = words::table.find(new_word.id).get_result::(&mut db).await; [INFO] [stdout] 185 + let word = rocket_db_pools::diesel::RunQueryDsl::get_result(words::table.find(new_word.id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 185 - let word = words::table.find(new_word.id).get_result::(&mut db).await; [INFO] [stdout] 185 + let word = diesel::RunQueryDsl::get_result(words::table.find(new_word.id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | .execute(&mut db) ; [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 188 ~ let word_updated = rocket_db_pools::diesel::RunQueryDsl::execute(diesel::update(words::table.filter(words::id.eq(new_word.id))) [INFO] [stdout] 189 ~ .set(approved.eq(new_word.approved)), &mut db) ; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 188 ~ let word_updated = diesel::RunQueryDsl::execute(diesel::update(words::table.filter(words::id.eq(new_word.id))) [INFO] [stdout] 189 ~ .set(approved.eq(new_word.approved)), &mut db) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:185:48 [INFO] [stdout] | [INFO] [stdout] 185 | let word = words::table.find(new_word.id).get_result::(&mut db).await; [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 185 - let word = words::table.find(new_word.id).get_result::(&mut db).await; [INFO] [stdout] 185 + let word = rocket_db_pools::diesel::RunQueryDsl::get_result(words::table.find(new_word.id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 185 - let word = words::table.find(new_word.id).get_result::(&mut db).await; [INFO] [stdout] 185 + let word = diesel::RunQueryDsl::get_result(words::table.find(new_word.id), &mut db).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/word/handlers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | .execute(&mut db) ; [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `rocket_db_pools::diesel::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] 188 ~ let word_updated = rocket_db_pools::diesel::RunQueryDsl::execute(diesel::update(words::table.filter(words::id.eq(new_word.id))) [INFO] [stdout] 189 ~ .set(approved.eq(new_word.approved)), &mut db) ; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 188 ~ let word_updated = diesel::RunQueryDsl::execute(diesel::update(words::table.filter(words::id.eq(new_word.id))) [INFO] [stdout] 189 ~ .set(approved.eq(new_word.approved)), &mut db) ; [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 `urbandic` (bin "urbandic" test) due to 16 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `urbandic` (bin "urbandic") due to 16 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "59bc26516831bde9ada3f748d6e037611979b3e5d328f1614416da022ce0f4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bc26516831bde9ada3f748d6e037611979b3e5d328f1614416da022ce0f4b1", kill_on_drop: false }` [INFO] [stdout] 59bc26516831bde9ada3f748d6e037611979b3e5d328f1614416da022ce0f4b1