[INFO] fetching crate juspay_diesel 2.2.4... [INFO] testing juspay_diesel-2.2.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate juspay_diesel 2.2.4 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate juspay_diesel 2.2.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9af0d137bb1c727a900949778f1e6d63f60819979a040e8f63dd412a61cbc47 [INFO] running `Command { std: "docker" "start" "-a" "e9af0d137bb1c727a900949778f1e6d63f60819979a040e8f63dd412a61cbc47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9af0d137bb1c727a900949778f1e6d63f60819979a040e8f63dd412a61cbc47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9af0d137bb1c727a900949778f1e6d63f60819979a040e8f63dd412a61cbc47", kill_on_drop: false }` [INFO] [stdout] e9af0d137bb1c727a900949778f1e6d63f60819979a040e8f63dd412a61cbc47 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd4c1ae72057c4b52a96c6fe2fba549d71c0dc18a95266476ea539fc3cbb2910 [INFO] running `Command { std: "docker" "start" "-a" "fd4c1ae72057c4b52a96c6fe2fba549d71c0dc18a95266476ea539fc3cbb2910", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [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] Compiling juspay_diesel v2.2.4 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.52s [INFO] running `Command { std: "docker" "inspect" "fd4c1ae72057c4b52a96c6fe2fba549d71c0dc18a95266476ea539fc3cbb2910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4c1ae72057c4b52a96c6fe2fba549d71c0dc18a95266476ea539fc3cbb2910", kill_on_drop: false }` [INFO] [stdout] fd4c1ae72057c4b52a96c6fe2fba549d71c0dc18a95266476ea539fc3cbb2910 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e58e966c7a2a870ec819f14c10ff840b6291162bd02980d5bc6926b7ece343 [INFO] running `Command { std: "docker" "start" "-a" "15e58e966c7a2a870ec819f14c10ff840b6291162bd02980d5bc6926b7ece343", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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] running `Command { std: "docker" "inspect" "15e58e966c7a2a870ec819f14c10ff840b6291162bd02980d5bc6926b7ece343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e58e966c7a2a870ec819f14c10ff840b6291162bd02980d5bc6926b7ece343", kill_on_drop: false }` [INFO] [stdout] 15e58e966c7a2a870ec819f14c10ff840b6291162bd02980d5bc6926b7ece343