[INFO] fetching crate diesel-async 0.7.4... [INFO] testing diesel-async-0.7.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate diesel-async 0.7.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate diesel-async 0.7.4 [INFO] finished tweaking crates.io crate diesel-async 0.7.4 [INFO] tweaked toml for crates.io crate diesel-async 0.7.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-async 0.7.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diesel-async 0.7.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasite v0.1.0 [INFO] [stderr] Downloaded postgres-types v0.2.11 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded assert_matches v1.5.0 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded mobc v0.9.0 [INFO] [stderr] Downloaded bb8 v0.9.0 [INFO] [stderr] Downloaded dsl_auto_type v0.2.0 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded metrics v0.24.2 [INFO] [stderr] Downloaded keyed_priority_queue v0.4.2 [INFO] [stderr] Downloaded syn v2.0.109 [INFO] [stderr] Downloaded lru v0.14.0 [INFO] [stderr] Downloaded pem v3.0.6 [INFO] [stderr] Downloaded btoi v0.4.3 [INFO] [stderr] Downloaded migrations_macros v2.3.0 [INFO] [stderr] Downloaded nu-ansi-term v0.50.3 [INFO] [stderr] Downloaded twox-hash v2.1.2 [INFO] [stderr] Downloaded scoped-futures v0.1.4 [INFO] [stderr] Downloaded diesel v2.3.3 [INFO] [stderr] Downloaded diesel_derives v2.3.4 [INFO] [stderr] Downloaded mysql_async v0.36.1 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.7 [INFO] [stderr] Downloaded diesel_migrations v2.3.0 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded downcast-rs v2.0.2 [INFO] [stderr] Downloaded r2d2 v0.8.10 [INFO] [stderr] Downloaded mysql_common v0.35.5 [INFO] [stderr] Downloaded migrations_internals v2.3.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.12 [INFO] [stderr] Downloaded tokio-postgres v0.7.15 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded postgres-protocol v0.6.9 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.35.0 [INFO] [stderr] Downloaded sqlite-wasm-rs v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d515307f96bd83a6419310a6191f981bbe407ce23815cd8408c6e5d0428e2233 [INFO] running `Command { std: "docker" "start" "-a" "d515307f96bd83a6419310a6191f981bbe407ce23815cd8408c6e5d0428e2233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d515307f96bd83a6419310a6191f981bbe407ce23815cd8408c6e5d0428e2233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d515307f96bd83a6419310a6191f981bbe407ce23815cd8408c6e5d0428e2233", kill_on_drop: false }` [INFO] [stdout] d515307f96bd83a6419310a6191f981bbe407ce23815cd8408c6e5d0428e2233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be2b1613d473dbfed9d92fd0005305186ee263add49eefa27abe619069dd6d15 [INFO] running `Command { std: "docker" "start" "-a" "be2b1613d473dbfed9d92fd0005305186ee263add49eefa27abe619069dd6d15", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling diesel_derives v2.3.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling scoped-futures v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [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 diesel v2.3.3 [INFO] [stderr] Compiling diesel-async v0.7.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.65s [INFO] running `Command { std: "docker" "inspect" "be2b1613d473dbfed9d92fd0005305186ee263add49eefa27abe619069dd6d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2b1613d473dbfed9d92fd0005305186ee263add49eefa27abe619069dd6d15", kill_on_drop: false }` [INFO] [stdout] be2b1613d473dbfed9d92fd0005305186ee263add49eefa27abe619069dd6d15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71fb6e4e7cb0e3a98390f975c69d7abd407537255c2eaccdbdaec75f890b0580 [INFO] running `Command { std: "docker" "start" "-a" "71fb6e4e7cb0e3a98390f975c69d7abd407537255c2eaccdbdaec75f890b0580", kill_on_drop: false }` [INFO] [stderr] Compiling diesel_derives v2.3.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling migrations_internals v2.3.0 [INFO] [stderr] Compiling migrations_macros v2.3.0 [INFO] [stderr] Compiling diesel v2.3.3 [INFO] [stderr] Compiling diesel_migrations v2.3.0 [INFO] [stderr] Compiling diesel-async v0.7.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.83s [INFO] running `Command { std: "docker" "inspect" "71fb6e4e7cb0e3a98390f975c69d7abd407537255c2eaccdbdaec75f890b0580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71fb6e4e7cb0e3a98390f975c69d7abd407537255c2eaccdbdaec75f890b0580", kill_on_drop: false }` [INFO] [stdout] 71fb6e4e7cb0e3a98390f975c69d7abd407537255c2eaccdbdaec75f890b0580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd3fdcc3b1ec4b7a295bf556c1f795ee35a2596179581e63528caff579474e11 [INFO] running `Command { std: "docker" "start" "-a" "bd3fdcc3b1ec4b7a295bf556c1f795ee35a2596179581e63528caff579474e11", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diesel_async-ae057d0f1f29ee5e) [INFO] [stderr] Doc-tests diesel_async [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::execute (line 165) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 248) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 406) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 276) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::get_result (line 467) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::SaveChangesDsl (line 603) ... FAILED [INFO] [stdout] test src/lib.rs - AsyncConnection::test_transaction (line 334) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 343) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::first (line 544) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 373) ... FAILED [INFO] [stdout] test src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 223) ... FAILED [INFO] [stdout] test src/lib.rs - AsyncConnection::transaction (line 244) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::execute (line 165) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 248) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:262:27 [INFO] [stdout] | [INFO] [stdout] 262 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:264:6 [INFO] [stdout] | [INFO] [stdout] 264 | .load::<(i32, String)>(connection) [INFO] [stdout] | ^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctest553aCo/rust_out.long-type-4499500896288982046.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:264:6 [INFO] [stdout] | [INFO] [stdout] 264 | .load::<(i32, String)>(connection) [INFO] [stdout] | ^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:264:28 [INFO] [stdout] | [INFO] [stdout] 264 | .load::<(i32, String)>(connection) [INFO] [stdout] | ---- ^^^^^^^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctest553aCo/rust_out.long-type-4499500896288982046.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:264:28 [INFO] [stdout] | [INFO] [stdout] 264 | .load::<(i32, String)>(connection) [INFO] [stdout] | ---- ^^^^^^^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 406) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:427:27 [INFO] [stdout] | [INFO] [stdout] 427 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:429:6 [INFO] [stdout] | [INFO] [stdout] 429 | .load_stream::(connection) [INFO] [stdout] | ^^^^^^^^^^^ the trait `CompatibleType` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `User` and in your query `.select(User::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestGW1nqT/rust_out.long-type-16818128307452263919.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:429:6 [INFO] [stdout] | [INFO] [stdout] 429 | .load_stream::(connection) [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromSqlRow<_, _>` is not implemented for `User` [INFO] [stdout] --> src/run_query_dsl/mod.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | .load_stream::(connection) [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `CompatibleType` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `User` and in your query `.select(User::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] note: required by a bound in `load_stream` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 443 | fn load_stream<'conn, 'query, U>(self, conn: &'conn mut Conn) -> Self::LoadFuture<'conn> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 447 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load_stream` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestGW1nqT/rust_out.long-type-16818128307452263919.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | .load_stream::(connection) [INFO] [stdout] | ----------- ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `FromSqlRow<_, _>` is not implemented for `User` [INFO] [stdout] --> src/run_query_dsl/mod.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] note: required by a bound in `load_stream` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 443 | fn load_stream<'conn, 'query, U>(self, conn: &'conn mut Conn) -> Self::LoadFuture<'conn> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 447 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load_stream` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [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] [INFO] [stdout] --> src/./doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/lib.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let mut connection = establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, diesel::sql_types::Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | .load::<(i32, String)>(&mut connection) [INFO] [stdout] | ^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, diesel::sql_types::Text)` [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `SelectStatement, DefaultSelectClause<...>, ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestiaMRhy/rust_out.long-type-5797528765373955475.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | .load::<(i32, String)>(&mut connection) [INFO] [stdout] | ^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `SelectStatement, DefaultSelectClause<...>, ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestiaMRhy/rust_out.long-type-12918515990573558888.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, diesel::sql_types::Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | .load::<(i32, String)>(&mut connection) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, diesel::sql_types::Text)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `SelectStatement, DefaultSelectClause<...>, ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestiaMRhy/rust_out.long-type-5797528765373955475.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | .load::<(i32, String)>(&mut connection) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `SelectStatement, DefaultSelectClause<...>, ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestiaMRhy/rust_out.long-type-12918515990573558888.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 276) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:298:6 [INFO] [stdout] | [INFO] [stdout] 298 | .load::(connection) [INFO] [stdout] | ^^^^ the trait `CompatibleType` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `User` and in your query `.select(User::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestVLdpmr/rust_out.long-type-4919357741345996699.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:298:6 [INFO] [stdout] | [INFO] [stdout] 298 | .load::(connection) [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromSqlRow<_, _>` is not implemented for `User` [INFO] [stdout] --> src/run_query_dsl/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | .load::(connection) [INFO] [stdout] | ---- ^^^^^^^^^^ the trait `CompatibleType` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `User` and in your query `.select(User::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestVLdpmr/rust_out.long-type-4919357741345996699.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | .load::(connection) [INFO] [stdout] | ---- ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `FromSqlRow<_, _>` is not implemented for `User` [INFO] [stdout] --> src/run_query_dsl/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, User>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::get_result (line 467) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::SaveChangesDsl (line 603) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:632:27 [INFO] [stdout] | [INFO] [stdout] 632 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - AsyncConnection::test_transaction (line 334) stdout ---- [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] [INFO] [stdout] --> src/doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/lib.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | let conn = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&mut _` [INFO] [stdout] --> src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | let conn = &mut establish_connection().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 349 | conn.test_transaction::<_, Error, _>(|conn| async move { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 348 | let conn: &mut _ = &mut establish_connection().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/lib.rs:355:40 [INFO] [stdout] | [INFO] [stdout] 355 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestHGR5Wh/rust_out.long-type-12097081417217417348.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot deserialize a value of the database type `Text` as `String` [INFO] [stdout] --> src/lib.rs:355:55 [INFO] [stdout] | [INFO] [stdout] 355 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestHGR5Wh/rust_out.long-type-12097081417217417348.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/lib.rs:362:36 [INFO] [stdout] | [INFO] [stdout] 362 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestHGR5Wh/rust_out.long-type-12097081417217417348.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot deserialize a value of the database type `Text` as `String` [INFO] [stdout] --> src/lib.rs:362:51 [INFO] [stdout] | [INFO] [stdout] 362 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestHGR5Wh/rust_out.long-type-12097081417217417348.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 343) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:358:27 [INFO] [stdout] | [INFO] [stdout] 358 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:360:6 [INFO] [stdout] | [INFO] [stdout] 360 | .load_stream::(connection) [INFO] [stdout] | ^^^^^^^^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestIT9Lvm/rust_out.long-type-10837908941556342870.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot deserialize a value of the database type `Text` as `String` [INFO] [stdout] --> src/run_query_dsl/mod.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | .load_stream::(connection) [INFO] [stdout] | ^^^^^^^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `load_stream` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 443 | fn load_stream<'conn, 'query, U>(self, conn: &'conn mut Conn) -> Self::LoadFuture<'conn> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 447 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load_stream` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestIT9Lvm/rust_out.long-type-10837908941556342870.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::first (line 544) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:557:27 [INFO] [stdout] | [INFO] [stdout] 557 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:567:6 [INFO] [stdout] | [INFO] [stdout] 567 | .first(connection) [INFO] [stdout] | ^^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestOldIma/rust_out.long-type-13437514175699878850.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | .first(connection) [INFO] [stdout] | ^^^^^^^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::first` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:586:35 [INFO] [stdout] | [INFO] [stdout] 578 | fn first<'query, 'conn, U>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 586 | diesel::dsl::Limit: methods::LoadQuery<'query, Conn, U> + Send + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestOldIma/rust_out.long-type-13437514175699878850.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:573:6 [INFO] [stdout] | [INFO] [stdout] 573 | .first::<(i32, String)>(connection) [INFO] [stdout] | ^^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestOldIma/rust_out.long-type-6444561920243798427.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:573:6 [INFO] [stdout] | [INFO] [stdout] 573 | .first::<(i32, String)>(connection) [INFO] [stdout] | ^^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestOldIma/rust_out.long-type-7395537688602852153.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:573:29 [INFO] [stdout] | [INFO] [stdout] 573 | .first::<(i32, String)>(connection) [INFO] [stdout] | ----- ^^^^^^^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::first` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:586:35 [INFO] [stdout] | [INFO] [stdout] 578 | fn first<'query, 'conn, U>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 586 | diesel::dsl::Limit: methods::LoadQuery<'query, Conn, U> + Send + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestOldIma/rust_out.long-type-6444561920243798427.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:573:29 [INFO] [stdout] | [INFO] [stdout] 573 | .first::<(i32, String)>(connection) [INFO] [stdout] | ----- ^^^^^^^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `SelectStatement, ..., ..., ..., ..., ...>` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::first` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:586:35 [INFO] [stdout] | [INFO] [stdout] 578 | fn first<'query, 'conn, U>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 586 | diesel::dsl::Limit: methods::LoadQuery<'query, Conn, U> + Send + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestOldIma/rust_out.long-type-7395537688602852153.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 373) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:387:27 [INFO] [stdout] | [INFO] [stdout] 387 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:389:6 [INFO] [stdout] | [INFO] [stdout] 389 | .load_stream::<(i32, String)>(connection) [INFO] [stdout] | ^^^^^^^^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctest5poR78/rust_out.long-type-14601296833321401288.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:389:6 [INFO] [stdout] | [INFO] [stdout] 389 | .load_stream::<(i32, String)>(connection) [INFO] [stdout] | ^^^^^^^^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(diesel::sql_types::Integer, Text): CompatibleType<(i32, String), _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | .load_stream::<(i32, String)>(connection) [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `CompatibleType<(i32, String), _>` is not implemented for `(diesel::sql_types::Integer, Text)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this is a mismatch between what your query returns and what your type expects the query to return [INFO] [stdout] = note: the fields in your struct need to match the fields returned by your query in count, order and type [INFO] [stdout] = note: consider using `#[diesel(check_for_backend(_))]` on either `#[derive(Selectable)]` or `#[derive(QueryableByName)]` [INFO] [stdout] on your struct `(i32, String)` and in your query `.select((i32, String)::as_select())` to get a better error message [INFO] [stdout] = help: the following other types implement trait `CompatibleType`: [INFO] [stdout] `Untyped` implements `CompatibleType` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>` implements `CompatibleType, __DB>` [INFO] [stdout] `diesel::sql_types::Nullable<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>` implements `CompatibleType, __DB>` [INFO] [stdout] and 10 others [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `load_stream` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 443 | fn load_stream<'conn, 'query, U>(self, conn: &'conn mut Conn) -> Self::LoadFuture<'conn> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 447 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load_stream` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctest5poR78/rust_out.long-type-14601296833321401288.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(i32, String): FromSqlRow<_, _>` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | .load_stream::<(i32, String)>(connection) [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `FromSqlRow<_, _>` is not implemented for `(i32, String)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `_` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] = note: required for `schema::users::table` to implement `diesel_async::methods::LoadQuery<'_, _, (i32, String)>` [INFO] [stdout] note: required by a bound in `load_stream` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 443 | fn load_stream<'conn, 'query, U>(self, conn: &'conn mut Conn) -> Self::LoadFuture<'conn> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 447 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load_stream` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 223) stdout ---- [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] [INFO] [stdout] --> src/run_query_dsl/../doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/run_query_dsl/mod.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | let connection = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/run_query_dsl/mod.rs:240:6 [INFO] [stdout] | [INFO] [stdout] 240 | .load::(connection) [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestpOOzLr/rust_out.long-type-4668928320917720754.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot deserialize a value of the database type `Text` as `String` [INFO] [stdout] --> src/run_query_dsl/mod.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | .load::(connection) [INFO] [stdout] | ^^^^^^^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestpOOzLr/rust_out.long-type-4668928320917720754.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - AsyncConnection::transaction (line 244) stdout ---- [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] [INFO] [stdout] --> src/doctest_setup.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / compile_error!( [INFO] [stdout] 251 | | "At least one backend must be used to test this crate.\n \ [INFO] [stdout] 252 | | Pass argument `--features \"\"` with one or more of the following backends, \ [INFO] [stdout] 253 | | 'mysql', 'postgres', or 'sqlite'. \n\n \ [INFO] [stdout] 254 | | ex. cargo test --features \"mysql postgres sqlite\"\n" [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/lib.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | let conn = &mut establish_connection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&mut _` [INFO] [stdout] --> src/lib.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let conn = &mut establish_connection().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 259 | conn.transaction::<_, Error, _>(|conn| async move { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 258 | let conn: &mut _ = &mut establish_connection().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/lib.rs:265:40 [INFO] [stdout] | [INFO] [stdout] 265 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestSzdCYM/rust_out.long-type-9880439982842632156.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot deserialize a value of the database type `Text` as `String` [INFO] [stdout] --> src/lib.rs:265:55 [INFO] [stdout] | [INFO] [stdout] 265 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestSzdCYM/rust_out.long-type-9880439982842632156.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/lib.rs:277:40 [INFO] [stdout] | [INFO] [stdout] 277 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestSzdCYM/rust_out.long-type-9880439982842632156.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot deserialize a value of the database type `Text` as `String` [INFO] [stdout] --> src/lib.rs:277:55 [INFO] [stdout] | [INFO] [stdout] 277 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestSzdCYM/rust_out.long-type-9880439982842632156.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: FromSqlRow` is not satisfied [INFO] [stdout] --> src/lib.rs:285:36 [INFO] [stdout] | [INFO] [stdout] 285 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] = note: `diesel::sql_query` requires the loading target to column names for loading values. [INFO] [stdout] You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestSzdCYM/rust_out.long-type-9880439982842632156.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot deserialize a value of the database type `Text` as `String` [INFO] [stdout] --> src/lib.rs:285:51 [INFO] [stdout] | [INFO] [stdout] 285 | let all_names = users.select(name).load::(conn).await?; [INFO] [stdout] | ^^^^ the trait `FromSql` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = note: double check your type mappings via the documentation of `Text` [INFO] [stdout] help: the following other types implement trait `FromSql` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/option.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl FromSql, DB> for Option [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: FromSql, [INFO] [stdout] 32 | | DB: Backend, [INFO] [stdout] 33 | | ST: SqlType, [INFO] [stdout] | |_______________________________________________^ `Option` implements `FromSql, DB>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/migration/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl FromSql for MigrationVersion<'_> [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | String: FromSql, [INFO] [stdout] 38 | | DB: Backend, [INFO] [stdout] | |________________^ `MigrationVersion<'_>` implements `FromSql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.3.3/src/type_impls/primitives.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl FromSql for Vec [INFO] [stdout] 165 | | where [INFO] [stdout] 166 | | DB: Backend, [INFO] [stdout] 167 | | *const [u8]: FromSql, [INFO] [stdout] | |_________________________________^ `Vec` implements `FromSql` [INFO] [stdout] ... [INFO] [stdout] 220 | / impl<'a, T: ?Sized, ST, DB> FromSql for Cow<'a, T> [INFO] [stdout] 221 | | where [INFO] [stdout] 222 | | T: 'a + ToOwned, [INFO] [stdout] 223 | | DB: Backend, [INFO] [stdout] 224 | | T::Owned: FromSql, [INFO] [stdout] | |______________________________^ `Cow<'a, T>` implements `FromSql` [INFO] [stdout] = note: required for `String` to implement `Queryable` [INFO] [stdout] = note: required for `String` to implement `FromSqlRow` [INFO] [stdout] = note: required for `SelectStatement, SelectClause>` to implement `diesel_async::methods::LoadQuery<'_, _, String>` [INFO] [stdout] note: required by a bound in `diesel_async::RunQueryDsl::load` [INFO] [stdout] --> /opt/rustwide/workdir/src/run_query_dsl/mod.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 307 | fn load<'query, 'conn, U>( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 314 | Self: methods::LoadQuery<'query, Conn, U> + 'query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestSzdCYM/rust_out.long-type-9880439982842632156.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - AsyncConnection::test_transaction (line 334) [INFO] [stdout] src/lib.rs - AsyncConnection::transaction (line 244) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::execute (line 165) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::first (line 544) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::get_result (line 467) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 223) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 248) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load (line 276) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 343) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 373) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::RunQueryDsl::load_stream (line 406) [INFO] [stdout] src/run_query_dsl/mod.rs - run_query_dsl::SaveChangesDsl (line 603) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bd3fdcc3b1ec4b7a295bf556c1f795ee35a2596179581e63528caff579474e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd3fdcc3b1ec4b7a295bf556c1f795ee35a2596179581e63528caff579474e11", kill_on_drop: false }` [INFO] [stdout] bd3fdcc3b1ec4b7a295bf556c1f795ee35a2596179581e63528caff579474e11