[INFO] fetching crate parsql-tokio-postgres 0.4.0... [INFO] testing parsql-tokio-postgres-0.4.0 against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] extracting crate parsql-tokio-postgres 0.4.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate parsql-tokio-postgres 0.4.0 on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parsql-tokio-postgres 0.4.0 [INFO] finished tweaking crates.io crate parsql-tokio-postgres 0.4.0 [INFO] tweaked toml for crates.io crate parsql-tokio-postgres 0.4.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate parsql-tokio-postgres 0.4.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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.19.10 [INFO] [stderr] Downloaded parsql-macros v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa0584948c071ffa2be9e57c957992a528f6f15895c776e896dac8fd51010c65 [INFO] running `Command { std: "docker" "start" "-a" "aa0584948c071ffa2be9e57c957992a528f6f15895c776e896dac8fd51010c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa0584948c071ffa2be9e57c957992a528f6f15895c776e896dac8fd51010c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0584948c071ffa2be9e57c957992a528f6f15895c776e896dac8fd51010c65", kill_on_drop: false }` [INFO] [stdout] aa0584948c071ffa2be9e57c957992a528f6f15895c776e896dac8fd51010c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc79ccf6bfb548ebf2e51cfa57248983c6393e67133cb0d4e209a2fef40c13a2 [INFO] running `Command { std: "docker" "start" "-a" "dc79ccf6bfb548ebf2e51cfa57248983c6393e67133cb0d4e209a2fef40c13a2", 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 version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling rand_core v0.9.0 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [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.4.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.4.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.70s [INFO] running `Command { std: "docker" "inspect" "dc79ccf6bfb548ebf2e51cfa57248983c6393e67133cb0d4e209a2fef40c13a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc79ccf6bfb548ebf2e51cfa57248983c6393e67133cb0d4e209a2fef40c13a2", kill_on_drop: false }` [INFO] [stdout] dc79ccf6bfb548ebf2e51cfa57248983c6393e67133cb0d4e209a2fef40c13a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61143e7d9bf321696db6ea28d8076d1fc2ae879b207d64ac35cf57c95099d703 [INFO] running `Command { std: "docker" "start" "-a" "61143e7d9bf321696db6ea28d8076d1fc2ae879b207d64ac35cf57c95099d703", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap v4.5.28 [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.4.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` 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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.19s [INFO] running `Command { std: "docker" "inspect" "61143e7d9bf321696db6ea28d8076d1fc2ae879b207d64ac35cf57c95099d703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61143e7d9bf321696db6ea28d8076d1fc2ae879b207d64ac35cf57c95099d703", kill_on_drop: false }` [INFO] [stdout] 61143e7d9bf321696db6ea28d8076d1fc2ae879b207d64ac35cf57c95099d703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08136578b42c34c570aa223ab10c0b8869f207f903cae0a8500febcdeac8d126 [INFO] running `Command { std: "docker" "start" "-a" "08136578b42c34c570aa223ab10c0b8869f207f903cae0a8500febcdeac8d126", kill_on_drop: false }` [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `parsql-tokio-postgres` (lib) generated 1 warning (run `cargo fix --lib -p parsql-tokio-postgres` to apply 1 suggestion) [INFO] [stderr] warning: `parsql-tokio-postgres` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parsql_tokio_postgres-284362704d707f13) [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/transaction_ops.rs - transaction_ops::begin (line 15) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 82) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::update (line 91) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch (line 225) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::Transaction<'a> (line 406) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::fetch (line 166) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_delete (line 169) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 288) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_insert (line 47) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::insert (line 54) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::fetch_all (line 206) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select (line 249) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::delete (line 132) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select_all (line 301) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_update (line 106) - compile ... FAILED [INFO] [stdout] test src/lib.rs - transaction_ops (line 119) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/traits.rs - traits::CrudOps::update (line 91) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:93: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:94: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:97: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:98: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:99: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:115: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:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | 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/transaction_ops.rs - transaction_ops::tx_fetch (line 225) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:227: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:228: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:231: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:232: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 406) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:408: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:409: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:412: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` in the current scope [INFO] [stdout] --> src/transaction_ops.rs:429: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:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | 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::fetch (line 166) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:168: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:169: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:172: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:173: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:189:19 [INFO] [stdout] | [INFO] [stdout] 25 | let user = client.fetch(query).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn fetch(&self, params: 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 `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] ---- src/transaction_ops.rs - transaction_ops::tx_delete (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:171: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:172: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:175: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:176: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::tx_fetch_all (line 288) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:290: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:291: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:294: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:295: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/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/traits.rs - traits::CrudOps::insert (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:56: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:57: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:60: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:74: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:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | 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/traits.rs - traits::CrudOps::fetch_all (line 206) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:208: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:209: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:212: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:213: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:231: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:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | async fn fetch_all(&self, params: T) -> 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::select (line 249) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:251: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:252: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:255: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:256: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:257: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:281: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:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | 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::delete (line 132) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:134: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:135: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:138: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:139: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:149: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:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | 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/traits.rs - traits::CrudOps::select_all (line 301) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:303: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:304: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:307: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:308: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:309: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:333: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:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | 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/transaction_ops.rs - transaction_ops::tx_update (line 106) 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] 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:109: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:112: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:113: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:114: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/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` 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:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | 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/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:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | 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:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | async fn fetch(&self, params: 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 `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] [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 132) [INFO] [stdout] src/traits.rs - traits::CrudOps::fetch (line 166) [INFO] [stdout] src/traits.rs - traits::CrudOps::fetch_all (line 206) [INFO] [stdout] src/traits.rs - traits::CrudOps::insert (line 54) [INFO] [stdout] src/traits.rs - traits::CrudOps::select (line 249) [INFO] [stdout] src/traits.rs - traits::CrudOps::select_all (line 301) [INFO] [stdout] src/traits.rs - traits::CrudOps::update (line 91) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::Transaction<'a> (line 406) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::begin (line 15) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_delete (line 169) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_fetch (line 225) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 288) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_insert (line 47) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_update (line 106) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.77s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "08136578b42c34c570aa223ab10c0b8869f207f903cae0a8500febcdeac8d126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08136578b42c34c570aa223ab10c0b8869f207f903cae0a8500febcdeac8d126", kill_on_drop: false }` [INFO] [stdout] 08136578b42c34c570aa223ab10c0b8869f207f903cae0a8500febcdeac8d126