[INFO] fetching crate juspay_diesel 2.2.4... [INFO] checking juspay_diesel-2.2.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate juspay_diesel 2.2.4 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate juspay_diesel 2.2.4 [INFO] finished tweaking crates.io crate juspay_diesel 2.2.4 [INFO] tweaked toml for crates.io crate juspay_diesel 2.2.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate juspay_diesel 2.2.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate juspay_diesel 2.2.4 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8091580d5c30dccb5a62e3dc91e4a0521618fdfda16433e1e25510a2ccfef42d [INFO] running `Command { std: "docker" "start" "-a" "8091580d5c30dccb5a62e3dc91e4a0521618fdfda16433e1e25510a2ccfef42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8091580d5c30dccb5a62e3dc91e4a0521618fdfda16433e1e25510a2ccfef42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8091580d5c30dccb5a62e3dc91e4a0521618fdfda16433e1e25510a2ccfef42d", kill_on_drop: false }` [INFO] [stdout] 8091580d5c30dccb5a62e3dc91e4a0521618fdfda16433e1e25510a2ccfef42d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bf2969e82446bc64ca9abe81163f9d7d60d64b06339cf688a4918066691650c [INFO] running `Command { std: "docker" "start" "-a" "0bf2969e82446bc64ca9abe81163f9d7d60d64b06339cf688a4918066691650c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Checking juspay_diesel v2.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: At least one backend must be used to test this crate. [INFO] [stdout] Pass argument `--features ""` with one or more of the following backends, 'mysql', 'postgres', or 'sqlite'. [INFO] [stdout] [INFO] [stdout] ex. cargo test --features "mysql postgres sqlite" [INFO] [stdout] --> src/test_helpers.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / compile_error!( [INFO] [stdout] 47 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 48 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 49 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 50 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_helpers::TestConnection` [INFO] [stdout] --> src/connection/transaction_manager.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | use crate::test_helpers::TestConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Connection` [INFO] [stdout] | no `TestConnection` in `test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConnection` in module `crate::test_helpers` [INFO] [stdout] --> src/query_builder/sql_query.rs:371:49 [INFO] [stdout] | [INFO] [stdout] 371 | .into_boxed::<::Backend>( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `Connection` [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | / pub trait Connection: SimpleConnection + Sized + Send [INFO] [stdout] 223 | | where [INFO] [stdout] ... | [INFO] [stdout] 416 | | fn set_prepared_statement_cache_size(&mut self, size: CacheSize); [INFO] [stdout] 417 | | } [INFO] [stdout] | |_- similarly named trait `Connection` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/test_helpers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_boxed_query_send` [INFO] [stdout] --> src/query_builder/select_statement/boxed.rs:590:18 [INFO] [stdout] | [INFO] [stdout] 590 | macro_rules! assert_boxed_query_send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default_instrumentation`, `none`, and `on_connection_event` are never used [INFO] [stdout] --> src/connection/instrumentation.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 354 | impl DynInstrumentation { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 359 | pub(crate) fn default_instrumentation() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub(crate) fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn on_connection_event(&mut self, event: InstrumentationEvent<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoInstrumentation` is never constructed [INFO] [stdout] --> src/connection/instrumentation.rs:400:8 [INFO] [stdout] | [INFO] [stdout] 400 | struct NoInstrumentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpack_instrumentation` is never used [INFO] [stdout] --> src/connection/instrumentation.rs:407:4 [INFO] [stdout] | [INFO] [stdout] 407 | fn unpack_instrumentation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/query_builder/delete_statement/mod.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn schema_name(self, schema_name: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | missing_docs [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/query_builder/insert_statement/mod.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn schema_name(self, schema_name: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/query_builder/update_statement/mod.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn schema_name(self, schema_name: &String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/query_dsl/mod.rs:1398:5 [INFO] [stdout] | [INFO] [stdout] 1398 | / fn schema_name(self, schema_name: &String) -> SchameName [INFO] [stdout] 1399 | | where [INFO] [stdout] 1400 | | Self: methods::SchemaNameDsl, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `juspay_diesel` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0bf2969e82446bc64ca9abe81163f9d7d60d64b06339cf688a4918066691650c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf2969e82446bc64ca9abe81163f9d7d60d64b06339cf688a4918066691650c", kill_on_drop: false }` [INFO] [stdout] 0bf2969e82446bc64ca9abe81163f9d7d60d64b06339cf688a4918066691650c