[INFO] fetching crate diesel 2.2.9... [INFO] checking diesel-2.2.9 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate diesel 2.2.9 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate diesel 2.2.9 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel 2.2.9 [INFO] finished tweaking crates.io crate diesel 2.2.9 [INFO] tweaked toml for crates.io crate diesel 2.2.9 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate diesel 2.2.9 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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e1f1ca270083f3d6bffd52478e62a102c41f3da24d2b7b07efaaaa740be1acd [INFO] running `Command { std: "docker" "start" "-a" "2e1f1ca270083f3d6bffd52478e62a102c41f3da24d2b7b07efaaaa740be1acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e1f1ca270083f3d6bffd52478e62a102c41f3da24d2b7b07efaaaa740be1acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1f1ca270083f3d6bffd52478e62a102c41f3da24d2b7b07efaaaa740be1acd", kill_on_drop: false }` [INFO] [stdout] 2e1f1ca270083f3d6bffd52478e62a102c41f3da24d2b7b07efaaaa740be1acd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a61c686c0ee1e85aca26742623feddd904137ba37d80d95919443bad13389bc7 [INFO] running `Command { std: "docker" "start" "-a" "a61c686c0ee1e85aca26742623feddd904137ba37d80d95919443bad13389bc7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking ipnetwork v0.21.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking rustix v1.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.4 [INFO] [stderr] Checking diesel v2.2.9 (/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:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | 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:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / pub trait Connection: SimpleConnection + Sized + Send [INFO] [stdout] 213 | | where [INFO] [stdout] ... | [INFO] [stdout] 403 | | fn set_instrumentation(&mut self, instrumentation: impl Instrumentation); [INFO] [stdout] 404 | | } [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] error[E0271]: type mismatch resolving `::Backend normalizes-to _` [INFO] [stdout] --> src/connection/transaction_manager.rs:567:28 [INFO] [stdout] | [INFO] [stdout] 567 | type Backend = ::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Backend normalizes-to _` [INFO] [stdout] --> src/connection/transaction_manager.rs:583:20 [INFO] [stdout] | [INFO] [stdout] 583 | T: crate::query_builder::QueryFragment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query_builder::QueryFragment` [INFO] [stdout] --> src/query_builder/mod.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait QueryFragment { [INFO] [stdout] | ^^ required by this bound in `QueryFragment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Backend normalizes-to _` [INFO] [stdout] --> src/connection/transaction_manager.rs:583:20 [INFO] [stdout] | [INFO] [stdout] 583 | T: crate::query_builder::QueryFragment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query_builder::QueryFragment` [INFO] [stdout] --> src/query_builder/mod.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait QueryFragment { [INFO] [stdout] | ^^^^^^^ required by this bound in `QueryFragment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Backend normalizes-to _` [INFO] [stdout] --> src/connection/transaction_manager.rs:661:62 [INFO] [stdout] | [INFO] [stdout] 661 | let query_result = sql_query("SELECT 1").execute(conn); [INFO] [stdout] | ------- ^^^^ types differ [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required for `SqlQuery` to implement `ExecuteDsl` [INFO] [stdout] --> src/query_dsl/load_dsl.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | impl ExecuteDsl for T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] 87 | where [INFO] [stdout] 88 | Conn: Connection, [INFO] [stdout] | ------------ unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `query_dsl::RunQueryDsl::execute` [INFO] [stdout] --> src/query_dsl/mod.rs:1431:15 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1431 | Self: methods::ExecuteDsl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a61c686c0ee1e85aca26742623feddd904137ba37d80d95919443bad13389bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a61c686c0ee1e85aca26742623feddd904137ba37d80d95919443bad13389bc7", kill_on_drop: false }` [INFO] [stdout] a61c686c0ee1e85aca26742623feddd904137ba37d80d95919443bad13389bc7