[INFO] cloning repository https://github.com/luksamuk/rust-crud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luksamuk/rust-crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluksamuk%2Frust-crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluksamuk%2Frust-crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8591ea7201f480530ffd8478c59a69144e500f89 [INFO] checking luksamuk/rust-crud against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluksamuk%2Frust-crud" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luksamuk/rust-crud [INFO] finished tweaking git repo https://github.com/luksamuk/rust-crud [INFO] tweaked toml for git repo https://github.com/luksamuk/rust-crud written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luksamuk/rust-crud 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/luksamuk/rust-crud 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1d21ccbaaf8b1414a1d4ae4683a21739d455fc2ef1cd16b0bf4d369714618e48 [INFO] running `Command { std: "docker" "start" "-a" "1d21ccbaaf8b1414a1d4ae4683a21739d455fc2ef1cd16b0bf4d369714618e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d21ccbaaf8b1414a1d4ae4683a21739d455fc2ef1cd16b0bf4d369714618e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d21ccbaaf8b1414a1d4ae4683a21739d455fc2ef1cd16b0bf4d369714618e48", kill_on_drop: false }` [INFO] [stdout] 1d21ccbaaf8b1414a1d4ae4683a21739d455fc2ef1cd16b0bf4d369714618e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7ceb820549c2f00f7403866f18fcf1af07c763d32171b3047fa1478ae13be408 [INFO] running `Command { std: "docker" "start" "-a" "7ceb820549c2f00f7403866f18fcf1af07c763d32171b3047fa1478ae13be408", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pq-sys v0.7.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling bigdecimal v0.4.9 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling diesel_derives v2.3.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking downcast-rs v2.0.2 [INFO] [stderr] Checking ipnetwork v0.21.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking scoped-futures v0.1.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking paginator-utils v0.2.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking paginator-rs v0.2.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking diesel v2.3.2 [INFO] [stderr] Checking paginator-rocket v0.2.0 [INFO] [stderr] Checking rocket_anyhow v0.2.0 [INFO] [stderr] Checking diesel-async v0.7.3 [INFO] [stderr] Checking registry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [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 `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [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/api/users.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | let count = users::table.count().get_result::(&mut conn).await? as u32; [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 17 - let count = users::table.count().get_result::(&mut conn).await? as u32; [INFO] [stdout] 17 + let count = diesel_async::RunQueryDsl::get_result(users::table.count(), &mut conn).await? as u32; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 17 - let count = users::table.count().get_result::(&mut conn).await? as u32; [INFO] [stdout] 17 + let count = diesel::RunQueryDsl::get_result(users::table.count(), &mut conn).await? as u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/api/users.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] 18 ~ let data: Vec = diesel_async::RunQueryDsl::load(users::table [INFO] [stdout] 19 + .select(User::as_select()) [INFO] [stdout] 20 + .order_by(users::id.asc()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 18 ~ let data: Vec = diesel::RunQueryDsl::load(users::table [INFO] [stdout] 19 + .select(User::as_select()) [INFO] [stdout] 20 + .order_by(users::id.asc()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/api/users.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | .get_result(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::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] 34 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 35 + .values(&user) [INFO] [stdout] 36 + .returning(User::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 35 + .values(&user) [INFO] [stdout] 36 + .returning(User::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/api/users.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | let count = users::table.count().get_result::(&mut conn).await? as u32; [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel_async::RunQueryDsl` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `diesel::RunQueryDsl` for the type `SelectStatement` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 17 - let count = users::table.count().get_result::(&mut conn).await? as u32; [INFO] [stdout] 17 + let count = diesel_async::RunQueryDsl::get_result(users::table.count(), &mut conn).await? as u32; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 17 - let count = users::table.count().get_result::(&mut conn).await? as u32; [INFO] [stdout] 17 + let count = diesel::RunQueryDsl::get_result(users::table.count(), &mut conn).await? as u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/api/users.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] 18 ~ let data: Vec = diesel_async::RunQueryDsl::load(users::table [INFO] [stdout] 19 + .select(User::as_select()) [INFO] [stdout] 20 + .order_by(users::id.asc()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 18 ~ let data: Vec = diesel::RunQueryDsl::load(users::table [INFO] [stdout] 19 + .select(User::as_select()) [INFO] [stdout] 20 + .order_by(users::id.asc()), &mut conn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/api/users.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | .get_result(&mut conn) [INFO] [stdout] | ^^^^^^^^^^ multiple `get_result` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `diesel::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] 34 ~ diesel::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 35 + .values(&user) [INFO] [stdout] 36 + .returning(User::as_returning()), &mut conn) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 34 ~ diesel_async::RunQueryDsl::get_result(diesel::insert_into(users::table) [INFO] [stdout] 35 + .values(&user) [INFO] [stdout] 36 + .returning(User::as_returning()), &mut conn) [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 `registry` (bin "registry") due to 3 previous errors; 1 warning emitted [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 `registry` (bin "registry" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7ceb820549c2f00f7403866f18fcf1af07c763d32171b3047fa1478ae13be408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ceb820549c2f00f7403866f18fcf1af07c763d32171b3047fa1478ae13be408", kill_on_drop: false }` [INFO] [stdout] 7ceb820549c2f00f7403866f18fcf1af07c763d32171b3047fa1478ae13be408