[INFO] fetching crate parsql-tokio-postgres 0.5.0... [INFO] testing parsql-tokio-postgres-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate parsql-tokio-postgres 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate parsql-tokio-postgres 0.5.0 [INFO] finished tweaking crates.io crate parsql-tokio-postgres 0.5.0 [INFO] tweaked toml for crates.io crate parsql-tokio-postgres 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parsql-tokio-postgres 0.5.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate parsql-tokio-postgres 0.5.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c718caaf55b8db86d3487716cbc73c60862c6a4fd313fde3dcf24d001fc74206 [INFO] running `Command { std: "docker" "start" "-a" "c718caaf55b8db86d3487716cbc73c60862c6a4fd313fde3dcf24d001fc74206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c718caaf55b8db86d3487716cbc73c60862c6a4fd313fde3dcf24d001fc74206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c718caaf55b8db86d3487716cbc73c60862c6a4fd313fde3dcf24d001fc74206", kill_on_drop: false }` [INFO] [stdout] c718caaf55b8db86d3487716cbc73c60862c6a4fd313fde3dcf24d001fc74206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9babd31114826b557bdb07fbb6747d6639b008bc624577b2a8ff99a0a4d3430d [INFO] running `Command { std: "docker" "start" "-a" "9babd31114826b557bdb07fbb6747d6639b008bc624577b2a8ff99a0a4d3430d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parsql-macros v0.5.0 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling parsql-tokio-postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ToSql` [INFO] [stdout] --> src/crud_ops.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use postgres::types::{FromSql, ToSql}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/crud_ops.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_postgres::{Client, Error, Row, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.88s [INFO] running `Command { std: "docker" "inspect" "9babd31114826b557bdb07fbb6747d6639b008bc624577b2a8ff99a0a4d3430d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9babd31114826b557bdb07fbb6747d6639b008bc624577b2a8ff99a0a4d3430d", kill_on_drop: false }` [INFO] [stdout] 9babd31114826b557bdb07fbb6747d6639b008bc624577b2a8ff99a0a4d3430d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 421a98804d9e2a4ed725c9002d83f5fd57aa90583697a9b55227c27386e82990 [INFO] running `Command { std: "docker" "start" "-a" "421a98804d9e2a4ed725c9002d83f5fd57aa90583697a9b55227c27386e82990", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling parsql-tokio-postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ToSql` [INFO] [stdout] --> src/crud_ops.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use postgres::types::{FromSql, ToSql}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/crud_ops.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_postgres::{Client, Error, Row, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSql` [INFO] [stdout] --> src/crud_ops.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use postgres::types::{FromSql, ToSql}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/crud_ops.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_postgres::{Client, Error, Row, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 53.66s [INFO] running `Command { std: "docker" "inspect" "421a98804d9e2a4ed725c9002d83f5fd57aa90583697a9b55227c27386e82990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421a98804d9e2a4ed725c9002d83f5fd57aa90583697a9b55227c27386e82990", kill_on_drop: false }` [INFO] [stdout] 421a98804d9e2a4ed725c9002d83f5fd57aa90583697a9b55227c27386e82990 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2ffe70746a57e324f8be73e10cb0778a6e430e1289ad70fda49451fca8e65c72 [INFO] running `Command { std: "docker" "start" "-a" "2ffe70746a57e324f8be73e10cb0778a6e430e1289ad70fda49451fca8e65c72", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ToSql` [INFO] [stderr] --> src/crud_ops.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use postgres::types::{FromSql, ToSql}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transaction` [INFO] [stderr] --> src/crud_ops.rs:4:42 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_postgres::{Client, Error, Row, Transaction}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `parsql-tokio-postgres` (lib) generated 2 warnings (run `cargo fix --lib -p parsql-tokio-postgres` to apply 2 suggestions) [INFO] [stderr] warning: `parsql-tokio-postgres` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parsql_tokio_postgres-0cdb0a7154d197fb) [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] [stderr] Doc-tests parsql_tokio_postgres [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/lib.rs - (line 18) - compile ... FAILED [INFO] [stdout] test src/lib.rs - transaction_ops (line 119) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::delete (line 142) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 82) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::fetch_all (line 217) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::begin (line 15) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::insert (line 64) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select_all (line 313) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::fetch (line 176) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 284) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::update (line 101) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_delete (line 167) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch (line 222) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select (line 261) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::Transaction<'a> (line 401) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_insert (line 47) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_update (line 105) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use parsql::tokio_postgres::{CrudOps}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use parsql::macros::{Insertable, Queryable, SqlParams, FromRow}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/lib.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Client` in the current scope [INFO] [stdout] --> src/lib.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let id = client.insert(insert_user).await?; [INFO] [stdout] | ^^^^^^ method not found in `Client` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | async fn insert FromSql<'a> + Send + Sync>(&self, entity: T) -> Result [INFO] [stdout] | ------ the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 19 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `Client` in the current scope [INFO] [stdout] --> src/lib.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let user = client.fetch(get_user).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | async fn fetch(&self, params: P) -> Result [INFO] [stdout] | ----- the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `fetch` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 19 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 73 | let user = client.fetch_all(get_user).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - transaction_ops (line 119) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | use parsql::tokio_postgres::{CrudOps, transactional}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | use parsql::macros::{Insertable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Transaction<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | let rows = tx.insert(InsertUser { [INFO] [stdout] | ---^^^^^^ method not found in `Transaction<'_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | async fn insert FromSql<'a> + Send + Sync>(&self, entity: T) -> Result [INFO] [stdout] | ------ the method is available for `Transaction<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 120 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let (tx, rows) = transactional::tx_insert(tx, InsertUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | tx.commit().await?; [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 146 | let (tx, rows): (_, _) = transactional::tx_insert(tx, InsertUser { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::delete (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | use parsql::macros::{Deletable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | let deleted = client.delete(user).await?; [INFO] [stdout] | ^^^^^^ method not found in `Client` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | async fn delete(&self, entity: T) -> Result [INFO] [stdout] | ------ the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `delete` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 142 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 82) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `deadpool_postgres` [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use deadpool_postgres::{Config, Pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `deadpool_postgres`, use `cargo add deadpool_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `active_users_query` in this scope [INFO] [stdout] --> src/lib.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | let users = client.fetch_all(active_users_query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let client = pool.get().await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | let users = client.fetch_all(active_users_query).await?; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 95 | let client: /* Type */ = pool.get().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::fetch_all (line 217) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | use parsql::macros::{Queryable, FromRow, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | #[where_clause("state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch_all` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let users = client.fetch_all(query).await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | async fn fetch_all(&self, params: P) -> Result, Error> [INFO] [stdout] | --------- the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `fetch_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 217 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch` with a similar name [INFO] [stdout] | [INFO] [stdout] 242 - let users = client.fetch_all(query).await?; [INFO] [stdout] 242 + let users = client.fetch(query).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::begin (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use parsql::tokio_postgres::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transaction_ops.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | let transaction = transactional::begin(&mut client).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | transaction.commit().await?; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `transaction` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let transaction: /* Type */ = transactional::begin(&mut client).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::insert (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use parsql::macros::{Insertable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let id = client.insert(user).await?; [INFO] [stdout] | ^^^^^^ method not found in `Client` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | async fn insert FromSql<'a> + Send + Sync>(&self, entity: T) -> Result [INFO] [stdout] | ------ the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 64 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::select_all (line 313) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | use parsql::macros::{Queryable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:319:3 [INFO] [stdout] | [INFO] [stdout] 319 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `select` in this scope [INFO] [stdout] --> src/traits.rs:320:3 [INFO] [stdout] | [INFO] [stdout] 320 | #[select("SELECT u.*, p.role FROM users u JOIN profiles p ON u.id = p.user_id")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:321:3 [INFO] [stdout] | [INFO] [stdout] 321 | #[where_clause("u.state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `select_all` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | let users = client.select_all(query, convert_row).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | async fn select_all(&self, entity: T, to_model: F) -> Result, Error> [INFO] [stdout] | ---------- the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `select_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 313 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `select` with a similar name [INFO] [stdout] | [INFO] [stdout] 345 - let users = client.select_all(query, convert_row).await?; [INFO] [stdout] 345 + let users = client.select(query, convert_row).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::fetch (line 176) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | use parsql::macros::{Queryable, FromRow, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let user = client.fetch(query).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | async fn fetch(&self, params: P) -> Result [INFO] [stdout] | ----- the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `fetch` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 176 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 199 | let user = client.fetch_all(query).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 284) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | use parsql::tokio_postgres::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | use parsql::macros::{Queryable, FromRow, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:290:3 [INFO] [stdout] | [INFO] [stdout] 290 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transaction_ops.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | #[where_clause("state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/transaction_ops.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | let (transaction, users) = transactional::tx_fetch_all(transaction, query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 311 | transaction.commit().await?; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 310 | let (transaction, users): (_, _) = transactional::tx_fetch_all(transaction, query).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::update (line 101) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | use parsql::macros::{Updateable, UpdateParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `update` in this scope [INFO] [stdout] --> src/traits.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | #[update("name, email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let updated = client.update(user).await?; [INFO] [stdout] | ^^^^^^ method not found in `Client` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | async fn update(&self, entity: T) -> Result [INFO] [stdout] | ------ the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `update` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 101 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_delete (line 167) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | use parsql::tokio_postgres::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | use parsql::macros::{Deletable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transaction_ops.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/transaction_ops.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | let (transaction, deleted) = transactional::tx_delete(transaction, user).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | transaction.commit().await?; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 185 | let (transaction, deleted): (_, _) = transactional::tx_delete(transaction, user).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_fetch (line 222) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | use parsql::tokio_postgres::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | use parsql::macros::{Queryable, FromRow, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:228:3 [INFO] [stdout] | [INFO] [stdout] 228 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transaction_ops.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 229 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/transaction_ops.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | let (transaction, user) = transactional::tx_fetch(transaction, query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 247 | transaction.commit().await?; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 246 | let (transaction, user): (_, _) = transactional::tx_fetch(transaction, query).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::select (line 261) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | use parsql::macros::{Queryable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:267:3 [INFO] [stdout] | [INFO] [stdout] 267 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `select` in this scope [INFO] [stdout] --> src/traits.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | #[select("SELECT u.*, p.role FROM users u JOIN profiles p ON u.id = p.user_id")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | #[where_clause("u.state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `select` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let user = client.select(query, convert_row).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:297:14 [INFO] [stdout] | [INFO] [stdout] 297 | async fn select(&self, entity: T, to_model: F) -> Result [INFO] [stdout] | ------ the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `select` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 261 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `select_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 293 | let user = client.select_all(query, convert_row).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::Transaction<'a> (line 401) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | use parsql::tokio_postgres::{CrudOps}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | use parsql::macros::{Insertable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:407:3 [INFO] [stdout] | [INFO] [stdout] 407 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Transaction<'a>` in the current scope [INFO] [stdout] --> src/transaction_ops.rs:424:33 [INFO] [stdout] | [INFO] [stdout] 424 | let rows_affected = transaction.insert(user).await?; [INFO] [stdout] | ^^^^^^ method not found in `Transaction<'_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | async fn insert FromSql<'a> + Send + Sync>(&self, entity: T) -> Result [INFO] [stdout] | ------ the method is available for `Transaction<'_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 401 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_insert (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use parsql::tokio_postgres::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use parsql::macros::{Insertable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/transaction_ops.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | let (transaction, rows_affected) = transactional::tx_insert(transaction, user).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | transaction.commit().await?; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 68 | let (transaction, rows_affected): (_, _) = transactional::tx_insert(transaction, user).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_update (line 105) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | use parsql::tokio_postgres::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | use parsql::macros::{Updateable, UpdateParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `update` in this scope [INFO] [stdout] --> src/transaction_ops.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[update("name, email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transaction_ops.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/transaction_ops.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | let (transaction, updated) = transactional::tx_update(transaction, user).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | transaction.commit().await?; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 130 | let (transaction, updated): (_, _) = transactional::tx_update(transaction, user).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 82) [INFO] [stdout] src/lib.rs - transaction_ops (line 119) [INFO] [stdout] src/traits.rs - traits::CrudOps::delete (line 142) [INFO] [stdout] src/traits.rs - traits::CrudOps::fetch (line 176) [INFO] [stdout] src/traits.rs - traits::CrudOps::fetch_all (line 217) [INFO] [stdout] src/traits.rs - traits::CrudOps::insert (line 64) [INFO] [stdout] src/traits.rs - traits::CrudOps::select (line 261) [INFO] [stdout] src/traits.rs - traits::CrudOps::select_all (line 313) [INFO] [stdout] src/traits.rs - traits::CrudOps::update (line 101) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::Transaction<'a> (line 401) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::begin (line 15) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_delete (line 167) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_fetch (line 222) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 284) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_insert (line 47) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_update (line 105) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.75s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2ffe70746a57e324f8be73e10cb0778a6e430e1289ad70fda49451fca8e65c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffe70746a57e324f8be73e10cb0778a6e430e1289ad70fda49451fca8e65c72", kill_on_drop: false }` [INFO] [stdout] 2ffe70746a57e324f8be73e10cb0778a6e430e1289ad70fda49451fca8e65c72