[INFO] fetching crate parsql-deadpool-postgres 0.5.0... [INFO] testing parsql-deadpool-postgres-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate parsql-deadpool-postgres 0.5.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate parsql-deadpool-postgres 0.5.0 [INFO] finished tweaking crates.io crate parsql-deadpool-postgres 0.5.0 [INFO] tweaked toml for crates.io crate parsql-deadpool-postgres 0.5.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate parsql-deadpool-postgres 0.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate parsql-deadpool-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-postgres v0.14.1 [INFO] [stderr] Downloaded parsql-macros v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7698cd6a7462d84539b324e5f4502accbc65b14c9bc1bcb28e5b37ae2a270cfd [INFO] running `Command { std: "docker" "start" "-a" "7698cd6a7462d84539b324e5f4502accbc65b14c9bc1bcb28e5b37ae2a270cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7698cd6a7462d84539b324e5f4502accbc65b14c9bc1bcb28e5b37ae2a270cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7698cd6a7462d84539b324e5f4502accbc65b14c9bc1bcb28e5b37ae2a270cfd", kill_on_drop: false }` [INFO] [stdout] 7698cd6a7462d84539b324e5f4502accbc65b14c9bc1bcb28e5b37ae2a270cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45dfa71708bc1851ed2b95df0817bcd8501427fe61dd656b8b77705e09382a80 [INFO] running `Command { std: "docker" "start" "-a" "45dfa71708bc1851ed2b95df0817bcd8501427fe61dd656b8b77705e09382a80", 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 typenum v1.17.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling base64 v0.22.1 [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 phf_shared v0.11.3 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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 socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling deadpool v0.12.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling parsql-macros v0.5.0 [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 deadpool-postgres v0.14.1 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling parsql-deadpool-postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CrudOps` [INFO] [stdout] --> src/transactional_ops.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [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: `CrudOps` [INFO] [stdout] --> src/pool_extensions.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/pool_extensions.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_postgres::{Error, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `crud_ops::get`: Renamed to `fetch`. Please use `fetch` function instead. [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `crud_ops::get_all`: Renamed to `fetch_all`. Please use `fetch_all` function instead. [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | get_all, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateParams` [INFO] [stdout] --> src/transactional_ops.rs:7:72 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.92s [INFO] running `Command { std: "docker" "inspect" "45dfa71708bc1851ed2b95df0817bcd8501427fe61dd656b8b77705e09382a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45dfa71708bc1851ed2b95df0817bcd8501427fe61dd656b8b77705e09382a80", kill_on_drop: false }` [INFO] [stdout] 45dfa71708bc1851ed2b95df0817bcd8501427fe61dd656b8b77705e09382a80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e271bbccf4d0f2d2a35be4e509eb4ff001a61d3b79d1ab8fe713bf48ba432370 [INFO] running `Command { std: "docker" "start" "-a" "e271bbccf4d0f2d2a35be4e509eb4ff001a61d3b79d1ab8fe713bf48ba432370", kill_on_drop: false }` [INFO] [stderr] Compiling parsql-deadpool-postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CrudOps` [INFO] [stdout] --> src/transactional_ops.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [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: `CrudOps` [INFO] [stdout] --> src/pool_extensions.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/pool_extensions.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_postgres::{Error, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `crud_ops::get`: Renamed to `fetch`. Please use `fetch` function instead. [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `crud_ops::get_all`: Renamed to `fetch_all`. Please use `fetch_all` function instead. [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | get_all, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateParams` [INFO] [stdout] --> src/transactional_ops.rs:7:72 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrudOps` [INFO] [stdout] --> src/transactional_ops.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [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: `CrudOps` [INFO] [stdout] --> src/pool_extensions.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/pool_extensions.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_postgres::{Error, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `crud_ops::get`: Renamed to `fetch`. Please use `fetch` function instead. [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `crud_ops::get_all`: Renamed to `fetch_all`. Please use `fetch_all` function instead. [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | get_all, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateParams` [INFO] [stdout] --> src/transactional_ops.rs:7:72 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.57s [INFO] running `Command { std: "docker" "inspect" "e271bbccf4d0f2d2a35be4e509eb4ff001a61d3b79d1ab8fe713bf48ba432370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e271bbccf4d0f2d2a35be4e509eb4ff001a61d3b79d1ab8fe713bf48ba432370", kill_on_drop: false }` [INFO] [stdout] e271bbccf4d0f2d2a35be4e509eb4ff001a61d3b79d1ab8fe713bf48ba432370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 752852ddc5e6f85072dc3cb932b3aefa20841555b6cbc7f2ad42805700a65e5a [INFO] running `Command { std: "docker" "start" "-a" "752852ddc5e6f85072dc3cb932b3aefa20841555b6cbc7f2ad42805700a65e5a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `CrudOps` [INFO] [stderr] --> src/transactional_ops.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `CrudOps` [INFO] [stderr] --> src/pool_extensions.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Row` [INFO] [stderr] --> src/pool_extensions.rs:5:29 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_postgres::{Error, Row}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `crud_ops::get`: Renamed to `fetch`. Please use `fetch` function instead. [INFO] [stderr] --> src/lib.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | get, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `crud_ops::get_all`: Renamed to `fetch_all`. Please use `fetch_all` function instead. [INFO] [stderr] --> src/lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | get_all, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UpdateParams` [INFO] [stderr] --> src/transactional_ops.rs:7:72 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::traits::{CrudOps, FromRow, SqlCommand, SqlParams, SqlQuery, UpdateParams}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `parsql-deadpool-postgres` (lib) generated 6 warnings (run `cargo fix --lib -p parsql-deadpool-postgres` to apply 3 suggestions) [INFO] [stderr] warning: `parsql-deadpool-postgres` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parsql_deadpool_postgres-4617c41c8a0ce13c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests parsql_deadpool_postgres [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::begin (line 20) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select_all (line 551) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch_all (line 392) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_insert (line 171) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::delete (line 228) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch (line 281) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch (line 300) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::insert (line 33) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_update (line 64) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::update (line 147) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::insert (line 48) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select (line 469) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_update (line 102) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::delete (line 212) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch_all (line 372) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::update (line 127) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::begin (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::deadpool_postgres::transactional::begin; [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 `tokio` [INFO] [stdout] --> src/transactional_ops.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error` [INFO] [stdout] --> src/transactional_ops.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 12 | let pool = cfg.create_pool(Some(Runtime::Tokio1), NoTls)?; [INFO] [stdout] | -----------------------------------------^ the trait `From>` is not implemented for `tokio_postgres::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, deadpool::managed::config::CreatePoolError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error` [INFO] [stdout] --> src/transactional_ops.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 13 | let mut client = pool.get().await?; [INFO] [stdout] | ----------------^ the trait `From>` is not implemented for `tokio_postgres::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, deadpool::managed::errors::PoolError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/transactional_ops.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::select_all (line 551) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::tokio_postgres::pool_crud_ops::select_all; [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 `tokio` [INFO] [stdout] --> src/crud_ops.rs:585:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:556:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:557: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 `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:558:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[where_clause("state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/crud_ops.rs:586:1 [INFO] [stdout] | [INFO] [stdout] 36 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::fetch_all (line 392) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::tokio_postgres::pool_crud_ops::fetch_all; [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 `tokio` [INFO] [stdout] --> src/crud_ops.rs:418:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:397:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:397:32 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:398: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 `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[where_clause("state = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/crud_ops.rs:419:1 [INFO] [stdout] | [INFO] [stdout] 28 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::tx_insert (line 171) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::deadpool_postgres::transactional::tx_insert; [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 `tokio` [INFO] [stdout] --> src/transactional_ops.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/transactional_ops.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/transactional_ops.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:177: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[E0277]: `?` couldn't convert the error to `tokio_postgres::Error` [INFO] [stdout] --> src/transactional_ops.rs:190:61 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = cfg.create_pool(Some(Runtime::Tokio1), NoTls)?; [INFO] [stdout] | -----------------------------------------^ the trait `From>` is not implemented for `tokio_postgres::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, deadpool::managed::config::CreatePoolError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error` [INFO] [stdout] --> src/transactional_ops.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 21 | let client = pool.get().await?; [INFO] [stdout] | ----------------^ the trait `From>` is not implemented for `tokio_postgres::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, deadpool::managed::errors::PoolError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/transactional_ops.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::delete (line 228) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::tokio_postgres::pool_crud_ops::delete; [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 `tokio` [INFO] [stdout] --> src/crud_ops.rs:240:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deletable` in this scope [INFO] [stdout] --> src/crud_ops.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Deletable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Deletable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:234: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 `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/crud_ops.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::fetch (line 281) stdout ---- [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams, FromRow)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams, FromRow)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:282:32 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams, FromRow)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("tablo_adi")] // Sorgulanacak tablo adı [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/crud_ops.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[where_clause("id = $")] // Sorgu koşulu [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::fetch (line 300) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::tokio_postgres::pool_crud_ops::fetch; [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 `tokio` [INFO] [stdout] --> src/crud_ops.rs:326:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:305:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:305:32 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:306: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 `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/crud_ops.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 28 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::insert (line 33) stdout ---- [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/crud_ops.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Insertable, SqlParams)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Insertable, SqlParams)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("tablo_adi")] // Ekleme yapılacak tablo adı [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] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::tx_update (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::deadpool_postgres::transactional::begin_from_pool; [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 `tokio` [INFO] [stdout] --> src/transactional_ops.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error` [INFO] [stdout] --> src/transactional_ops.rs:75:61 [INFO] [stdout] | [INFO] [stdout] 12 | let pool = cfg.create_pool(Some(Runtime::Tokio1), NoTls)?; [INFO] [stdout] | -----------------------------------------^ the trait `From>` is not implemented for `tokio_postgres::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, deadpool::managed::config::CreatePoolError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/transactional_ops.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::update (line 147) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::tokio_postgres::pool_crud_ops::update; [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 `tokio` [INFO] [stdout] --> src/crud_ops.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Updateable` in this scope [INFO] [stdout] --> src/crud_ops.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Updateable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Updateable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UpdateParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::UpdateParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:153: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 `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/crud_ops.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::insert (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::tokio_postgres::pool_crud_ops::insert; [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 `tokio` [INFO] [stdout] --> src/crud_ops.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/crud_ops.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:54: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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/crud_ops.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::select (line 469) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::tokio_postgres::pool_crud_ops::select; [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 `tokio` [INFO] [stdout] --> src/crud_ops.rs:503:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:474:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:474:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:475: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 `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:476:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/crud_ops.rs:504:1 [INFO] [stdout] | [INFO] [stdout] 36 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::tx_update (line 102) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::deadpool_postgres::transactional::tx_update; [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 `tokio` [INFO] [stdout] --> src/transactional_ops.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Updateable` in this scope [INFO] [stdout] --> src/transactional_ops.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Updateable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Updateable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UpdateParams` in this scope [INFO] [stdout] --> src/transactional_ops.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::UpdateParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:108: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 `update` in this scope [INFO] [stdout] --> src/transactional_ops.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[update("name, email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transactional_ops.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error` [INFO] [stdout] --> src/transactional_ops.rs:123:61 [INFO] [stdout] | [INFO] [stdout] 22 | let pool = cfg.create_pool(Some(Runtime::Tokio1), NoTls)?; [INFO] [stdout] | -----------------------------------------^ the trait `From>` is not implemented for `tokio_postgres::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, deadpool::managed::config::CreatePoolError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error` [INFO] [stdout] --> src/transactional_ops.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 23 | let client = pool.get().await?; [INFO] [stdout] | ----------------^ the trait `From>` is not implemented for `tokio_postgres::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, deadpool::managed::errors::PoolError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/transactional_ops.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::delete (line 212) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deletable` in this scope [INFO] [stdout] --> src/crud_ops.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deletable, SqlParams)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Deletable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Deletable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deletable, SqlParams)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("tablo_adi")] // Silinecek tablo adı [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/crud_ops.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[where_clause("id = $")] // Silme koşulu [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::fetch_all (line 372) stdout ---- [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams, FromRow)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams, FromRow)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:373:32 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams, FromRow)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:374:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("tablo_adi")] // Sorgulanacak tablo adı [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/crud_ops.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[where_clause("state = $")] // Sorgu koşulu [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::update (line 127) stdout ---- [INFO] [stdout] error: cannot find derive macro `Updateable` in this scope [INFO] [stdout] --> src/crud_ops.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Updateable, UpdateParams)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::Updateable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Updateable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UpdateParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Updateable, UpdateParams)] // Gerekli makrolar [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_deadpool_postgres::UpdateParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("tablo_adi")] // Güncellenecek tablo adı [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/crud_ops.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[update("alan1, alan2")] // Güncellenecek alanlar (isteğe bağlı) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[where_clause("id = $")] // Güncelleme koşulu [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/crud_ops.rs - crud_ops::delete (line 212) [INFO] [stdout] src/crud_ops.rs - crud_ops::delete (line 228) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch (line 281) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch (line 300) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch_all (line 372) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch_all (line 392) [INFO] [stdout] src/crud_ops.rs - crud_ops::insert (line 33) [INFO] [stdout] src/crud_ops.rs - crud_ops::insert (line 48) [INFO] [stdout] src/crud_ops.rs - crud_ops::select (line 469) [INFO] [stdout] src/crud_ops.rs - crud_ops::select_all (line 551) [INFO] [stdout] src/crud_ops.rs - crud_ops::update (line 127) [INFO] [stdout] src/crud_ops.rs - crud_ops::update (line 147) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::begin (line 20) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_insert (line 171) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_update (line 102) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_update (line 64) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "752852ddc5e6f85072dc3cb932b3aefa20841555b6cbc7f2ad42805700a65e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752852ddc5e6f85072dc3cb932b3aefa20841555b6cbc7f2ad42805700a65e5a", kill_on_drop: false }` [INFO] [stdout] 752852ddc5e6f85072dc3cb932b3aefa20841555b6cbc7f2ad42805700a65e5a