[INFO] cloning repository https://github.com/PracticalEdges/rocket-auth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PracticalEdges/rocket-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPracticalEdges%2Frocket-auth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPracticalEdges%2Frocket-auth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2e952ca3c5291b97f7e33baafa705da2a7c10e3 [INFO] checking PracticalEdges/rocket-auth against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPracticalEdges%2Frocket-auth" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PracticalEdges/rocket-auth [INFO] finished tweaking git repo https://github.com/PracticalEdges/rocket-auth [INFO] tweaked toml for git repo https://github.com/PracticalEdges/rocket-auth written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PracticalEdges/rocket-auth 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/PracticalEdges/rocket-auth already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 52dc69488d04c3497a225fff3464a2741824dbad5243457a690da8181b531a8f [INFO] running `Command { std: "docker" "start" "-a" "52dc69488d04c3497a225fff3464a2741824dbad5243457a690da8181b531a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52dc69488d04c3497a225fff3464a2741824dbad5243457a690da8181b531a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52dc69488d04c3497a225fff3464a2741824dbad5243457a690da8181b531a8f", kill_on_drop: false }` [INFO] [stdout] 52dc69488d04c3497a225fff3464a2741824dbad5243457a690da8181b531a8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b561579b866eded079d6376e65f81848056acafde630d56fc8676844c83c398e [INFO] running `Command { std: "docker" "start" "-a" "b561579b866eded079d6376e65f81848056acafde630d56fc8676844c83c398e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling mysqlclient-sys v0.4.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.21 [INFO] [stderr] Checking keyed_priority_queue v0.4.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking diesel v2.2.4 [INFO] [stderr] Checking mysql_async v0.34.2 [INFO] [stderr] Checking diesel-async v0.5.0 [INFO] [stderr] Checking rocket-auth v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 34 ~ let access_token_exists: Result = diesel_async::RunQueryDsl::first(access_token [INFO] [stdout] 35 + .filter(access_token_client_id.eq(provided_client_id_for_process)) [INFO] [stdout] 36 + .filter(access_token_user_id.eq(provided_user_id_for_process)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ let access_token_exists: Result = diesel::RunQueryDsl::first(access_token [INFO] [stdout] 35 + .filter(access_token_client_id.eq(provided_client_id_for_process)) [INFO] [stdout] 36 + .filter(access_token_user_id.eq(provided_user_id_for_process)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 71 ~ diesel_async::RunQueryDsl::execute(diesel::update(crate::schema::access_token::table) [INFO] [stdout] 72 + .filter(access_token_id.eq(&present_access_token.id)) [INFO] [stdout] 73 + .set(( [INFO] [stdout] 74 + db_access_token.eq(&new_access_token), [INFO] [stdout] 75 + access_token_expires_at.eq(current_plus_4_hr), [INFO] [stdout] 76 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 71 ~ diesel::RunQueryDsl::execute(diesel::update(crate::schema::access_token::table) [INFO] [stdout] 72 + .filter(access_token_id.eq(&present_access_token.id)) [INFO] [stdout] 73 + .set(( [INFO] [stdout] 74 + db_access_token.eq(&new_access_token), [INFO] [stdout] 75 + access_token_expires_at.eq(current_plus_4_hr), [INFO] [stdout] 76 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 34 ~ let access_token_exists: Result = diesel_async::RunQueryDsl::first(access_token [INFO] [stdout] 35 + .filter(access_token_client_id.eq(provided_client_id_for_process)) [INFO] [stdout] 36 + .filter(access_token_user_id.eq(provided_user_id_for_process)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ let access_token_exists: Result = diesel::RunQueryDsl::first(access_token [INFO] [stdout] 35 + .filter(access_token_client_id.eq(provided_client_id_for_process)) [INFO] [stdout] 36 + .filter(access_token_user_id.eq(provided_user_id_for_process)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / diesel::update(crate::schema::access_token::table) [INFO] [stdout] 72 | | .filter(access_token_id.eq(&present_access_token.id)) [INFO] [stdout] 73 | | .set(( [INFO] [stdout] 74 | | db_access_token.eq(&new_access_token), [INFO] [stdout] ... | [INFO] [stdout] 77 | | .execute(conn) [INFO] [stdout] 78 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 71 ~ diesel_async::RunQueryDsl::execute(diesel::update(crate::schema::access_token::table) [INFO] [stdout] 72 + .filter(access_token_id.eq(&present_access_token.id)) [INFO] [stdout] 73 + .set(( [INFO] [stdout] 74 + db_access_token.eq(&new_access_token), [INFO] [stdout] 75 + access_token_expires_at.eq(current_plus_4_hr), [INFO] [stdout] 76 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 71 ~ diesel::RunQueryDsl::execute(diesel::update(crate::schema::access_token::table) [INFO] [stdout] 72 + .filter(access_token_id.eq(&present_access_token.id)) [INFO] [stdout] 73 + .set(( [INFO] [stdout] 74 + db_access_token.eq(&new_access_token), [INFO] [stdout] 75 + access_token_expires_at.eq(current_plus_4_hr), [INFO] [stdout] 76 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / diesel::update(crate::schema::access_token::table) [INFO] [stdout] 72 | | .filter(access_token_id.eq(&present_access_token.id)) [INFO] [stdout] 73 | | .set(( [INFO] [stdout] 74 | | db_access_token.eq(&new_access_token), [INFO] [stdout] ... | [INFO] [stdout] 77 | | .execute(conn) [INFO] [stdout] 78 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 107 ~ let client_exists: Result = diesel_async::RunQueryDsl::first(client [INFO] [stdout] 108 + .filter(db_client_id.eq(provided_client_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 107 ~ let client_exists: Result = diesel::RunQueryDsl::first(client [INFO] [stdout] 108 + .filter(db_client_id.eq(provided_client_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 129 ~ let refresh_token_exists: Result = diesel_async::RunQueryDsl::first(refresh_token [INFO] [stdout] 130 + .filter(refresh_token_client_id.eq(provided_client_id)) [INFO] [stdout] 131 + .filter(refresh_token_user_id.eq(provided_user_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 129 ~ let refresh_token_exists: Result = diesel::RunQueryDsl::first(refresh_token [INFO] [stdout] 130 + .filter(refresh_token_client_id.eq(provided_client_id)) [INFO] [stdout] 131 + .filter(refresh_token_user_id.eq(provided_user_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 107 ~ let client_exists: Result = diesel_async::RunQueryDsl::first(client [INFO] [stdout] 108 + .filter(db_client_id.eq(provided_client_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 107 ~ let client_exists: Result = diesel::RunQueryDsl::first(client [INFO] [stdout] 108 + .filter(db_client_id.eq(provided_client_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | .first::(conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 129 ~ let refresh_token_exists: Result = diesel_async::RunQueryDsl::first(refresh_token [INFO] [stdout] 130 + .filter(refresh_token_client_id.eq(provided_client_id)) [INFO] [stdout] 131 + .filter(refresh_token_user_id.eq(provided_user_id)), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 129 ~ let refresh_token_exists: Result = diesel::RunQueryDsl::first(refresh_token [INFO] [stdout] 130 + .filter(refresh_token_client_id.eq(provided_client_id)) [INFO] [stdout] 131 + .filter(refresh_token_user_id.eq(provided_user_id)), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 153 ~ diesel_async::RunQueryDsl::execute(diesel::update(refresh_token.find(token.id)) [INFO] [stdout] 154 + .set(( [INFO] [stdout] 155 + db_refresh_token.eq(encrypted_token), [INFO] [stdout] 156 + refresh_token_expires_at.eq(current_plus_14_days), [INFO] [stdout] 157 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 153 ~ diesel::RunQueryDsl::execute(diesel::update(refresh_token.find(token.id)) [INFO] [stdout] 154 + .set(( [INFO] [stdout] 155 + db_refresh_token.eq(encrypted_token), [INFO] [stdout] 156 + refresh_token_expires_at.eq(current_plus_14_days), [INFO] [stdout] 157 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/checks.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | .execute(conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `UpdateStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 153 ~ diesel_async::RunQueryDsl::execute(diesel::update(refresh_token.find(token.id)) [INFO] [stdout] 154 + .set(( [INFO] [stdout] 155 + db_refresh_token.eq(encrypted_token), [INFO] [stdout] 156 + refresh_token_expires_at.eq(current_plus_14_days), [INFO] [stdout] 157 + )), conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 153 ~ diesel::RunQueryDsl::execute(diesel::update(refresh_token.find(token.id)) [INFO] [stdout] 154 + .set(( [INFO] [stdout] 155 + db_refresh_token.eq(encrypted_token), [INFO] [stdout] 156 + refresh_token_expires_at.eq(current_plus_14_days), [INFO] [stdout] 157 + )), conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .first::(&mut conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 40 ~ let user_exists: Result = diesel_async::RunQueryDsl::first(user [INFO] [stdout] 41 + .filter(email.eq(sign_in_user.email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 40 ~ let user_exists: Result = diesel::RunQueryDsl::first(user [INFO] [stdout] 41 + .filter(email.eq(sign_in_user.email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .first::(&mut conn) [INFO] [stdout] | ^^^^^ multiple `first` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 40 ~ let user_exists: Result = diesel_async::RunQueryDsl::first(user [INFO] [stdout] 41 + .filter(email.eq(sign_in_user.email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 40 ~ let user_exists: Result = diesel::RunQueryDsl::first(user [INFO] [stdout] 41 + .filter(email.eq(sign_in_user.email)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 166 ~ let insert_access_token = diesel::RunQueryDsl::execute(diesel::insert_into(crate::schema::access_token::table) [INFO] [stdout] 167 + .values(&new_access_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 166 ~ let insert_access_token = diesel_async::RunQueryDsl::execute(diesel::insert_into(crate::schema::access_token::table) [INFO] [stdout] 167 + .values(&new_access_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 166 ~ let insert_access_token = diesel::RunQueryDsl::execute(diesel::insert_into(crate::schema::access_token::table) [INFO] [stdout] 167 + .values(&new_access_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 166 ~ let insert_access_token = diesel_async::RunQueryDsl::execute(diesel::insert_into(crate::schema::access_token::table) [INFO] [stdout] 167 + .values(&new_access_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | let insert_access_token = diesel::insert_into(crate::schema::access_token::table) [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 167 | | .values(&new_access_token) [INFO] [stdout] 168 | | .execute(&mut conn) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | let insert_access_token = diesel::insert_into(crate::schema::access_token::table) [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 167 | | .values(&new_access_token) [INFO] [stdout] 168 | | .execute(&mut conn) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 186 ~ let insert_refresh_token = diesel::RunQueryDsl::execute(diesel::insert_into(crate::schema::refresh_token::table) [INFO] [stdout] 187 + .values(&new_refresh_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 186 ~ let insert_refresh_token = diesel_async::RunQueryDsl::execute(diesel::insert_into(crate::schema::refresh_token::table) [INFO] [stdout] 187 + .values(&new_refresh_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 186 ~ let insert_refresh_token = diesel::RunQueryDsl::execute(diesel::insert_into(crate::schema::refresh_token::table) [INFO] [stdout] 187 + .values(&new_refresh_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 186 ~ let insert_refresh_token = diesel_async::RunQueryDsl::execute(diesel::insert_into(crate::schema::refresh_token::table) [INFO] [stdout] 187 + .values(&new_refresh_token), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | let insert_refresh_token = diesel::insert_into(crate::schema::refresh_token::table) [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 187 | | .values(&new_refresh_token) [INFO] [stdout] 188 | | .execute(&mut conn) [INFO] [stdout] 189 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signin/sign_in.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | let insert_refresh_token = diesel::insert_into(crate::schema::refresh_token::table) [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 187 | | .values(&new_refresh_token) [INFO] [stdout] 188 | | .execute(&mut conn) [INFO] [stdout] 189 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .first(connection) [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] 34 ~ let tenant_exists: Result = diesel_async::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_user_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ let tenant_exists: Result = diesel::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_user_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .first(connection) [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] 34 ~ let tenant_exists: Result = diesel_async::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_user_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ let tenant_exists: Result = diesel::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_user_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | .first(connection) [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] 57 ~ let user_exists: Result = diesel_async::RunQueryDsl::first(user [INFO] [stdout] 58 + .filter(tenant_id.eq(new_user_create.tenant_id)) [INFO] [stdout] 59 + .filter(user_name.eq(new_user_create.user_name)) [INFO] [stdout] 60 + .filter(email.eq(new_user_create.email)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 ~ let user_exists: Result = diesel::RunQueryDsl::first(user [INFO] [stdout] 58 + .filter(tenant_id.eq(new_user_create.tenant_id)) [INFO] [stdout] 59 + .filter(user_name.eq(new_user_create.user_name)) [INFO] [stdout] 60 + .filter(email.eq(new_user_create.email)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | .first(connection) [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] 57 ~ let user_exists: Result = diesel_async::RunQueryDsl::first(user [INFO] [stdout] 58 + .filter(tenant_id.eq(new_user_create.tenant_id)) [INFO] [stdout] 59 + .filter(user_name.eq(new_user_create.user_name)) [INFO] [stdout] 60 + .filter(email.eq(new_user_create.email)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 ~ let user_exists: Result = diesel::RunQueryDsl::first(user [INFO] [stdout] 58 + .filter(tenant_id.eq(new_user_create.tenant_id)) [INFO] [stdout] 59 + .filter(user_name.eq(new_user_create.user_name)) [INFO] [stdout] 60 + .filter(email.eq(new_user_create.email)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | .execute(connection) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 69 ~ let insert_result: Result = diesel::RunQueryDsl::execute(diesel::insert_into(user) [INFO] [stdout] 70 + .values(&new_user), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 ~ let insert_result: Result = diesel_async::RunQueryDsl::execute(diesel::insert_into(user) [INFO] [stdout] 70 + .values(&new_user), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | let insert_result: Result = diesel::insert_into(user) [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 70 | | .values(&new_user) [INFO] [stdout] 71 | | .execute(connection) [INFO] [stdout] 72 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | .execute(connection) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 69 ~ let insert_result: Result = diesel::RunQueryDsl::execute(diesel::insert_into(user) [INFO] [stdout] 70 + .values(&new_user), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 69 ~ let insert_result: Result = diesel_async::RunQueryDsl::execute(diesel::insert_into(user) [INFO] [stdout] 70 + .values(&new_user), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/auth/signup/create_user.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | let insert_result: Result = diesel::insert_into(user) [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 70 | | .values(&new_user) [INFO] [stdout] 71 | | .execute(connection) [INFO] [stdout] 72 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/client/create_client.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .first(connection) [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] 34 ~ let tenant_exists: Result = diesel_async::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_client_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ let tenant_exists: Result = diesel::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_client_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/client/create_client.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .first(connection) [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] 34 ~ let tenant_exists: Result = diesel_async::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_client_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ let tenant_exists: Result = diesel::RunQueryDsl::first(tenant [INFO] [stdout] 35 + .filter(id.eq(new_client_create.tenant_id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/client/create_client.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | .execute(connection) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 52 ~ let insert_result: Result = diesel::RunQueryDsl::execute(diesel::insert_into(client) [INFO] [stdout] 53 + .values(&new_client), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 52 ~ let insert_result: Result = diesel_async::RunQueryDsl::execute(diesel::insert_into(client) [INFO] [stdout] 53 + .values(&new_client), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/client/create_client.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | let insert_result: Result = diesel::insert_into(client) [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 53 | | .values(&new_client) [INFO] [stdout] 54 | | .execute(connection) [INFO] [stdout] 55 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/controllers/client/create_client.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | .execute(connection) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 52 ~ let insert_result: Result = diesel::RunQueryDsl::execute(diesel::insert_into(client) [INFO] [stdout] 53 + .values(&new_client), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 52 ~ let insert_result: Result = diesel_async::RunQueryDsl::execute(diesel::insert_into(client) [INFO] [stdout] 53 + .values(&new_client), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/client/create_client.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | let insert_result: Result = diesel::insert_into(client) [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 53 | | .values(&new_client) [INFO] [stdout] 54 | | .execute(connection) [INFO] [stdout] 55 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-auth` (bin "rocket-auth") due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-auth` (bin "rocket-auth" test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "b561579b866eded079d6376e65f81848056acafde630d56fc8676844c83c398e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b561579b866eded079d6376e65f81848056acafde630d56fc8676844c83c398e", kill_on_drop: false }` [INFO] [stdout] b561579b866eded079d6376e65f81848056acafde630d56fc8676844c83c398e