[INFO] cloning repository https://github.com/skaarfundgandr/rust_orm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skaarfundgandr/rust_orm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskaarfundgandr%2Frust_orm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskaarfundgandr%2Frust_orm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 332916b2ec674e0a507c60af81a3fe0353b5fb0e [INFO] checking skaarfundgandr/rust_orm against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskaarfundgandr%2Frust_orm" "/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/skaarfundgandr/rust_orm [INFO] finished tweaking git repo https://github.com/skaarfundgandr/rust_orm [INFO] tweaked toml for git repo https://github.com/skaarfundgandr/rust_orm written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skaarfundgandr/rust_orm 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/skaarfundgandr/rust_orm 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-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] 32a523fd203dfb295d167bdb9305f09618f6da8fb372b017877c518564cd6b72 [INFO] running `Command { std: "docker" "start" "-a" "32a523fd203dfb295d167bdb9305f09618f6da8fb372b017877c518564cd6b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a523fd203dfb295d167bdb9305f09618f6da8fb372b017877c518564cd6b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a523fd203dfb295d167bdb9305f09618f6da8fb372b017877c518564cd6b72", kill_on_drop: false }` [INFO] [stdout] 32a523fd203dfb295d167bdb9305f09618f6da8fb372b017877c518564cd6b72 [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] 6ff929a09c5007737785323b251d5e5279e3207e493d0a806cabb4d2d8fcb1a2 [INFO] running `Command { std: "docker" "start" "-a" "6ff929a09c5007737785323b251d5e5279e3207e493d0a806cabb4d2d8fcb1a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling mysql_common v0.35.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking keyed_priority_queue v0.4.2 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking lru v0.14.0 [INFO] [stderr] Checking sdd v3.0.9 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking twox-hash v2.1.1 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking scoped-futures v0.1.4 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking deadpool v0.12.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking diesel v2.2.12 [INFO] [stderr] Checking mysql_async v0.36.1 [INFO] [stderr] Checking diesel-async v0.6.1 [INFO] [stderr] Checking rust_orm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .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] 17 ~ let res = diesel_async::RunQueryDsl::load(products [INFO] [stdout] 18 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 17 ~ let res = diesel::RunQueryDsl::load(products [INFO] [stdout] 18 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .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] 36 ~ let res = diesel_async::RunQueryDsl::first(products [INFO] [stdout] 37 + .filter(product_name.eq(name)) [INFO] [stdout] 38 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 36 ~ let res = diesel::RunQueryDsl::first(products [INFO] [stdout] 37 + .filter(product_name.eq(name)) [INFO] [stdout] 38 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .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] 17 ~ let res = diesel_async::RunQueryDsl::load(products [INFO] [stdout] 18 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 17 ~ let res = diesel::RunQueryDsl::load(products [INFO] [stdout] 18 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | .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] 57 ~ let product = diesel_async::RunQueryDsl::first(products [INFO] [stdout] 58 + .find(id) [INFO] [stdout] 59 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 ~ let product = diesel::RunQueryDsl::first(products [INFO] [stdout] 58 + .find(id) [INFO] [stdout] 59 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .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] 36 ~ let res = diesel_async::RunQueryDsl::first(products [INFO] [stdout] 37 + .filter(product_name.eq(name)) [INFO] [stdout] 38 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 36 ~ let res = diesel::RunQueryDsl::first(products [INFO] [stdout] 37 + .filter(product_name.eq(name)) [INFO] [stdout] 38 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .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] 82 ~ diesel::RunQueryDsl::execute(diesel::insert_into(products::table) [INFO] [stdout] 83 + .values(&new_product), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 82 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(products::table) [INFO] [stdout] 83 + .values(&new_product), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | .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] 57 ~ let product = diesel_async::RunQueryDsl::first(products [INFO] [stdout] 58 + .find(id) [INFO] [stdout] 59 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 57 ~ let product = diesel::RunQueryDsl::first(products [INFO] [stdout] 58 + .find(id) [INFO] [stdout] 59 + .select(Product::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | .execute(connection) [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] 105 ~ let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::update(products.find(id)) [INFO] [stdout] 106 + .set(&update_form), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 105 ~ let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::update(products.find(id)) [INFO] [stdout] 106 + .set(&update_form), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .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] 82 ~ diesel::RunQueryDsl::execute(diesel::insert_into(products::table) [INFO] [stdout] 83 + .values(&new_product), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 82 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(products::table) [INFO] [stdout] 83 + .values(&new_product), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | .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 `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] 133 - let rows_affected: usize = diesel::delete(products.find(id)) [INFO] [stdout] 134 - .execute(connection) [INFO] [stdout] 133 + let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::delete(products.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 133 - let rows_affected: usize = diesel::delete(products.find(id)) [INFO] [stdout] 134 - .execute(connection) [INFO] [stdout] 133 + let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::delete(products.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | .execute(connection) [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] 105 ~ let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::update(products.find(id)) [INFO] [stdout] 106 + .set(&update_form), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 105 ~ let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::update(products.find(id)) [INFO] [stdout] 106 + .set(&update_form), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | diesel::delete(products).execute(connection).await?; [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 161 - diesel::delete(products).execute(connection).await?; [INFO] [stdout] 161 + diesel::RunQueryDsl::execute(diesel::delete(products), connection).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 161 - diesel::delete(products).execute(connection).await?; [INFO] [stdout] 161 + diesel_async::RunQueryDsl::execute(diesel::delete(products), connection).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | .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 `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] 133 - let rows_affected: usize = diesel::delete(products.find(id)) [INFO] [stdout] 134 - .execute(connection) [INFO] [stdout] 133 + let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::delete(products.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 133 - let rows_affected: usize = diesel::delete(products.find(id)) [INFO] [stdout] 134 - .execute(connection) [INFO] [stdout] 133 + let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::delete(products.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .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] 19 ~ let inventory: Vec = match diesel_async::RunQueryDsl::load(Inventory::belonging_to(&all_products) [INFO] [stdout] 20 + .select(Inventory::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 19 ~ let inventory: Vec = match diesel::RunQueryDsl::load(Inventory::belonging_to(&all_products) [INFO] [stdout] 20 + .select(Inventory::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/product_service.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | diesel::delete(products).execute(connection).await?; [INFO] [stdout] | ^^^^^^^ multiple `execute` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `DeleteStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 161 - diesel::delete(products).execute(connection).await?; [INFO] [stdout] 161 + diesel::RunQueryDsl::execute(diesel::delete(products), connection).await?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 161 - diesel::delete(products).execute(connection).await?; [INFO] [stdout] 161 + diesel_async::RunQueryDsl::execute(diesel::delete(products), connection).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | .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] 48 ~ let inventory = diesel_async::RunQueryDsl::first(inventory::table [INFO] [stdout] 49 + .filter(inventory::product_id.eq(product_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 48 ~ let inventory = diesel::RunQueryDsl::first(inventory::table [INFO] [stdout] 49 + .filter(inventory::product_id.eq(product_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .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] 19 ~ let inventory: Vec = match diesel_async::RunQueryDsl::load(Inventory::belonging_to(&all_products) [INFO] [stdout] 20 + .select(Inventory::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 19 ~ let inventory: Vec = match diesel::RunQueryDsl::load(Inventory::belonging_to(&all_products) [INFO] [stdout] 20 + .select(Inventory::as_select()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | .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] 68 ~ let inventory = diesel_async::RunQueryDsl::first(inventory::table [INFO] [stdout] 69 + .filter(inventory::inventory_id.eq(inventory_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 68 ~ let inventory = diesel::RunQueryDsl::first(inventory::table [INFO] [stdout] 69 + .filter(inventory::inventory_id.eq(inventory_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | .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] 90 ~ diesel::RunQueryDsl::execute(diesel::insert_into(inventory::table) [INFO] [stdout] 91 + .values(&new_inventory), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 90 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(inventory::table) [INFO] [stdout] 91 + .values(&new_inventory), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | .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] 48 ~ let inventory = diesel_async::RunQueryDsl::first(inventory::table [INFO] [stdout] 49 + .filter(inventory::product_id.eq(product_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 48 ~ let inventory = diesel::RunQueryDsl::first(inventory::table [INFO] [stdout] 49 + .filter(inventory::product_id.eq(product_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | .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] 68 ~ let inventory = diesel_async::RunQueryDsl::first(inventory::table [INFO] [stdout] 69 + .filter(inventory::inventory_id.eq(inventory_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 68 ~ let inventory = diesel::RunQueryDsl::first(inventory::table [INFO] [stdout] 69 + .filter(inventory::inventory_id.eq(inventory_id)), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | .execute(connection) [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] 115 ~ let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::update(inventory.find(id)) [INFO] [stdout] 116 + .set(inventory_form), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 115 ~ let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::update(inventory.find(id)) [INFO] [stdout] 116 + .set(inventory_form), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | .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] 90 ~ diesel::RunQueryDsl::execute(diesel::insert_into(inventory::table) [INFO] [stdout] 91 + .values(&new_inventory), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 90 ~ diesel_async::RunQueryDsl::execute(diesel::insert_into(inventory::table) [INFO] [stdout] 91 + .values(&new_inventory), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | .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 `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] 146 - let rows_affected: usize = diesel::delete(inventory.find(id)) [INFO] [stdout] 147 - .execute(connection) [INFO] [stdout] 146 + let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::delete(inventory.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 146 - let rows_affected: usize = diesel::delete(inventory.find(id)) [INFO] [stdout] 147 - .execute(connection) [INFO] [stdout] 146 + let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::delete(inventory.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | .execute(connection) [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] 115 ~ let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::update(inventory.find(id)) [INFO] [stdout] 116 + .set(inventory_form), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 115 ~ let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::update(inventory.find(id)) [INFO] [stdout] 116 + .set(inventory_form), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | .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 `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] 175 - diesel::delete(inventory) [INFO] [stdout] 176 - .execute(connection) [INFO] [stdout] 175 + diesel::RunQueryDsl::execute(diesel::delete(inventory), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 175 - diesel::delete(inventory) [INFO] [stdout] 176 - .execute(connection) [INFO] [stdout] 175 + diesel_async::RunQueryDsl::execute(diesel::delete(inventory), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | .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 `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] 146 - let rows_affected: usize = diesel::delete(inventory.find(id)) [INFO] [stdout] 147 - .execute(connection) [INFO] [stdout] 146 + let rows_affected: usize = diesel::RunQueryDsl::execute(diesel::delete(inventory.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 146 - let rows_affected: usize = diesel::delete(inventory.find(id)) [INFO] [stdout] 147 - .execute(connection) [INFO] [stdout] 146 + let rows_affected: usize = diesel_async::RunQueryDsl::execute(diesel::delete(inventory.find(id)), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/services/inventory_service.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | .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 `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] 175 - diesel::delete(inventory) [INFO] [stdout] 176 - .execute(connection) [INFO] [stdout] 175 + diesel::RunQueryDsl::execute(diesel::delete(inventory), connection) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 175 - diesel::delete(inventory) [INFO] [stdout] 176 - .execute(connection) [INFO] [stdout] 175 + diesel_async::RunQueryDsl::execute(diesel::delete(inventory), connection) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_orm` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_orm` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "6ff929a09c5007737785323b251d5e5279e3207e493d0a806cabb4d2d8fcb1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff929a09c5007737785323b251d5e5279e3207e493d0a806cabb4d2d8fcb1a2", kill_on_drop: false }` [INFO] [stdout] 6ff929a09c5007737785323b251d5e5279e3207e493d0a806cabb4d2d8fcb1a2