[INFO] fetching crate parsql-postgres 0.5.0... [INFO] testing parsql-postgres-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate parsql-postgres 0.5.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate parsql-postgres 0.5.0 [INFO] finished tweaking crates.io crate parsql-postgres 0.5.0 [INFO] tweaked toml for crates.io crate parsql-postgres 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parsql-postgres 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate parsql-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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14c1ec165254a431b265aaeaec746f7c73374a3267ea70708e55f8ef246826eb [INFO] running `Command { std: "docker" "start" "-a" "14c1ec165254a431b265aaeaec746f7c73374a3267ea70708e55f8ef246826eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c1ec165254a431b265aaeaec746f7c73374a3267ea70708e55f8ef246826eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c1ec165254a431b265aaeaec746f7c73374a3267ea70708e55f8ef246826eb", kill_on_drop: false }` [INFO] [stdout] 14c1ec165254a431b265aaeaec746f7c73374a3267ea70708e55f8ef246826eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c32afed9ef7829dd47d3c978247d1e1157aab81b9e8c858ed65700e68c291760 [INFO] running `Command { std: "docker" "start" "-a" "c32afed9ef7829dd47d3c978247d1e1157aab81b9e8c858ed65700e68c291760", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf v0.11.3 [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 tokio v1.43.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand_core v0.9.0 [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 parsql-macros v0.5.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling parsql-postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.71s [INFO] running `Command { std: "docker" "inspect" "c32afed9ef7829dd47d3c978247d1e1157aab81b9e8c858ed65700e68c291760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32afed9ef7829dd47d3c978247d1e1157aab81b9e8c858ed65700e68c291760", kill_on_drop: false }` [INFO] [stdout] c32afed9ef7829dd47d3c978247d1e1157aab81b9e8c858ed65700e68c291760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6efadd19c2422b775ddf34302f9c4cc8350a13b18281d8c289a31fe7f1cbea96 [INFO] running `Command { std: "docker" "start" "-a" "6efadd19c2422b775ddf34302f9c4cc8350a13b18281d8c289a31fe7f1cbea96", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling parsql-postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.90s [INFO] running `Command { std: "docker" "inspect" "6efadd19c2422b775ddf34302f9c4cc8350a13b18281d8c289a31fe7f1cbea96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efadd19c2422b775ddf34302f9c4cc8350a13b18281d8c289a31fe7f1cbea96", kill_on_drop: false }` [INFO] [stdout] 6efadd19c2422b775ddf34302f9c4cc8350a13b18281d8c289a31fe7f1cbea96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad3956d392ead8c36f3aa1cdb5e172f476176eab3b7c0e360130735eb8f2d3fb [INFO] running `Command { std: "docker" "start" "-a" "ad3956d392ead8c36f3aa1cdb5e172f476176eab3b7c0e360130735eb8f2d3fb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parsql_postgres-53ffa9d7e1e1927e) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests parsql_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 23 tests [INFO] [stdout] test src/crud_ops.rs - crud_ops::update (line 160) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select_all (line 547) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::delete (line 256) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch (line 307) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::delete (line 240) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch_all (line 346) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::insert (line 88) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::get_by_query (line 391) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select (line 446) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::update (line 180) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select (line 469) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select_all (line 572) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_delete (line 244) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 114) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_insert (line 118) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::begin (line 83) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_update (line 181) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 364) - compile ... FAILED [INFO] [stdout] test src/transaction_ops.rs - transaction_ops::tx_fetch (line 300) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::insert (line 103) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps (line 58) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 64) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::update (line 160) stdout ---- [INFO] [stdout] error: cannot find derive macro `Updateable` in this scope [INFO] [stdout] --> src/crud_ops.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Updateable, UpdateParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Updateable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Updateable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UpdateParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Updateable, UpdateParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::UpdateParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("table_name")] // Table name to update [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:163:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[update("field1, field2")] // Fields to update (optional) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[where_clause("id = $")] // Update condition [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::select_all (line 547) stdout ---- [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:548:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams)] // Required macros (FromRow is not needed) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams)] // Required macros (FromRow is not needed) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:549:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("table_name")] // Table name to query [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `select` in this scope [INFO] [stdout] --> src/crud_ops.rs:550:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[select("id, name, COUNT(*) as count")] // Custom SELECT statement (optional) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/crud_ops.rs:551:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[where_clause("active = $")] // Query condition [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::delete (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::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: cannot find derive macro `Deletable` in this scope [INFO] [stdout] --> src/crud_ops.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Deletable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Deletable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:261:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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:262:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::fetch (line 307) stdout ---- [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:309:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("table_name")] // Table name to query [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:310:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[where_clause("id = $1")] // WHERE clause with parameter placeholders [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::delete (line 240) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deletable` in this scope [INFO] [stdout] --> src/crud_ops.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deletable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Deletable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Deletable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deletable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:242:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("table_name")] // Table name to delete from [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:243:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[where_clause("id = $")] // Delete condition [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 346) stdout ---- [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:348:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("users")] // Table name to query [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:349:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[where_clause("active = $1")] // WHERE clause with parameter placeholders [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::insert (line 88) stdout ---- [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/crud_ops.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Insertable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Insertable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("table_name")] // Table name to insert into [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/crud_ops.rs - crud_ops::get_by_query (line 391) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::get_by_query; [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 derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FromRow, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::select (line 446) stdout ---- [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:447:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams)] // Required macros (FromRow is not needed) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:447:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Queryable, SqlParams)] // Required macros (FromRow is not needed) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table("table_name")] // Table name to query [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:449:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[where_clause("id = $")] // Query condition [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::update (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::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: cannot find derive macro `Updateable` in this scope [INFO] [stdout] --> src/crud_ops.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Updateable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Updateable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UpdateParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::UpdateParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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:187:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/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:471:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::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: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:473:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:474:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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:475:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::select_all (line 572) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:574:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::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: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:576:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:576:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:577:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `select` in this scope [INFO] [stdout] --> src/crud_ops.rs:578:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[select("id, name, email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_delete (line 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::transactional::{begin, tx_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: cannot find derive macro `Deletable` in this scope [INFO] [stdout] --> src/transaction_ops.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Deletable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Deletable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/transaction_ops.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:249:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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:250:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::transactional::{begin, tx_insert, 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: cannot find derive macro `Updateable` in this scope [INFO] [stdout] --> src/lib.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Updateable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Updateable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UpdateParams` in this scope [INFO] [stdout] --> src/lib.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::UpdateParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/lib.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[where_clause("id = $1")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/lib.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/lib.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_insert (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::transactional::{begin, 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: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/transaction_ops.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/transaction_ops.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::begin (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_update (line 181) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::transactional::{begin, 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: cannot find derive macro `Updateable` in this scope [INFO] [stdout] --> src/transaction_ops.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Updateable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Updateable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UpdateParams` in this scope [INFO] [stdout] --> src/transaction_ops.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::UpdateParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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:187:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[update("name, email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transaction_ops.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 364) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::transactional::{begin, tx_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: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/transaction_ops.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/transaction_ops.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/transaction_ops.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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:370:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[where_clause("active = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transaction_ops.rs - transaction_ops::tx_fetch (line 300) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transaction_ops.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::transactional::{begin, tx_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: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/transaction_ops.rs:304:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/transaction_ops.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/transaction_ops.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transaction_ops.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[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:306:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::insert (line 103) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/crud_ops.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::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: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/crud_ops.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::{fetch, 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: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/lib.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[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_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/lib.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 12 | #[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_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `GetUser` in the current scope [INFO] [stdout] --> src/lib.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GetUser { [INFO] [stdout] | ------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let get_user = GetUser::new(id as i32); [INFO] [stdout] | ^^^ function or associated item not found in `GetUser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #2: `crypto_common::KeyInit` [INFO] [stdout] candidate #3: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `digest::mac::Mac` [INFO] [stdout] candidate #8: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #9: `plotters::style::font::FontData` [INFO] [stdout] candidate #10: `rand::distr::uniform::UniformSampler` [INFO] [stdout] candidate #11: `typenum::marker_traits::Bit` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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 (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::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:61:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::macros::{Insertable, SqlParams, Queryable, FromRow}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/traits.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[where_clause("id = $")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Client` in the current scope [INFO] [stdout] --> src/traits.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 33 | let rows_affected = client.insert(insert_user)?; [INFO] [stdout] | ^^^^^^ method not found in `Client` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn insert FromSql<'a> + Send + Sync>( [INFO] [stdout] | ------ the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_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/traits.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 41 | let user = client.fetch(&get_user)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn fetch(&mut self, params: &P) -> Result [INFO] [stdout] | ----- the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `fetch` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let user = client.fetch_all(&get_user)?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parsql::postgres::CrudOps; // Import the trait [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 4 | use parsql::macros::{Insertable, SqlParams, Queryable, FromRow}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/lib.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[where_clause("id = $1")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Client` in the current scope [INFO] [stdout] --> src/lib.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 31 | let rows_affected = client.insert(insert_user)?; [INFO] [stdout] | ^^^^^^ method not found in `Client` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn insert FromSql<'a> + Send + Sync>( [INFO] [stdout] | ------ the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `insert` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_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:103:23 [INFO] [stdout] | [INFO] [stdout] 40 | let user = client.fetch(&get_user)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn fetch(&mut self, params: &P) -> Result [INFO] [stdout] | ----- the method is available for `Client` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CrudOps` which provides `fetch` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use parsql_postgres::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | let user = client.fetch_all(&get_user)?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/crud_ops.rs - crud_ops::delete (line 240) [INFO] [stdout] src/crud_ops.rs - crud_ops::delete (line 256) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch (line 307) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch_all (line 346) [INFO] [stdout] src/crud_ops.rs - crud_ops::get_by_query (line 391) [INFO] [stdout] src/crud_ops.rs - crud_ops::insert (line 103) [INFO] [stdout] src/crud_ops.rs - crud_ops::insert (line 88) [INFO] [stdout] src/crud_ops.rs - crud_ops::select (line 446) [INFO] [stdout] src/crud_ops.rs - crud_ops::select (line 469) [INFO] [stdout] src/crud_ops.rs - crud_ops::select_all (line 547) [INFO] [stdout] src/crud_ops.rs - crud_ops::select_all (line 572) [INFO] [stdout] src/crud_ops.rs - crud_ops::update (line 160) [INFO] [stdout] src/crud_ops.rs - crud_ops::update (line 180) [INFO] [stdout] src/lib.rs - (line 114) [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] src/traits.rs - traits::CrudOps (line 58) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::begin (line 83) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_delete (line 244) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_fetch (line 300) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_fetch_all (line 364) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_insert (line 118) [INFO] [stdout] src/transaction_ops.rs - transaction_ops::tx_update (line 181) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ad3956d392ead8c36f3aa1cdb5e172f476176eab3b7c0e360130735eb8f2d3fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad3956d392ead8c36f3aa1cdb5e172f476176eab3b7c0e360130735eb8f2d3fb", kill_on_drop: false }` [INFO] [stdout] ad3956d392ead8c36f3aa1cdb5e172f476176eab3b7c0e360130735eb8f2d3fb