[INFO] cloning repository https://github.com/david-d-h/custom-type-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/david-d-h/custom-type-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-d-h%2Fcustom-type-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-d-h%2Fcustom-type-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bde9ba0554e1dbf2604aae28286fb8e08ab7de78 [INFO] checking david-d-h/custom-type-example against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-d-h%2Fcustom-type-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/david-d-h/custom-type-example [INFO] finished tweaking git repo https://github.com/david-d-h/custom-type-example [INFO] tweaked toml for git repo https://github.com/david-d-h/custom-type-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/david-d-h/custom-type-example 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/david-d-h/custom-type-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ca1fedc7364a8184325fe1ec5e78cc843681995c18e16644a4f9b2c908994c4 [INFO] running `Command { std: "docker" "start" "-a" "7ca1fedc7364a8184325fe1ec5e78cc843681995c18e16644a4f9b2c908994c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ca1fedc7364a8184325fe1ec5e78cc843681995c18e16644a4f9b2c908994c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca1fedc7364a8184325fe1ec5e78cc843681995c18e16644a4f9b2c908994c4", kill_on_drop: false }` [INFO] [stdout] 7ca1fedc7364a8184325fe1ec5e78cc843681995c18e16644a4f9b2c908994c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc89246708c1122fc95f748777d1dc88d7069ec34f24e45ba27d094115167930 [INFO] running `Command { std: "docker" "start" "-a" "bc89246708c1122fc95f748777d1dc88d7069ec34f24e45ba27d094115167930", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking scoped-futures v0.1.4 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling pq-src v0.3.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking postgres-types v0.2.8 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-postgres v0.7.12 [INFO] [stderr] Checking diesel v2.2.4 [INFO] [stderr] Checking diesel-async v0.5.0 [INFO] [stderr] Checking custom-type-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .get_result(&mut db) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 49 ~ let user = diesel::RunQueryDsl::get_result(insert_into(users::table) [INFO] [stdout] 50 + .values(Generated { uuid, code }) [INFO] [stdout] 51 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 49 ~ let user = diesel_async::RunQueryDsl::get_result(insert_into(users::table) [INFO] [stdout] 50 + .values(Generated { uuid, code }) [INFO] [stdout] 51 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `custom-type-example` (bin "custom-type-example" test) due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | let user = insert_into(users::table) [INFO] [stdout] | ________________^ [INFO] [stdout] 50 | | .values(Generated { uuid, code }) [INFO] [stdout] 51 | | .returning(User::as_returning()) [INFO] [stdout] 52 | | .get_result(&mut db) [INFO] [stdout] 53 | | .await // generates error here [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .get_result(&mut db) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `InsertStatement` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 49 ~ let user = diesel::RunQueryDsl::get_result(insert_into(users::table) [INFO] [stdout] 50 + .values(Generated { uuid, code }) [INFO] [stdout] 51 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 49 ~ let user = diesel_async::RunQueryDsl::get_result(insert_into(users::table) [INFO] [stdout] 50 + .values(Generated { uuid, code }) [INFO] [stdout] 51 + .returning(User::as_returning()), &mut db) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | let user = insert_into(users::table) [INFO] [stdout] | ________________^ [INFO] [stdout] 50 | | .values(Generated { uuid, code }) [INFO] [stdout] 51 | | .returning(User::as_returning()) [INFO] [stdout] 52 | | .get_result(&mut db) [INFO] [stdout] 53 | | .await // generates error here [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `custom-type-example` (bin "custom-type-example") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bc89246708c1122fc95f748777d1dc88d7069ec34f24e45ba27d094115167930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc89246708c1122fc95f748777d1dc88d7069ec34f24e45ba27d094115167930", kill_on_drop: false }` [INFO] [stdout] bc89246708c1122fc95f748777d1dc88d7069ec34f24e45ba27d094115167930