[INFO] fetching crate parsql-sqlite 0.5.0... [INFO] testing parsql-sqlite-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate parsql-sqlite 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate parsql-sqlite 0.5.0 [INFO] finished tweaking crates.io crate parsql-sqlite 0.5.0 [INFO] tweaked toml for crates.io crate parsql-sqlite 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parsql-sqlite 0.5.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate parsql-sqlite 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220d86e6dd50ade9c2e12c3e172363c5adba1a55a00d47127238555e4f053c7a [INFO] running `Command { std: "docker" "start" "-a" "220d86e6dd50ade9c2e12c3e172363c5adba1a55a00d47127238555e4f053c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220d86e6dd50ade9c2e12c3e172363c5adba1a55a00d47127238555e4f053c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220d86e6dd50ade9c2e12c3e172363c5adba1a55a00d47127238555e4f053c7a", kill_on_drop: false }` [INFO] [stdout] 220d86e6dd50ade9c2e12c3e172363c5adba1a55a00d47127238555e4f053c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c8e23f927f356a259a05d42f91cfef90cc6f1e93edd64386c851d7b501a2f3a [INFO] running `Command { std: "docker" "start" "-a" "1c8e23f927f356a259a05d42f91cfef90cc6f1e93edd64386c851d7b501a2f3a", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parsql-macros v0.5.0 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling parsql-sqlite v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/transactional_ops.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use rusqlite::{types::FromSql, Connection, Error, Row, ToSql, Transaction}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.68s [INFO] running `Command { std: "docker" "inspect" "1c8e23f927f356a259a05d42f91cfef90cc6f1e93edd64386c851d7b501a2f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c8e23f927f356a259a05d42f91cfef90cc6f1e93edd64386c851d7b501a2f3a", kill_on_drop: false }` [INFO] [stdout] 1c8e23f927f356a259a05d42f91cfef90cc6f1e93edd64386c851d7b501a2f3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96610235602a0f8b376a7befe90e992837c19c71f1ea685b487e6cee554dd7a0 [INFO] running `Command { std: "docker" "start" "-a" "96610235602a0f8b376a7befe90e992837c19c71f1ea685b487e6cee554dd7a0", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parsql-macros v0.5.0 [INFO] [stderr] Compiling parsql-sqlite v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/transactional_ops.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use rusqlite::{types::FromSql, Connection, Error, Row, ToSql, Transaction}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/transactional_ops.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use rusqlite::{types::FromSql, Connection, Error, Row, ToSql, Transaction}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.53s [INFO] running `Command { std: "docker" "inspect" "96610235602a0f8b376a7befe90e992837c19c71f1ea685b487e6cee554dd7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96610235602a0f8b376a7befe90e992837c19c71f1ea685b487e6cee554dd7a0", kill_on_drop: false }` [INFO] [stdout] 96610235602a0f8b376a7befe90e992837c19c71f1ea685b487e6cee554dd7a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8631c4c118f3b5591477aba20a58880c508719acd2425c6579aa46ad0c4e7a9c [INFO] running `Command { std: "docker" "start" "-a" "8631c4c118f3b5591477aba20a58880c508719acd2425c6579aa46ad0c4e7a9c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Row` [INFO] [stderr] --> src/transactional_ops.rs:6:51 [INFO] [stderr] | [INFO] [stderr] 6 | use rusqlite::{types::FromSql, Connection, Error, Row, ToSql, Transaction}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `parsql-sqlite` (lib) generated 1 warning (run `cargo fix --lib -p parsql-sqlite` to apply 1 suggestion) [INFO] [stderr] warning: `parsql-sqlite` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parsql_sqlite-9d3bd29e78d03b0a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests parsql_sqlite [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch (line 352) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch_all (line 427) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::fetch (line 365) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::update (line 197) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select (line 557) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::update (line 213) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::insert (line 109) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::delete (line 295) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::Transaction<'a>::delete (line 123) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 110) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::delete (line 279) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::Transaction<'a>::fetch (line 165) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::Transaction<'a>::update (line 74) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::begin (line 395) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::Transaction<'a>::fetch_all (line 225) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::Transaction<'a>::select_all (line 335) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 61) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_delete (line 514) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::insert (line 93) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::Transaction<'a>::select (line 285) - compile ... FAILED [INFO] [stdout] test src/crud_ops.rs - crud_ops::select_all (line 627) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_insert (line 421) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_fetch (line 556) - compile ... FAILED [INFO] [stdout] test src/traits.rs - traits::CrudOps (line 57) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::Transaction<'a>::insert (line 20) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_select (line 722) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_update (line 465) - compile ... FAILED [INFO] [stdout] test src/transactional_ops.rs - transactional_ops::tx_fetch_all (line 616) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::fetch (line 352) stdout ---- [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/crud_ops.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 352 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 352 + use parsql_sqlite::Queryable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/crud_ops.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 352 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 352 + use parsql_sqlite::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:353:30 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Queryable, FromRow, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 352 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 352 + use parsql_sqlite::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:354:3 [INFO] [stdout] | [INFO] [stdout] 354 | #[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:355:3 [INFO] [stdout] | [INFO] [stdout] 355 | #[where_clause("id = ?")] // 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::fetch_all (line 427) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlQuery` in this scope [INFO] [stdout] --> src/crud_ops.rs:441:14 [INFO] [stdout] | [INFO] [stdout] 441 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 429 + use parsql_sqlite::traits::SqlQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `FromRow` [INFO] [stdout] --> src/crud_ops.rs:441:25 [INFO] [stdout] | [INFO] [stdout] 441 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 429 + use parsql_sqlite::traits::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Row` in this scope [INFO] [stdout] --> src/crud_ops.rs:441:25 [INFO] [stdout] | [INFO] [stdout] 441 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 429 + use parsql_sqlite::Row; [INFO] [stdout] | [INFO] [stdout] 429 + use rusqlite::Row; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/crud_ops.rs:441:25 [INFO] [stdout] | [INFO] [stdout] 441 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 429 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 429 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 429 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 429 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `SqlParams` [INFO] [stdout] --> src/crud_ops.rs:441:34 [INFO] [stdout] | [INFO] [stdout] 441 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 429 + use parsql_sqlite::traits::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:441:34 [INFO] [stdout] | [INFO] [stdout] 441 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 429 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 429 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::fetch (line 365) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlQuery` in this scope [INFO] [stdout] --> src/crud_ops.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 367 + use parsql_sqlite::traits::SqlQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `FromRow` [INFO] [stdout] --> src/crud_ops.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 367 + use parsql_sqlite::traits::FromRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Row` in this scope [INFO] [stdout] --> src/crud_ops.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 367 + use parsql_sqlite::Row; [INFO] [stdout] | [INFO] [stdout] 367 + use rusqlite::Row; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/crud_ops.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 367 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 367 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 367 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 367 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `SqlParams` [INFO] [stdout] --> src/crud_ops.rs:378:34 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 367 + use parsql_sqlite::traits::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:378:34 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Queryable, FromRow, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 367 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 367 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::update (line 197) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlCommand` in this scope [INFO] [stdout] --> src/crud_ops.rs:200:10 [INFO] [stdout] | [INFO] [stdout] 200 | #[derive(Updateable, UpdateParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Updateable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 197 + use parsql_sqlite::SqlCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `UpdateParams` [INFO] [stdout] --> src/crud_ops.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | #[derive(Updateable, UpdateParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `UpdateParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 197 + use parsql_sqlite::traits::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | #[derive(Updateable, UpdateParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `UpdateParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 197 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 197 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::select (line 557) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlQuery` in this scope [INFO] [stdout] --> src/crud_ops.rs:578:14 [INFO] [stdout] | [INFO] [stdout] 578 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 559 + use parsql_sqlite::traits::SqlQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `SqlParams` [INFO] [stdout] --> src/crud_ops.rs:578:25 [INFO] [stdout] | [INFO] [stdout] 578 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 559 + use parsql_sqlite::traits::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:578:25 [INFO] [stdout] | [INFO] [stdout] 578 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 559 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 559 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::update (line 213) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlCommand` in this scope [INFO] [stdout] --> src/crud_ops.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Updateable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 215 + use parsql_sqlite::SqlCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `UpdateParams` [INFO] [stdout] --> src/crud_ops.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `UpdateParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 215 + use parsql_sqlite::traits::UpdateParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Updateable, UpdateParams)] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `UpdateParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 215 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 215 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::insert (line 109) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlCommand` in this scope [INFO] [stdout] --> src/crud_ops.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 111 + use parsql_sqlite::SqlCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `SqlParams` [INFO] [stdout] --> src/crud_ops.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 111 + use parsql_sqlite::traits::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 111 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 111 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::delete (line 295) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlCommand` in this scope [INFO] [stdout] --> src/crud_ops.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deletable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 297 + use parsql_sqlite::SqlCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `SqlParams` [INFO] [stdout] --> src/crud_ops.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 297 + use parsql_sqlite::traits::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(Deletable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 297 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 297 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::Transaction<'a>::delete (line 123) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | use parsql::sqlite::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/transactional_ops.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | use parsql::macros::{Deletable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[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/transactional_ops.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[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 110) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | use parsql::macros::{Insertable, SqlParams, Updateable, UpdateParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | #[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/lib.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | #[update("email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[where_clause("id = ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | tx.commit()?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::delete (line 279) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deletable` in this scope [INFO] [stdout] --> src/crud_ops.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Deletable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 279 + use parsql_macros::Deletable; [INFO] [stdout] | [INFO] [stdout] 279 + use parsql_sqlite::Deletable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Deletable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 279 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 279 + use parsql_sqlite::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:281:3 [INFO] [stdout] | [INFO] [stdout] 281 | #[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:282:3 [INFO] [stdout] | [INFO] [stdout] 282 | #[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/transactional_ops.rs - transactional_ops::Transaction<'a>::fetch (line 165) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | use parsql::sqlite::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/transactional_ops.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | use parsql::macros::{Queryable, SqlParams, FromRow}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | #[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/transactional_ops.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[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/transactional_ops.rs - transactional_ops::Transaction<'a>::update (line 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | use parsql::sqlite::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/transactional_ops.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use parsql::macros::{Updateable, UpdateParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | #[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:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[update("name, email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transactional_ops.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[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/transactional_ops.rs - transactional_ops::begin (line 395) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::Transaction<'a>::fetch_all (line 225) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | use parsql::sqlite::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/transactional_ops.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | use parsql::macros::{Queryable, SqlParams, FromRow}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | #[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/transactional_ops.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | #[where_clause("email LIKE ?")] [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/transactional_ops.rs - transactional_ops::Transaction<'a>::select_all (line 335) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | use parsql::sqlite::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/transactional_ops.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | use parsql::macros::{Queryable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:342:3 [INFO] [stdout] | [INFO] [stdout] 342 | #[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/transactional_ops.rs:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | #[where_clause("email LIKE ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:356:53 [INFO] [stdout] | [INFO] [stdout] 356 | let names: Vec = tx.select_all(¶m, |row| row.get(0))?; [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 356 | let names: Vec = tx.select_all(¶m, |row: /* Type */| row.get(0))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use parsql::sqlite::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:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | use parsql::sqlite::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:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[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:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | #[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:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[where_clause("id = ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Connection` in the current scope [INFO] [stdout] --> src/lib.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let rows_affected = conn.insert(insert_user)?; [INFO] [stdout] | ^^^^^^ method not found in `Connection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn insert FromSql + Send + Sync>( [INFO] [stdout] | ------ the method is available for `Connection` 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] 62 + use parsql_sqlite::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `Connection` in the current scope [INFO] [stdout] --> src/lib.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let user = conn.fetch(&get_user)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | fn fetch(&self, params: &P) -> Result [INFO] [stdout] | ----- the method is available for `Connection` 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] 62 + use parsql_sqlite::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 99 | let user = conn.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/transactional_ops.rs - transactional_ops::tx_delete (line 514) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | use parsql::macros::{Deletable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:520:3 [INFO] [stdout] | [INFO] [stdout] 520 | #[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/transactional_ops.rs:521:3 [INFO] [stdout] | [INFO] [stdout] 521 | #[where_clause("id = ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | tx.commit()?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::insert (line 93) stdout ---- [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/crud_ops.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Insertable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 93 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] 93 + use parsql_sqlite::Insertable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SqlParams` in this scope [INFO] [stdout] --> src/crud_ops.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Insertable, SqlParams)] // Required macros [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 93 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 93 + use parsql_sqlite::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/crud_ops.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[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/transactional_ops.rs - transactional_ops::Transaction<'a>::select (line 285) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | use parsql::sqlite::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/transactional_ops.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | use parsql::macros::{Queryable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:292:3 [INFO] [stdout] | [INFO] [stdout] 292 | #[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/transactional_ops.rs:293:3 [INFO] [stdout] | [INFO] [stdout] 293 | #[where_clause("email LIKE ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | let count: i64 = tx.select(¶m, |row| row.get(0))?; [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 306 | let count: i64 = tx.select(¶m, |row: /* Type */| row.get(0))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/crud_ops.rs - crud_ops::select_all (line 627) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `SqlQuery` in this scope [INFO] [stdout] --> src/crud_ops.rs:650:14 [INFO] [stdout] | [INFO] [stdout] 650 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 629 + use parsql_sqlite::traits::SqlQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `SqlParams` [INFO] [stdout] --> src/crud_ops.rs:650:25 [INFO] [stdout] | [INFO] [stdout] 650 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 629 + use parsql_sqlite::traits::SqlParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSql` in this scope [INFO] [stdout] --> src/crud_ops.rs:650:25 [INFO] [stdout] | [INFO] [stdout] 650 | #[derive(Queryable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SqlParams` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 629 + use parsql_sqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] 629 + use rusqlite::ToSql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0405. [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::tx_insert (line 421) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | use parsql::macros::{Insertable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:427:3 [INFO] [stdout] | [INFO] [stdout] 427 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | tx.commit()?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::tx_fetch (line 556) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | use parsql::macros::{Queryable, SqlParams, FromRow}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:562:3 [INFO] [stdout] | [INFO] [stdout] 562 | #[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/transactional_ops.rs:563:3 [INFO] [stdout] | [INFO] [stdout] 563 | #[where_clause("id = ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 584 | tx.commit()?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::CrudOps (line 57) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/traits.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use parsql::sqlite::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:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use parsql::sqlite::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:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[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:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[table("users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/traits.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[where_clause("id = ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Connection` in the current scope [INFO] [stdout] --> src/traits.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let rows_affected = conn.insert(insert_user)?; [INFO] [stdout] | ^^^^^^ method not found in `Connection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn insert FromSql + Send + Sync>( [INFO] [stdout] | ------ the method is available for `Connection` 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] 58 + use parsql_sqlite::traits::CrudOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Connection` in the current scope [INFO] [stdout] --> src/traits.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let user = conn.get(&get_user)?; [INFO] [stdout] | ^^^ method not found in `Connection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn get + FromRow + SqlParams>(&self, entity: &T) -> Result { [INFO] [stdout] | --- the method is available for `Connection` 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 `get` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 58 + use parsql_sqlite::traits::CrudOps; [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/transactional_ops.rs - transactional_ops::Transaction<'a>::insert (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use parsql::sqlite::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/transactional_ops.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use parsql::macros::{Insertable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[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/transactional_ops.rs - transactional_ops::tx_select (line 722) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | use parsql::macros::{Queryable, SqlParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:728:3 [INFO] [stdout] | [INFO] [stdout] 728 | #[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/transactional_ops.rs:729:3 [INFO] [stdout] | [INFO] [stdout] 729 | #[where_clause("email LIKE ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:745:10 [INFO] [stdout] | [INFO] [stdout] 745 | |row| row.get(0) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 745 | |row: /* Type */| row.get(0) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:750:5 [INFO] [stdout] | [INFO] [stdout] 750 | tx.commit()?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/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] 19 | use parsql::sqlite::{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] 21 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_macros::Insertable; [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_sqlite::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] 21 | #[derive(Insertable, SqlParams)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_sqlite::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] 22 | #[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] 28 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_macros::Queryable; [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_sqlite::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] 28 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_macros::SqlParams; [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_sqlite::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] 28 | #[derive(Queryable, SqlParams, FromRow)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_macros::FromRow; [INFO] [stdout] | [INFO] [stdout] 18 + use parsql_sqlite::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] 29 | #[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] 30 | #[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:49:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct GetUser { [INFO] [stdout] | ------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | 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: `plotters::style::font::FontData` [INFO] [stdout] candidate #3: `rand::distributions::uniform::UniformSampler` [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/transactional_ops.rs - transactional_ops::tx_update (line 465) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | use parsql::macros::{Updateable, UpdateParams}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:471:3 [INFO] [stdout] | [INFO] [stdout] 471 | #[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:472:3 [INFO] [stdout] | [INFO] [stdout] 472 | #[update("name, email")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `where_clause` in this scope [INFO] [stdout] --> src/transactional_ops.rs:473:3 [INFO] [stdout] | [INFO] [stdout] 473 | #[where_clause("id = ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | tx.commit()?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transactional_ops.rs - transactional_ops::tx_fetch_all (line 616) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | use parsql::sqlite::transactional; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `parsql` [INFO] [stdout] --> src/transactional_ops.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | use parsql::macros::{Queryable, SqlParams, FromRow}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `parsql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `parsql`, use `cargo add parsql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/transactional_ops.rs:622:3 [INFO] [stdout] | [INFO] [stdout] 622 | #[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/transactional_ops.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | #[where_clause("active = ?")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:644:39 [INFO] [stdout] | [INFO] [stdout] 644 | println!("Found {} active users", users.len()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transactional_ops.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 646 | tx.commit()?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/crud_ops.rs - crud_ops::delete (line 279) [INFO] [stdout] src/crud_ops.rs - crud_ops::delete (line 295) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch (line 352) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch (line 365) [INFO] [stdout] src/crud_ops.rs - crud_ops::fetch_all (line 427) [INFO] [stdout] src/crud_ops.rs - crud_ops::insert (line 109) [INFO] [stdout] src/crud_ops.rs - crud_ops::insert (line 93) [INFO] [stdout] src/crud_ops.rs - crud_ops::select (line 557) [INFO] [stdout] src/crud_ops.rs - crud_ops::select_all (line 627) [INFO] [stdout] src/crud_ops.rs - crud_ops::update (line 197) [INFO] [stdout] src/crud_ops.rs - crud_ops::update (line 213) [INFO] [stdout] src/lib.rs - (line 110) [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - (line 61) [INFO] [stdout] src/traits.rs - traits::CrudOps (line 57) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::Transaction<'a>::delete (line 123) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::Transaction<'a>::fetch (line 165) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::Transaction<'a>::fetch_all (line 225) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::Transaction<'a>::insert (line 20) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::Transaction<'a>::select (line 285) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::Transaction<'a>::select_all (line 335) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::Transaction<'a>::update (line 74) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::begin (line 395) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_delete (line 514) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_fetch (line 556) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_fetch_all (line 616) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_insert (line 421) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_select (line 722) [INFO] [stdout] src/transactional_ops.rs - transactional_ops::tx_update (line 465) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 29 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8631c4c118f3b5591477aba20a58880c508719acd2425c6579aa46ad0c4e7a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8631c4c118f3b5591477aba20a58880c508719acd2425c6579aa46ad0c4e7a9c", kill_on_drop: false }` [INFO] [stdout] 8631c4c118f3b5591477aba20a58880c508719acd2425c6579aa46ad0c4e7a9c