[INFO] cloning repository https://github.com/macroexpansion/bigchaindb-token
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/macroexpansion/bigchaindb-token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacroexpansion%2Fbigchaindb-token", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacroexpansion%2Fbigchaindb-token'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c14e1740a359f0081449b14002e98da0ce29aff
[INFO] checking macroexpansion/bigchaindb-token against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacroexpansion%2Fbigchaindb-token" "/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/macroexpansion/bigchaindb-token
[INFO] finished tweaking git repo https://github.com/macroexpansion/bigchaindb-token
[INFO] tweaked toml for git repo https://github.com/macroexpansion/bigchaindb-token written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/macroexpansion/bigchaindb-token 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/macroexpansion/bigchaindb-token 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] 1f87ff32d5a1e17e92a0370d5eb9e9b46d27629b2725926c9b82a633dd506ca8
[INFO] running `Command { std: "docker" "start" "-a" "1f87ff32d5a1e17e92a0370d5eb9e9b46d27629b2725926c9b82a633dd506ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f87ff32d5a1e17e92a0370d5eb9e9b46d27629b2725926c9b82a633dd506ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f87ff32d5a1e17e92a0370d5eb9e9b46d27629b2725926c9b82a633dd506ca8", kill_on_drop: false }`
[INFO] [stdout] 1f87ff32d5a1e17e92a0370d5eb9e9b46d27629b2725926c9b82a633dd506ca8
[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] 1472e4104ecd631baaa40da5934d0c19295feacb3d2bfe10c7dc10cd44715cce
[INFO] running `Command { std: "docker" "start" "-a" "1472e4104ecd631baaa40da5934d0c19295feacb3d2bfe10c7dc10cd44715cce", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling async-trait v0.1.75
[INFO] [stderr]     Checking unicode-bidi v0.3.14
[INFO] [stderr]     Checking der v0.7.8
[INFO] [stderr]     Checking cpufeatures v0.2.11
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling syn v2.0.47
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling axum-core v0.4.1
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling axum v0.7.2
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]     Checking finl_unicode v1.2.0
[INFO] [stderr]    Compiling winnow v0.5.30
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking stringprep v0.1.4
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling tweetnacl-sys v0.1.5
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]     Checking postgres-protocol v0.6.6
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling shellexpand v3.1.0
[INFO] [stderr]    Compiling rust-embed-utils v8.1.0
[INFO] [stderr]     Checking p384 v0.13.0
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.51
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.1.0
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking anstream v0.6.12
[INFO] [stderr]    Compiling utoipa-swagger-ui v5.0.0
[INFO] [stderr]     Checking postgres-types v0.2.6
[INFO] [stderr]     Checking base64-url v2.0.2
[INFO] [stderr]     Checking whoami v1.4.1
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking iana-time-zone v0.1.59
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking bs58 v0.5.0
[INFO] [stderr]     Checking strsim v0.11.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking ring-compat v0.8.0
[INFO] [stderr]     Checking clap_builder v4.5.1
[INFO] [stderr]     Checking chrono v0.4.32
[INFO] [stderr]     Checking tweetnacl v0.4.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking scoped-futures v0.1.3
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]    Compiling bigchaindb-token v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]     Checking tokio v1.35.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]    Compiling utoipa-gen v4.1.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling asn1_derive v0.15.5
[INFO] [stderr]    Compiling diesel_derives v2.1.2
[INFO] [stderr]    Compiling rust-embed-impl v8.1.0
[INFO] [stderr]     Checking asn1 v0.15.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.51
[INFO] [stderr]     Checking rust-embed v8.1.0
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]     Checking http-body-util v0.1.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking tower-http v0.5.0
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking bb8 v0.8.1
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking tokio-postgres v0.7.10
[INFO] [stderr]     Checking clap v4.5.1
[INFO] [stderr]     Checking diesel v2.1.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking toml_datetime v0.6.5
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking serde_path_to_error v0.1.14
[INFO] [stderr]     Checking crypto-conditions v0.1.0 (https://github.com/macroexpansion/bigchaindb-rs?branch=main#aac06509)
[INFO] [stderr]     Checking h2 v0.4.0
[INFO] [stderr]     Checking h2 v0.3.22
[INFO] [stderr]     Checking toml_edit v0.19.15
[INFO] [stderr]     Checking utoipa v4.1.0
[INFO] [stderr]     Checking toml v0.7.8
[INFO] [stderr]     Checking migrations_internals v2.1.0
[INFO] [stderr]     Checking redis v0.24.0
[INFO] [stderr]    Compiling migrations_macros v2.1.0
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper v1.1.0
[INFO] [stderr]     Checking hyper-util v0.1.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.23
[INFO] [stderr]     Checking bigchaindb v0.1.0 (https://github.com/macroexpansion/bigchaindb-rs?branch=main#aac06509)
[INFO] [stderr]     Checking utoipa-rapidoc v2.0.0
[INFO] [stderr]     Checking utoipa-redoc v2.0.0
[INFO] [stderr]     Checking diesel-async v0.4.1
[INFO] [stderr]     Checking diesel_migrations v2.1.0
[INFO] [stdout] warning: unused import: `Repo`
[INFO] [stdout]  --> src/state.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     modules::{Repo, Service},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Repo`
[INFO] [stdout]  --> src/state.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     modules::{Repo, Service},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/edge/service.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 30 ~         let edge = diesel_async::RunQueryDsl::first(dsl::edges_wallets
[INFO] [stdout] 31 +             .filter(model::EdgeWallet::with_edge_id(edge_id))
[INFO] [stdout] 32 +             .select(model::EdgeWallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 30 ~         let edge = diesel::RunQueryDsl::first(dsl::edges_wallets
[INFO] [stdout] 31 +             .filter(model::EdgeWallet::with_edge_id(edge_id))
[INFO] [stdout] 32 +             .select(model::EdgeWallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/edge/service.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |             query.get_result(conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 55 -             query.get_result(conn).await?
[INFO] [stdout] 55 +             diesel::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 55 -             query.get_result(conn).await?
[INFO] [stdout] 55 +             diesel_async::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/edge/service.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |             query.get_result(&mut conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 58 -             query.get_result(&mut conn).await?
[INFO] [stdout] 58 +             diesel::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 58 -             query.get_result(&mut conn).await?
[INFO] [stdout] 58 +             diesel_async::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/token/service.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Ok(query.get_result(conn).await?)
[INFO] [stdout]    |                      ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 48 -             Ok(query.get_result(conn).await?)
[INFO] [stdout] 48 +             Ok(diesel::RunQueryDsl::get_result(query, conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 48 -             Ok(query.get_result(conn).await?)
[INFO] [stdout] 48 +             Ok(diesel_async::RunQueryDsl::get_result(query, conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/token/service.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Ok(query.get_result(&mut conn).await?)
[INFO] [stdout]    |                      ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 51 -             Ok(query.get_result(&mut conn).await?)
[INFO] [stdout] 51 +             Ok(diesel::RunQueryDsl::get_result(query, &mut conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 51 -             Ok(query.get_result(&mut conn).await?)
[INFO] [stdout] 51 +             Ok(diesel_async::RunQueryDsl::get_result(query, &mut conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/token/service.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |             .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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 60 ~         let token = diesel_async::RunQueryDsl::first(dsl::tokens
[INFO] [stdout] 61 +             .filter(Token::with_token(token))
[INFO] [stdout] 62 +             .select(Token::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 60 ~         let token = diesel::RunQueryDsl::first(dsl::tokens
[INFO] [stdout] 61 +             .filter(Token::with_token(token))
[INFO] [stdout] 62 +             .select(Token::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet/service.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 65 ~         let wallet = diesel_async::RunQueryDsl::first(dsl::wallets
[INFO] [stdout] 66 +             .filter(Wallet::with_id(id))
[INFO] [stdout] 67 +             .select(Wallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 65 ~         let wallet = diesel::RunQueryDsl::first(dsl::wallets
[INFO] [stdout] 66 +             .filter(Wallet::with_id(id))
[INFO] [stdout] 67 +             .select(Wallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet/service.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |             query.get_result(conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 88 -             query.get_result(conn).await?
[INFO] [stdout] 88 +             diesel::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 88 -             query.get_result(conn).await?
[INFO] [stdout] 88 +             diesel_async::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet/service.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |             query.get_result(&mut conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 91 -             query.get_result(&mut conn).await?
[INFO] [stdout] 91 +             diesel::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 91 -             query.get_result(&mut conn).await?
[INFO] [stdout] 91 +             diesel_async::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/modules/wallet/service.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 |             .first::<(WalletToken, Token)>(&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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]     |
[INFO] [stdout] 114 ~         let src_wallet_token = diesel_async::RunQueryDsl::first(WalletToken::belonging_to(&src_wallet)
[INFO] [stdout] 115 +             .inner_join(tokens::table)
[INFO] [stdout] 116 +             .select((WalletToken::as_select(), Token::as_select())), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]     |
[INFO] [stdout] 114 ~         let src_wallet_token = diesel::RunQueryDsl::first(WalletToken::belonging_to(&src_wallet)
[INFO] [stdout] 115 +             .inner_join(tokens::table)
[INFO] [stdout] 116 +             .select((WalletToken::as_select(), Token::as_select())), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/modules/wallet/service.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 |             .first::<WalletToken>(&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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]     |
[INFO] [stdout] 119 ~         let dst_wallet_token = diesel_async::RunQueryDsl::first(WalletToken::belonging_to(&dst_wallet)
[INFO] [stdout] 120 +             .inner_join(tokens::table)
[INFO] [stdout] 121 +             .select(WalletToken::as_select()), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]     |
[INFO] [stdout] 119 ~         let dst_wallet_token = diesel::RunQueryDsl::first(WalletToken::belonging_to(&dst_wallet)
[INFO] [stdout] 120 +             .inner_join(tokens::table)
[INFO] [stdout] 121 +             .select(WalletToken::as_select()), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let result = query.first(conn).await;
[INFO] [stdout]    |                                ^^^^^ multiple `first` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 40 -             let result = query.first(conn).await;
[INFO] [stdout] 40 +             let result = diesel_async::RunQueryDsl::first(query, conn).await;
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 40 -             let result = query.first(conn).await;
[INFO] [stdout] 40 +             let result = diesel::RunQueryDsl::first(query, conn).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let result = query.first(conn).await;
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 41 |             Ok(self
[INFO] [stdout] 42 |                 .insert_or_update(result.ok(), wallet_id, token_id, amount, conn)
[INFO] [stdout]    |                                   ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let result: /* Type */ = query.first(conn).await;
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let result = query.first(&mut conn).await;
[INFO] [stdout]    |                                ^^^^^ multiple `first` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 46 -             let result = query.first(&mut conn).await;
[INFO] [stdout] 46 +             let result = diesel_async::RunQueryDsl::first(query, &mut conn).await;
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 46 -             let result = query.first(&mut conn).await;
[INFO] [stdout] 46 +             let result = diesel::RunQueryDsl::first(query, &mut conn).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let result = query.first(&mut conn).await;
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 47 |             Ok(self
[INFO] [stdout] 48 |                 .insert_or_update(result.ok(), wallet_id, token_id, amount, &mut conn)
[INFO] [stdout]    |                                   ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let result: /* Type */ = query.first(&mut conn).await;
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     .get_result(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 `UpdateStatement<T, U, V, Ret>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 63 ~                 let result = diesel_async::RunQueryDsl::get_result(diesel::update(&object)
[INFO] [stdout] 64 +                     .set(UpdateWalletToken {
[INFO] [stdout] 65 +                         volume: object.volume + amount,
[INFO] [stdout] 66 +                     })
[INFO] [stdout] 67 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 63 ~                 let result = diesel::RunQueryDsl::get_result(diesel::update(&object)
[INFO] [stdout] 64 +                     .set(UpdateWalletToken {
[INFO] [stdout] 65 +                         volume: object.volume + amount,
[INFO] [stdout] 66 +                     })
[INFO] [stdout] 67 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     .get_result(conn)
[INFO] [stdout]    |                      ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 74 ~                 let result = diesel::RunQueryDsl::get_result(diesel::insert_into(wallets_tokens::table)
[INFO] [stdout] 75 +                     .values(NewWalletToken {
[INFO] [stdout] 76 +                         wallet_id,
[INFO] [stdout] 77 +                         token_id,
[INFO] [stdout] 78 +                         volume: amount,
[INFO] [stdout] 79 +                     })
[INFO] [stdout] 80 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 74 ~                 let result = diesel_async::RunQueryDsl::get_result(diesel::insert_into(wallets_tokens::table)
[INFO] [stdout] 75 +                     .values(NewWalletToken {
[INFO] [stdout] 76 +                         wallet_id,
[INFO] [stdout] 77 +                         token_id,
[INFO] [stdout] 78 +                         volume: amount,
[INFO] [stdout] 79 +                     })
[INFO] [stdout] 80 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_pool`
[INFO] [stdout]   --> src/modules/mod.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(db_pool: DbPool) -> Self {
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/edge/service.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 30 ~         let edge = diesel_async::RunQueryDsl::first(dsl::edges_wallets
[INFO] [stdout] 31 +             .filter(model::EdgeWallet::with_edge_id(edge_id))
[INFO] [stdout] 32 +             .select(model::EdgeWallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 30 ~         let edge = diesel::RunQueryDsl::first(dsl::edges_wallets
[INFO] [stdout] 31 +             .filter(model::EdgeWallet::with_edge_id(edge_id))
[INFO] [stdout] 32 +             .select(model::EdgeWallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/edge/service.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |             query.get_result(conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 55 -             query.get_result(conn).await?
[INFO] [stdout] 55 +             diesel::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 55 -             query.get_result(conn).await?
[INFO] [stdout] 55 +             diesel_async::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/edge/service.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |             query.get_result(&mut conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 58 -             query.get_result(&mut conn).await?
[INFO] [stdout] 58 +             diesel::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 58 -             query.get_result(&mut conn).await?
[INFO] [stdout] 58 +             diesel_async::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/token/service.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Ok(query.get_result(conn).await?)
[INFO] [stdout]    |                      ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 48 -             Ok(query.get_result(conn).await?)
[INFO] [stdout] 48 +             Ok(diesel::RunQueryDsl::get_result(query, conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 48 -             Ok(query.get_result(conn).await?)
[INFO] [stdout] 48 +             Ok(diesel_async::RunQueryDsl::get_result(query, conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/token/service.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Ok(query.get_result(&mut conn).await?)
[INFO] [stdout]    |                      ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 51 -             Ok(query.get_result(&mut conn).await?)
[INFO] [stdout] 51 +             Ok(diesel::RunQueryDsl::get_result(query, &mut conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 51 -             Ok(query.get_result(&mut conn).await?)
[INFO] [stdout] 51 +             Ok(diesel_async::RunQueryDsl::get_result(query, &mut conn).await?)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/token/service.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |             .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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 60 ~         let token = diesel_async::RunQueryDsl::first(dsl::tokens
[INFO] [stdout] 61 +             .filter(Token::with_token(token))
[INFO] [stdout] 62 +             .select(Token::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 60 ~         let token = diesel::RunQueryDsl::first(dsl::tokens
[INFO] [stdout] 61 +             .filter(Token::with_token(token))
[INFO] [stdout] 62 +             .select(Token::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet/service.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 65 ~         let wallet = diesel_async::RunQueryDsl::first(dsl::wallets
[INFO] [stdout] 66 +             .filter(Wallet::with_id(id))
[INFO] [stdout] 67 +             .select(Wallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 65 ~         let wallet = diesel::RunQueryDsl::first(dsl::wallets
[INFO] [stdout] 66 +             .filter(Wallet::with_id(id))
[INFO] [stdout] 67 +             .select(Wallet::as_select()), &mut conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet/service.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |             query.get_result(conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 88 -             query.get_result(conn).await?
[INFO] [stdout] 88 +             diesel::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 88 -             query.get_result(conn).await?
[INFO] [stdout] 88 +             diesel_async::RunQueryDsl::get_result(query, conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet/service.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |             query.get_result(&mut conn).await?
[INFO] [stdout]    |                   ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 91 -             query.get_result(&mut conn).await?
[INFO] [stdout] 91 +             diesel::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 91 -             query.get_result(&mut conn).await?
[INFO] [stdout] 91 +             diesel_async::RunQueryDsl::get_result(query, &mut conn).await?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/modules/wallet/service.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 |             .first::<(WalletToken, Token)>(&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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]     |
[INFO] [stdout] 114 ~         let src_wallet_token = diesel_async::RunQueryDsl::first(WalletToken::belonging_to(&src_wallet)
[INFO] [stdout] 115 +             .inner_join(tokens::table)
[INFO] [stdout] 116 +             .select((WalletToken::as_select(), Token::as_select())), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]     |
[INFO] [stdout] 114 ~         let src_wallet_token = diesel::RunQueryDsl::first(WalletToken::belonging_to(&src_wallet)
[INFO] [stdout] 115 +             .inner_join(tokens::table)
[INFO] [stdout] 116 +             .select((WalletToken::as_select(), Token::as_select())), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/modules/wallet/service.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 |             .first::<WalletToken>(&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<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]     |
[INFO] [stdout] 119 ~         let dst_wallet_token = diesel_async::RunQueryDsl::first(WalletToken::belonging_to(&dst_wallet)
[INFO] [stdout] 120 +             .inner_join(tokens::table)
[INFO] [stdout] 121 +             .select(WalletToken::as_select()), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]     |
[INFO] [stdout] 119 ~         let dst_wallet_token = diesel::RunQueryDsl::first(WalletToken::belonging_to(&dst_wallet)
[INFO] [stdout] 120 +             .inner_join(tokens::table)
[INFO] [stdout] 121 +             .select(WalletToken::as_select()), &mut conn)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let result = query.first(conn).await;
[INFO] [stdout]    |                                ^^^^^ multiple `first` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 40 -             let result = query.first(conn).await;
[INFO] [stdout] 40 +             let result = diesel_async::RunQueryDsl::first(query, conn).await;
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 40 -             let result = query.first(conn).await;
[INFO] [stdout] 40 +             let result = diesel::RunQueryDsl::first(query, conn).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bigchaindb-token` (lib test) due to 17 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let result = query.first(conn).await;
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 41 |             Ok(self
[INFO] [stdout] 42 |                 .insert_or_update(result.ok(), wallet_id, token_id, amount, conn)
[INFO] [stdout]    |                                   ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let result: /* Type */ = query.first(conn).await;
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let result = query.first(&mut conn).await;
[INFO] [stdout]    |                                ^^^^^ multiple `first` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T`
[INFO] [stdout]    = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement<F, S, D, W, O, LOf, G, H, LC>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 46 -             let result = query.first(&mut conn).await;
[INFO] [stdout] 46 +             let result = diesel_async::RunQueryDsl::first(query, &mut conn).await;
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 46 -             let result = query.first(&mut conn).await;
[INFO] [stdout] 46 +             let result = diesel::RunQueryDsl::first(query, &mut conn).await;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let result = query.first(&mut conn).await;
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 47 |             Ok(self
[INFO] [stdout] 48 |                 .insert_or_update(result.ok(), wallet_id, token_id, amount, &mut conn)
[INFO] [stdout]    |                                   ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let result: /* Type */ = query.first(&mut conn).await;
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0034, E0282.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0034`.
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     .get_result(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 `UpdateStatement<T, U, V, Ret>`
[INFO] [stdout] help: disambiguate the method for candidate #1
[INFO] [stdout]    |
[INFO] [stdout] 63 ~                 let result = diesel_async::RunQueryDsl::get_result(diesel::update(&object)
[INFO] [stdout] 64 +                     .set(UpdateWalletToken {
[INFO] [stdout] 65 +                         volume: object.volume + amount,
[INFO] [stdout] 66 +                     })
[INFO] [stdout] 67 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 63 ~                 let result = diesel::RunQueryDsl::get_result(diesel::update(&object)
[INFO] [stdout] 64 +                     .set(UpdateWalletToken {
[INFO] [stdout] 65 +                         volume: object.volume + amount,
[INFO] [stdout] 66 +                     })
[INFO] [stdout] 67 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]   --> src/modules/wallet_to_token/service.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     .get_result(conn)
[INFO] [stdout]    |                      ^^^^^^^^^^ multiple `get_result` found
[INFO] [stdout]    |
[INFO] [stdout]    = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement<T, U, Op, Ret>`
[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] 74 ~                 let result = diesel::RunQueryDsl::get_result(diesel::insert_into(wallets_tokens::table)
[INFO] [stdout] 75 +                     .values(NewWalletToken {
[INFO] [stdout] 76 +                         wallet_id,
[INFO] [stdout] 77 +                         token_id,
[INFO] [stdout] 78 +                         volume: amount,
[INFO] [stdout] 79 +                     })
[INFO] [stdout] 80 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] help: disambiguate the method for candidate #2
[INFO] [stdout]    |
[INFO] [stdout] 74 ~                 let result = diesel_async::RunQueryDsl::get_result(diesel::insert_into(wallets_tokens::table)
[INFO] [stdout] 75 +                     .values(NewWalletToken {
[INFO] [stdout] 76 +                         wallet_id,
[INFO] [stdout] 77 +                         token_id,
[INFO] [stdout] 78 +                         volume: amount,
[INFO] [stdout] 79 +                     })
[INFO] [stdout] 80 +                     .returning(WalletToken::as_returning()), conn)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_pool`
[INFO] [stdout]   --> src/modules/mod.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(db_pool: DbPool) -> Self {
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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 `bigchaindb-token` (lib) due to 17 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1472e4104ecd631baaa40da5934d0c19295feacb3d2bfe10c7dc10cd44715cce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1472e4104ecd631baaa40da5934d0c19295feacb3d2bfe10c7dc10cd44715cce", kill_on_drop: false }`
[INFO] [stdout] 1472e4104ecd631baaa40da5934d0c19295feacb3d2bfe10c7dc10cd44715cce
