[INFO] fetching crate parsql-tokio-postgres 0.5.0... [INFO] testing parsql-tokio-postgres-0.5.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate parsql-tokio-postgres 0.5.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parsql-tokio-postgres 0.5.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 764e447e5201236155a0d99c52d54eb10ffc7f182f116b4441366df9d75acf0b [INFO] running `Command { std: "docker" "start" "-a" "764e447e5201236155a0d99c52d54eb10ffc7f182f116b4441366df9d75acf0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "764e447e5201236155a0d99c52d54eb10ffc7f182f116b4441366df9d75acf0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764e447e5201236155a0d99c52d54eb10ffc7f182f116b4441366df9d75acf0b", kill_on_drop: false }` [INFO] [stdout] 764e447e5201236155a0d99c52d54eb10ffc7f182f116b4441366df9d75acf0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb8a7d797bfcf55355ec7f0c210d6314fe26580313cfb89e8f991f361e800632 [INFO] running `Command { std: "docker" "start" "-a" "cb8a7d797bfcf55355ec7f0c210d6314fe26580313cfb89e8f991f361e800632", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [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 regex v1.11.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parsql-macros v0.5.0 [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 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 22.65s [INFO] running `Command { std: "docker" "inspect" "cb8a7d797bfcf55355ec7f0c210d6314fe26580313cfb89e8f991f361e800632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8a7d797bfcf55355ec7f0c210d6314fe26580313cfb89e8f991f361e800632", kill_on_drop: false }` [INFO] [stdout] cb8a7d797bfcf55355ec7f0c210d6314fe26580313cfb89e8f991f361e800632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7005e8e340fc8b7487e7517ad08bcbe62953ef1fbe71f03e46fc54455baedd5b [INFO] running `Command { std: "docker" "start" "-a" "7005e8e340fc8b7487e7517ad08bcbe62953ef1fbe71f03e46fc54455baedd5b", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling ciborium v0.2.2 [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 24.93s [INFO] running `Command { std: "docker" "inspect" "7005e8e340fc8b7487e7517ad08bcbe62953ef1fbe71f03e46fc54455baedd5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7005e8e340fc8b7487e7517ad08bcbe62953ef1fbe71f03e46fc54455baedd5b", kill_on_drop: false }` [INFO] [stdout] 7005e8e340fc8b7487e7517ad08bcbe62953ef1fbe71f03e46fc54455baedd5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 246b038bb84fb759f898e885fef7c8b814a0668445401ff0bfa9200869ebd674 [INFO] running `Command { std: "docker" "start" "-a" "246b038bb84fb759f898e885fef7c8b814a0668445401ff0bfa9200869ebd674", 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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parsql_tokio_postgres-fa41f631b5308f88) [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] [stderr] Doc-tests parsql_tokio_postgres [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_insert (line 47) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::begin (line 15) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_delete (line 167) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select (line 261) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::update (line 101) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::delete (line 142) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_update (line 105) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select_all (line 313) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 82) - compile ... FAILED [INFO] [stdout] test src/lib.rs - transaction_ops (line 119) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::insert (line 64) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch (line 222) - 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_fetch_all (line 284) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::fetch_all (line 217) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::fetch (line 176) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] 5 | 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] 8 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this 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] 4 | 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this 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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [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] 3 | 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] 4 | 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] 7 | #[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] 14 | #[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] 15 | #[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] 52 | 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] 2 + 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] 56 | 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] 2 + 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] 56 | 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/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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[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] 10 | #[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] 34 | 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] 2 + 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] 34 | 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/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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[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] 10 | #[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] 26 | 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] 2 + 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/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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[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] 19 | 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] 2 + 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/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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[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] 10 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this 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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[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] 10 | #[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] 34 | 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] 2 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `select` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - let users = client.select_all(query, convert_row).await?; [INFO] [stdout] 34 + 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/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] 3 | 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] 4 | 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] 18 | let users = client.fetch_all(active_users_query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] 3 | 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] 4 | 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] 7 | #[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] 20 | 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] 2 + 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::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] 4 | 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] 5 | 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] 8 | #[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] 22 | 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] 2 + 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_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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this 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] 4 | 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] 5 | 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] 8 | #[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] 25 | 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] 2 + 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_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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[where_clause("state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[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] 27 | 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] 2 + use parsql_tokio_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - let users = client.fetch_all(query).await?; [INFO] [stdout] 27 + 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/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] 4 | 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] 5 | 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] 8 | #[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] 9 | #[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] 25 | 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] 2 + 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] 25 | 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] [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 0.73s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "246b038bb84fb759f898e885fef7c8b814a0668445401ff0bfa9200869ebd674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246b038bb84fb759f898e885fef7c8b814a0668445401ff0bfa9200869ebd674", kill_on_drop: false }` [INFO] [stdout] 246b038bb84fb759f898e885fef7c8b814a0668445401ff0bfa9200869ebd674