[INFO] cloning repository https://github.com/Dreaming-Codes/role-channel-blacklist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dreaming-Codes/role-channel-blacklist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDreaming-Codes%2Frole-channel-blacklist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDreaming-Codes%2Frole-channel-blacklist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9b78769f9ac731ad77dd5c83e48c4563a91e9a4 [INFO] checking Dreaming-Codes/role-channel-blacklist against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDreaming-Codes%2Frole-channel-blacklist" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Dreaming-Codes/role-channel-blacklist [INFO] finished tweaking git repo https://github.com/Dreaming-Codes/role-channel-blacklist [INFO] tweaked toml for git repo https://github.com/Dreaming-Codes/role-channel-blacklist written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dreaming-Codes/role-channel-blacklist 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/Dreaming-Codes/role-channel-blacklist 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 304792707c7bb0b7325a00902902497d4de0a6a8319e5f5b23c8179b91ca7750 [INFO] running `Command { std: "docker" "start" "-a" "304792707c7bb0b7325a00902902497d4de0a6a8319e5f5b23c8179b91ca7750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "304792707c7bb0b7325a00902902497d4de0a6a8319e5f5b23c8179b91ca7750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304792707c7bb0b7325a00902902497d4de0a6a8319e5f5b23c8179b91ca7750", kill_on_drop: false }` [INFO] [stdout] 304792707c7bb0b7325a00902902497d4de0a6a8319e5f5b23c8179b91ca7750 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87dcab3445dd84927dcb11816228f095eb801a12ef926faede28aeb1a2dbc143 [INFO] running `Command { std: "docker" "start" "-a" "87dcab3445dd84927dcb11816228f095eb801a12ef926faede28aeb1a2dbc143", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Compiling toml v0.9.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling migrations_internals v2.2.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking bb8 v0.9.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking diesel v2.2.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking diesel-async v0.6.1 [INFO] [stderr] Checking poise v0.6.1 [INFO] [stderr] Checking role-channel-blacklist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | .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] 107 ~ diesel::RunQueryDsl::execute(diesel::insert_into(blacklist_entries::table) [INFO] [stdout] 108 + .values(&new_entry) [INFO] [stdout] 109 + .on_conflict((blacklist_entries::channel_id, blacklist_entries::role_id)) [INFO] [stdout] 110 + .do_update() [INFO] [stdout] 111 + .set(blacklist_entries::custom_message.eq(&new_entry.custom_message)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 107 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(blacklist_entries::table) [INFO] [stdout] 108 + .values(&new_entry) [INFO] [stdout] 109 + .on_conflict((blacklist_entries::channel_id, blacklist_entries::role_id)) [INFO] [stdout] 110 + .do_update() [INFO] [stdout] 111 + .set(blacklist_entries::custom_message.eq(&new_entry.custom_message)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | .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] 126 ~ diesel::RunQueryDsl::execute(diesel::insert_into(exception_entries::table) [INFO] [stdout] 127 + .values(&new_entry) [INFO] [stdout] 128 + .on_conflict_do_nothing(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 126 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(exception_entries::table) [INFO] [stdout] 127 + .values(&new_entry) [INFO] [stdout] 128 + .on_conflict_do_nothing(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | .first::<(i64, Option)>(&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] 140 ~ let result = diesel_async::RunQueryDsl::first(blacklist_entries::table [INFO] [stdout] 141 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 142 + .filter(blacklist_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 143 + .select(( [INFO] [stdout] 144 + blacklist_entries::role_id, [INFO] [stdout] 145 + blacklist_entries::custom_message, [INFO] [stdout] 146 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 140 ~ let result = diesel::RunQueryDsl::first(blacklist_entries::table [INFO] [stdout] 141 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 142 + .filter(blacklist_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 143 + .select(( [INFO] [stdout] 144 + blacklist_entries::role_id, [INFO] [stdout] 145 + blacklist_entries::custom_message, [INFO] [stdout] 146 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let result = blacklist_entries::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 142 | | .filter(blacklist_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 143 | | .select(( [INFO] [stdout] ... | [INFO] [stdout] 147 | | .first::<(i64, Option)>(&mut conn) [INFO] [stdout] 148 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .get_result::(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 161 ~ diesel_async::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 162 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 163 + .filter(exception_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 164 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 161 ~ diesel::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 162 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 163 + .filter(exception_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 164 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | / exception_entries::table [INFO] [stdout] 162 | | .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 163 | | .filter(exception_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 164 | | .count() [INFO] [stdout] 165 | | .get_result::(&mut conn) [INFO] [stdout] 166 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 174 ~ diesel::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 175 + blacklist_entries::table [INFO] [stdout] 176 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 177 + .filter(blacklist_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 178 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 174 ~ diesel_async::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 175 + blacklist_entries::table [INFO] [stdout] 176 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 177 + .filter(blacklist_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 178 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 188 ~ diesel::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 189 + exception_entries::table [INFO] [stdout] 190 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 191 + .filter(exception_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 192 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 188 ~ diesel_async::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 189 + exception_entries::table [INFO] [stdout] 190 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 191 + .filter(exception_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 192 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | .get_result::(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 204 ~ diesel_async::RunQueryDsl::get_result(blacklist_entries::table [INFO] [stdout] 205 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 206 + .filter(blacklist_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 207 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 204 ~ diesel::RunQueryDsl::get_result(blacklist_entries::table [INFO] [stdout] 205 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 206 + .filter(blacklist_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 207 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / blacklist_entries::table [INFO] [stdout] 205 | | .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 206 | | .filter(blacklist_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 207 | | .count() [INFO] [stdout] 208 | | .get_result::(&mut conn) [INFO] [stdout] 209 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | .get_result::(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 219 ~ diesel_async::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 220 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 221 + .filter(exception_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 222 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 219 ~ diesel::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 220 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 221 + .filter(exception_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 222 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / exception_entries::table [INFO] [stdout] 220 | | .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 221 | | .filter(exception_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 222 | | .count() [INFO] [stdout] 223 | | .get_result::(&mut conn) [INFO] [stdout] 224 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | .load::<(i64, Option)>(&mut conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 232 ~ let results = diesel_async::RunQueryDsl::load(blacklist_entries::table [INFO] [stdout] 233 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 234 + .select(( [INFO] [stdout] 235 + blacklist_entries::role_id, [INFO] [stdout] 236 + blacklist_entries::custom_message, [INFO] [stdout] 237 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 232 ~ let results = diesel::RunQueryDsl::load(blacklist_entries::table [INFO] [stdout] 233 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 234 + .select(( [INFO] [stdout] 235 + blacklist_entries::role_id, [INFO] [stdout] 236 + blacklist_entries::custom_message, [INFO] [stdout] 237 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let results = blacklist_entries::table [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(results [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 232 | let results: /* Type */ = blacklist_entries::table [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/main.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | .map(|(role_id, custom_message)| (role_id as u64, custom_message.unwrap_or_default())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 243 | .map(|(role_id, custom_message): (_, _)| (role_id as u64, custom_message.unwrap_or_default())) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | .load::(&mut conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 250 ~ let results = diesel_async::RunQueryDsl::load(exception_entries::table [INFO] [stdout] 251 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 252 + .select(exception_entries::role_id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 250 ~ let results = diesel::RunQueryDsl::load(exception_entries::table [INFO] [stdout] 251 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 252 + .select(exception_entries::role_id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let results = exception_entries::table [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | Ok(results.into_iter().map(|role_id| role_id as u64).collect()) [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 250 | let results: /* Type */ = exception_entries::table [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | .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] 107 ~ diesel::RunQueryDsl::execute(diesel::insert_into(blacklist_entries::table) [INFO] [stdout] 108 + .values(&new_entry) [INFO] [stdout] 109 + .on_conflict((blacklist_entries::channel_id, blacklist_entries::role_id)) [INFO] [stdout] 110 + .do_update() [INFO] [stdout] 111 + .set(blacklist_entries::custom_message.eq(&new_entry.custom_message)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 107 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(blacklist_entries::table) [INFO] [stdout] 108 + .values(&new_entry) [INFO] [stdout] 109 + .on_conflict((blacklist_entries::channel_id, blacklist_entries::role_id)) [INFO] [stdout] 110 + .do_update() [INFO] [stdout] 111 + .set(blacklist_entries::custom_message.eq(&new_entry.custom_message)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | .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] 126 ~ diesel::RunQueryDsl::execute(diesel::insert_into(exception_entries::table) [INFO] [stdout] 127 + .values(&new_entry) [INFO] [stdout] 128 + .on_conflict_do_nothing(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 126 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(exception_entries::table) [INFO] [stdout] 127 + .values(&new_entry) [INFO] [stdout] 128 + .on_conflict_do_nothing(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | .first::<(i64, Option)>(&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] 140 ~ let result = diesel_async::RunQueryDsl::first(blacklist_entries::table [INFO] [stdout] 141 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 142 + .filter(blacklist_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 143 + .select(( [INFO] [stdout] 144 + blacklist_entries::role_id, [INFO] [stdout] 145 + blacklist_entries::custom_message, [INFO] [stdout] 146 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 140 ~ let result = diesel::RunQueryDsl::first(blacklist_entries::table [INFO] [stdout] 141 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 142 + .filter(blacklist_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 143 + .select(( [INFO] [stdout] 144 + blacklist_entries::role_id, [INFO] [stdout] 145 + blacklist_entries::custom_message, [INFO] [stdout] 146 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let result = blacklist_entries::table [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 142 | | .filter(blacklist_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 143 | | .select(( [INFO] [stdout] ... | [INFO] [stdout] 147 | | .first::<(i64, Option)>(&mut conn) [INFO] [stdout] 148 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .get_result::(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 161 ~ diesel_async::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 162 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 163 + .filter(exception_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 164 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 161 ~ diesel::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 162 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 163 + .filter(exception_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 164 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | / exception_entries::table [INFO] [stdout] 162 | | .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 163 | | .filter(exception_entries::role_id.eq_any(&role_ids_i64)) [INFO] [stdout] 164 | | .count() [INFO] [stdout] 165 | | .get_result::(&mut conn) [INFO] [stdout] 166 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 174 ~ diesel::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 175 + blacklist_entries::table [INFO] [stdout] 176 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 177 + .filter(blacklist_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 178 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 174 ~ diesel_async::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 175 + blacklist_entries::table [INFO] [stdout] 176 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 177 + .filter(blacklist_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 178 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | .execute(&mut conn) [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 188 ~ diesel::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 189 + exception_entries::table [INFO] [stdout] 190 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 191 + .filter(exception_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 192 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 188 ~ diesel_async::RunQueryDsl::execute(diesel::delete( [INFO] [stdout] 189 + exception_entries::table [INFO] [stdout] 190 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 191 + .filter(exception_entries::role_id.eq(role_id as i64)), [INFO] [stdout] 192 + ), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | .get_result::(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 204 ~ diesel_async::RunQueryDsl::get_result(blacklist_entries::table [INFO] [stdout] 205 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 206 + .filter(blacklist_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 207 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 204 ~ diesel::RunQueryDsl::get_result(blacklist_entries::table [INFO] [stdout] 205 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 206 + .filter(blacklist_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 207 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / blacklist_entries::table [INFO] [stdout] 205 | | .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 206 | | .filter(blacklist_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 207 | | .count() [INFO] [stdout] 208 | | .get_result::(&mut conn) [INFO] [stdout] 209 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | .get_result::(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 219 ~ diesel_async::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 220 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 221 + .filter(exception_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 222 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 219 ~ diesel::RunQueryDsl::get_result(exception_entries::table [INFO] [stdout] 220 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 221 + .filter(exception_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 222 + .count(), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / exception_entries::table [INFO] [stdout] 220 | | .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 221 | | .filter(exception_entries::role_id.eq(role_id as i64)) [INFO] [stdout] 222 | | .count() [INFO] [stdout] 223 | | .get_result::(&mut conn) [INFO] [stdout] 224 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | .load::<(i64, Option)>(&mut conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 232 ~ let results = diesel_async::RunQueryDsl::load(blacklist_entries::table [INFO] [stdout] 233 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 234 + .select(( [INFO] [stdout] 235 + blacklist_entries::role_id, [INFO] [stdout] 236 + blacklist_entries::custom_message, [INFO] [stdout] 237 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 232 ~ let results = diesel::RunQueryDsl::load(blacklist_entries::table [INFO] [stdout] 233 + .filter(blacklist_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 234 + .select(( [INFO] [stdout] 235 + blacklist_entries::role_id, [INFO] [stdout] 236 + blacklist_entries::custom_message, [INFO] [stdout] 237 + )), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let results = blacklist_entries::table [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(results [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 232 | let results: /* Type */ = blacklist_entries::table [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/main.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | .map(|(role_id, custom_message)| (role_id as u64, custom_message.unwrap_or_default())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 243 | .map(|(role_id, custom_message): (_, _)| (role_id as u64, custom_message.unwrap_or_default())) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | .load::(&mut conn) [INFO] [stdout] | ^^^^ multiple `load` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 250 ~ let results = diesel_async::RunQueryDsl::load(exception_entries::table [INFO] [stdout] 251 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 252 + .select(exception_entries::role_id), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 250 ~ let results = diesel::RunQueryDsl::load(exception_entries::table [INFO] [stdout] 251 + .filter(exception_entries::channel_id.eq(channel_id as i64)) [INFO] [stdout] 252 + .select(exception_entries::role_id), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let results = exception_entries::table [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | Ok(results.into_iter().map(|role_id| role_id as u64).collect()) [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type [INFO] [stdout] | [INFO] [stdout] 250 | let results: /* Type */ = exception_entries::table [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] [stderr] error: could not compile `role-channel-blacklist` (bin "role-channel-blacklist") due to 17 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 `role-channel-blacklist` (bin "role-channel-blacklist" test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "87dcab3445dd84927dcb11816228f095eb801a12ef926faede28aeb1a2dbc143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87dcab3445dd84927dcb11816228f095eb801a12ef926faede28aeb1a2dbc143", kill_on_drop: false }` [INFO] [stdout] 87dcab3445dd84927dcb11816228f095eb801a12ef926faede28aeb1a2dbc143