[INFO] fetching crate parsql-tokio-postgres 0.5.0... [INFO] testing parsql-tokio-postgres-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate parsql-tokio-postgres 0.5.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate parsql-tokio-postgres 0.5.0 [INFO] finished tweaking crates.io crate parsql-tokio-postgres 0.5.0 [INFO] tweaked toml for crates.io crate parsql-tokio-postgres 0.5.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate parsql-tokio-postgres 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.8 [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded rand_core v0.9.0 [INFO] [stderr] Downloaded parsql-macros v0.5.0 [INFO] [stderr] Downloaded is-terminal v0.4.15 [INFO] [stderr] Downloaded postgres-types v0.2.9 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded postgres v0.19.10 [INFO] [stderr] Downloaded zerocopy-derive v0.8.17 [INFO] [stderr] Downloaded rand v0.9.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.13 [INFO] [stderr] Downloaded oorandom v11.1.4 [INFO] [stderr] Downloaded clap_builder v4.5.27 [INFO] [stderr] Downloaded zerocopy v0.8.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9023e2987e0fcac212ac5d3e385d5681d8c7a220a943d3df116448547814e92c [INFO] running `Command { std: "docker" "start" "-a" "9023e2987e0fcac212ac5d3e385d5681d8c7a220a943d3df116448547814e92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9023e2987e0fcac212ac5d3e385d5681d8c7a220a943d3df116448547814e92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9023e2987e0fcac212ac5d3e385d5681d8c7a220a943d3df116448547814e92c", kill_on_drop: false }` [INFO] [stdout] 9023e2987e0fcac212ac5d3e385d5681d8c7a220a943d3df116448547814e92c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f150c8d8c094edf50d5eda853e8cbb8355b53d684aa5c3ed00894111398e281 [INFO] running `Command { std: "docker" "start" "-a" "7f150c8d8c094edf50d5eda853e8cbb8355b53d684aa5c3ed00894111398e281", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling log v0.4.25 [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-automata v0.4.9 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling futures-util v0.3.31 [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 regex v1.11.1 [INFO] [stderr] Compiling parsql-macros v0.5.0 [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 50.97s [INFO] running `Command { std: "docker" "inspect" "7f150c8d8c094edf50d5eda853e8cbb8355b53d684aa5c3ed00894111398e281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f150c8d8c094edf50d5eda853e8cbb8355b53d684aa5c3ed00894111398e281", kill_on_drop: false }` [INFO] [stdout] 7f150c8d8c094edf50d5eda853e8cbb8355b53d684aa5c3ed00894111398e281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b675f9408ee3a5bdbb2bfcf00153fdbb0b58e1353291bcd9dd207f51a79dec35 [INFO] running `Command { std: "docker" "start" "-a" "b675f9408ee3a5bdbb2bfcf00153fdbb0b58e1353291bcd9dd207f51a79dec35", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling ciborium v0.2.2 [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 59.26s [INFO] running `Command { std: "docker" "inspect" "b675f9408ee3a5bdbb2bfcf00153fdbb0b58e1353291bcd9dd207f51a79dec35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b675f9408ee3a5bdbb2bfcf00153fdbb0b58e1353291bcd9dd207f51a79dec35", kill_on_drop: false }` [INFO] [stdout] b675f9408ee3a5bdbb2bfcf00153fdbb0b58e1353291bcd9dd207f51a79dec35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a83c1dac96aca71ee3960fd0dcb7a1607781a9e9b9cddd1af40b40160c00d9a2 [INFO] running `Command { std: "docker" "start" "-a" "a83c1dac96aca71ee3960fd0dcb7a1607781a9e9b9cddd1af40b40160c00d9a2", 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] [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parsql_tokio_postgres-0cdb0a7154d197fb) [INFO] [stderr] Doc-tests parsql_tokio_postgres [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/traits.rs - traits::CrudOps::fetch_all (line 217) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 82) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::delete (line 142) - 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/traits.rs - traits::CrudOps::fetch (line 176) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select (line 261) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::begin (line 15) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::select_all (line 313) - 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_delete (line 167) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_insert (line 47) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_update (line 105) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch (line 222) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps::update (line 101) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 284) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] ---- src/traits.rs - traits::CrudOps::fetch_all (line 217) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | use parsql::tokio_postgres::CrudOps; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | use parsql::macros::{Queryable, FromRow, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | #[where_clause("state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch_all` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let users = client.fetch_all(query).await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | async fn fetch_all
(&self, params: P) -> Result
[INFO] [stdout] | ------ the method is available for `Client` here
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout] |
[INFO] [stdout] 19 + use parsql_tokio_postgres::traits::CrudOps;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `fetch` found for struct `Client` in the current scope
[INFO] [stdout] --> src/lib.rs:73:23
[INFO] [stdout] |
[INFO] [stdout] 73 | let user = client.fetch(get_user).await?;
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:203:14
[INFO] [stdout] |
[INFO] [stdout] 203 | async fn fetch (&self, params: P) -> Result
[INFO] [stdout] | ------ the method is available for `Transaction<'_>` here
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout] |
[INFO] [stdout] 120 + use parsql_tokio_postgres::traits::CrudOps;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout] --> src/lib.rs:146:9
[INFO] [stdout] |
[INFO] [stdout] 146 | let (tx, rows) = transactional::tx_insert(tx, InsertUser {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 | tx.commit().await?;
[INFO] [stdout] | -- type must be known at this point
[INFO] [stdout] |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout] |
[INFO] [stdout] 146 | let (tx, rows): (_, _) = transactional::tx_insert(tx, InsertUser {
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/traits.rs - traits::CrudOps::insert (line 64) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/traits.rs:66:5
[INFO] [stdout] |
[INFO] [stdout] 66 | use parsql::tokio_postgres::CrudOps;
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/traits.rs:67:5
[INFO] [stdout] |
[INFO] [stdout] 67 | use parsql::macros::{Insertable, SqlParams};
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `table` in this scope
[INFO] [stdout] --> src/traits.rs:70:3
[INFO] [stdout] |
[INFO] [stdout] 70 | #[table("users")]
[INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable`
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `Client` in the current scope
[INFO] [stdout] --> src/traits.rs:84:17
[INFO] [stdout] |
[INFO] [stdout] 84 | let id = client.insert(user).await?;
[INFO] [stdout] | ^^^^^^ method not found in `Client`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:88:14
[INFO] [stdout] |
[INFO] [stdout] 88 | async fn insert
[INFO] [stdout] | ------ the method is available for `Client` here
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout] |
[INFO] [stdout] 64 + use parsql_tokio_postgres::traits::CrudOps;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/traits.rs - traits::CrudOps::fetch (line 176) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/traits.rs:178:5
[INFO] [stdout] |
[INFO] [stdout] 178 | use parsql::tokio_postgres::CrudOps;
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/traits.rs:179:5
[INFO] [stdout] |
[INFO] [stdout] 179 | use parsql::macros::{Queryable, FromRow, SqlParams};
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `table` in this scope
[INFO] [stdout] --> src/traits.rs:182:3
[INFO] [stdout] |
[INFO] [stdout] 182 | #[table("users")]
[INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `where_clause` in this scope
[INFO] [stdout] --> src/traits.rs:183:3
[INFO] [stdout] |
[INFO] [stdout] 183 | #[where_clause("id = $")]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `fetch` found for struct `Client` in the current scope
[INFO] [stdout] --> src/traits.rs:199:19
[INFO] [stdout] |
[INFO] [stdout] 199 | let user = client.fetch(query).await?;
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:203:14
[INFO] [stdout] |
[INFO] [stdout] 203 | async fn fetch (&self, params: P) -> Result
[INFO] [stdout] | ------ the method is available for `Transaction<'_>` here
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout] |
[INFO] [stdout] 401 + use parsql_tokio_postgres::traits::CrudOps;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_delete (line 167) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:169:5
[INFO] [stdout] |
[INFO] [stdout] 169 | use parsql::tokio_postgres::transactional;
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:170:5
[INFO] [stdout] |
[INFO] [stdout] 170 | use parsql::macros::{Deletable, SqlParams};
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `table` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:173:3
[INFO] [stdout] |
[INFO] [stdout] 173 | #[table("users")]
[INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `where_clause` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:174:3
[INFO] [stdout] |
[INFO] [stdout] 174 | #[where_clause("id = $")]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout] --> src/transaction_ops.rs:185:5
[INFO] [stdout] |
[INFO] [stdout] 185 | let (transaction, deleted) = transactional::tx_delete(transaction, user).await?;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 186 | transaction.commit().await?;
[INFO] [stdout] | ----------- type must be known at this point
[INFO] [stdout] |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout] |
[INFO] [stdout] 185 | let (transaction, deleted): (_, _) = transactional::tx_delete(transaction, user).await?;
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_insert (line 47) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:49:5
[INFO] [stdout] |
[INFO] [stdout] 49 | use parsql::tokio_postgres::transactional;
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:50:5
[INFO] [stdout] |
[INFO] [stdout] 50 | use parsql::macros::{Insertable, SqlParams};
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `table` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:53:3
[INFO] [stdout] |
[INFO] [stdout] 53 | #[table("users")]
[INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable`
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout] --> src/transaction_ops.rs:68:5
[INFO] [stdout] |
[INFO] [stdout] 68 | let (transaction, rows_affected) = transactional::tx_insert(transaction, user).await?;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 | transaction.commit().await?;
[INFO] [stdout] | ----------- type must be known at this point
[INFO] [stdout] |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout] |
[INFO] [stdout] 68 | let (transaction, rows_affected): (_, _) = transactional::tx_insert(transaction, user).await?;
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_update (line 105) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:107:5
[INFO] [stdout] |
[INFO] [stdout] 107 | use parsql::tokio_postgres::transactional;
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:108:5
[INFO] [stdout] |
[INFO] [stdout] 108 | use parsql::macros::{Updateable, UpdateParams};
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `table` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:111:3
[INFO] [stdout] |
[INFO] [stdout] 111 | #[table("users")]
[INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `update` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:112:3
[INFO] [stdout] |
[INFO] [stdout] 112 | #[update("name, email")]
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `where_clause` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:113:3
[INFO] [stdout] |
[INFO] [stdout] 113 | #[where_clause("id = $")]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout] --> src/transaction_ops.rs:130:5
[INFO] [stdout] |
[INFO] [stdout] 130 | let (transaction, updated) = transactional::tx_update(transaction, user).await?;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 131 | transaction.commit().await?;
[INFO] [stdout] | ----------- type must be known at this point
[INFO] [stdout] |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout] |
[INFO] [stdout] 130 | let (transaction, updated): (_, _) = transactional::tx_update(transaction, user).await?;
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_fetch (line 222) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:224:5
[INFO] [stdout] |
[INFO] [stdout] 224 | use parsql::tokio_postgres::transactional;
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/transaction_ops.rs:225:5
[INFO] [stdout] |
[INFO] [stdout] 225 | use parsql::macros::{Queryable, FromRow, SqlParams};
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `table` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:228:3
[INFO] [stdout] |
[INFO] [stdout] 228 | #[table("users")]
[INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `where_clause` in this scope
[INFO] [stdout] --> src/transaction_ops.rs:229:3
[INFO] [stdout] |
[INFO] [stdout] 229 | #[where_clause("id = $")]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout] --> src/transaction_ops.rs:246:5
[INFO] [stdout] |
[INFO] [stdout] 246 | let (transaction, user) = transactional::tx_fetch(transaction, query).await?;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 247 | transaction.commit().await?;
[INFO] [stdout] | ----------- type must be known at this point
[INFO] [stdout] |
[INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified
[INFO] [stdout] |
[INFO] [stdout] 246 | let (transaction, user): (_, _) = transactional::tx_fetch(transaction, query).await?;
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/traits.rs - traits::CrudOps::update (line 101) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/traits.rs:103:5
[INFO] [stdout] |
[INFO] [stdout] 103 | use parsql::tokio_postgres::CrudOps;
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] --> src/traits.rs:104:5
[INFO] [stdout] |
[INFO] [stdout] 104 | use parsql::macros::{Updateable, UpdateParams};
[INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql`
[INFO] [stdout] |
[INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `table` in this scope
[INFO] [stdout] --> src/traits.rs:107:3
[INFO] [stdout] |
[INFO] [stdout] 107 | #[table("users")]
[INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable`
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `update` in this scope
[INFO] [stdout] --> src/traits.rs:108:3
[INFO] [stdout] |
[INFO] [stdout] 108 | #[update("name, email")]
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `where_clause` in this scope
[INFO] [stdout] --> src/traits.rs:109:3
[INFO] [stdout] |
[INFO] [stdout] 109 | #[where_clause("id = $")]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `update` found for struct `Client` in the current scope
[INFO] [stdout] --> src/traits.rs:125:22
[INFO] [stdout] |
[INFO] [stdout] 125 | let updated = client.update(user).await?;
[INFO] [stdout] | ^^^^^^ method not found in `Client`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:129:14
[INFO] [stdout] |
[INFO] [stdout] 129 | async fn update