[INFO] fetching crate sql_tools 0.6.0... [INFO] testing sql_tools-0.6.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sql_tools 0.6.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate sql_tools 0.6.0 [INFO] finished tweaking crates.io crate sql_tools 0.6.0 [INFO] tweaked toml for crates.io crate sql_tools 0.6.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sql_tools 0.6.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 sql_tools 0.6.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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b829248d4d6cd4857bfa806daa725d9b3b151a0e054f765bddd24eedf2bf41dc [INFO] running `Command { std: "docker" "start" "-a" "b829248d4d6cd4857bfa806daa725d9b3b151a0e054f765bddd24eedf2bf41dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b829248d4d6cd4857bfa806daa725d9b3b151a0e054f765bddd24eedf2bf41dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b829248d4d6cd4857bfa806daa725d9b3b151a0e054f765bddd24eedf2bf41dc", kill_on_drop: false }` [INFO] [stdout] b829248d4d6cd4857bfa806daa725d9b3b151a0e054f765bddd24eedf2bf41dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a83bc5b2000e1bef8e4fab739b0ab4d0a7eef961b7e1b048cd450969c443aa55 [INFO] running `Command { std: "docker" "start" "-a" "a83bc5b2000e1bef8e4fab739b0ab4d0a7eef961b7e1b048cd450969c443aa55", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling odpic-sys v0.1.1 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling oracle_procmacro v0.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling oracle v0.6.3 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling sql_tools v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] --> src/statements/create/sql_implementations/sqlite/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | num = num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] --> src/statements/create/sql_implementations/oracle/mod.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | num = num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.13s [INFO] running `Command { std: "docker" "inspect" "a83bc5b2000e1bef8e4fab739b0ab4d0a7eef961b7e1b048cd450969c443aa55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83bc5b2000e1bef8e4fab739b0ab4d0a7eef961b7e1b048cd450969c443aa55", kill_on_drop: false }` [INFO] [stdout] a83bc5b2000e1bef8e4fab739b0ab4d0a7eef961b7e1b048cd450969c443aa55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ebebcddaa27e38a99063f9bb7ae6c2630a082929118e1ffad78879e7738855cc [INFO] running `Command { std: "docker" "start" "-a" "ebebcddaa27e38a99063f9bb7ae6c2630a082929118e1ffad78879e7738855cc", kill_on_drop: false }` [INFO] [stdout] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] --> src/statements/create/sql_implementations/sqlite/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | num = num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sql_tools v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] --> src/statements/create/sql_implementations/oracle/mod.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | num = num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] --> src/statements/create/sql_implementations/sqlite/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | num = num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] --> src/statements/create/sql_implementations/oracle/mod.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | num = num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "ebebcddaa27e38a99063f9bb7ae6c2630a082929118e1ffad78879e7738855cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebebcddaa27e38a99063f9bb7ae6c2630a082929118e1ffad78879e7738855cc", kill_on_drop: false }` [INFO] [stdout] ebebcddaa27e38a99063f9bb7ae6c2630a082929118e1ffad78879e7738855cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d9e93a8ddce40941dc978574601226d9210f9003aa92542e84d3f618dd86d114 [INFO] running `Command { std: "docker" "start" "-a" "d9e93a8ddce40941dc978574601226d9210f9003aa92542e84d3f618dd86d114", kill_on_drop: false }` [INFO] [stderr] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] [INFO] [stderr] --> src/statements/create/sql_implementations/sqlite/mod.rs:22:21 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 22 | num = num [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: useless assignment of variable of type `usize` to itself [INFO] [stderr] --> src/statements/create/sql_implementations/oracle/mod.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | num = num [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sql_tools` (lib) generated 2 warnings [INFO] [stderr] warning: `sql_tools` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sql_tools-c4cb969a8c1e127d) [INFO] [stderr] Doc-tests sql_tools [INFO] [stdout] [INFO] [stdout] running 43 tests [INFO] [stdout] test src/data_types/mod.rs - data_types::ToSQLData (line 54) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 146) ... FAILED [INFO] [stdout] test src/../README.md - (line 120) ... FAILED [INFO] [stdout] test src/../README.md - (line 16) ... FAILED [INFO] [stdout] test src/../README.md - (line 50) ... FAILED [INFO] [stdout] test src/lib.rs - QueryBuilder::alter (line 143) - compile ... FAILED [INFO] [stdout] test src/lib.rs - QueryBuilder::select (line 58) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 103) ... FAILED [INFO] [stdout] test src/lib.rs - QueryBuilder::insert (line 100) - compile ... FAILED [INFO] [stdout] test src/data_types/mod.rs - data_types::ToSQLData (line 36) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 86) ... FAILED [INFO] [stdout] test src/../README.md - (line 38) ... ok [INFO] [stdout] test src/lib.rs - QueryBuilder::update (line 79) - compile ... FAILED [INFO] [stdout] test src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::add (line 46) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 213) ... FAILED [INFO] [stdout] test src/../README.md - (line 98) ... FAILED [INFO] [stdout] test src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::modify (line 68) - compile ... FAILED [INFO] [stdout] test src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::drop (line 90) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 133) ... FAILED [INFO] [stdout] test src/statements/delete/mod.rs - statements::delete::DeleteBuilder::where_not (line 25) - compile ... FAILED [INFO] [stdout] test src/statements/delete/mod.rs - statements::delete::DeleteBuilder::where_in (line 17) - compile ... FAILED [INFO] [stdout] test src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::rename (line 122) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 154) ... FAILED [INFO] [stdout] test src/statements/select/mod.rs - statements::select::SelectBuilder::where_in (line 135) - compile ... FAILED [INFO] [stdout] test src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::rename_column (line 106) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 196) ... FAILED [INFO] [stdout] test src/../README.md - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - QueryBuilder::create (line 129) - compile ... FAILED [INFO] [stdout] test src/lib.rs - QueryBuilder::delete (line 155) - compile ... FAILED [INFO] [stdout] test src/lib.rs - QueryBuilder::create (line 115) - compile ... FAILED [INFO] [stdout] test src/statements/select/mod.rs - statements::select::SelectBuilder::left_join (line 119) - compile ... FAILED [INFO] [stdout] test src/statements/select/mod.rs - statements::select::SelectBuilder::right_join (line 100) - compile ... FAILED [INFO] [stdout] test src/statements/select/mod.rs - statements::select::SelectBuilder::inner_join (line 62) - compile ... FAILED [INFO] [stdout] test src/statements/select/mod.rs - statements::select::SelectBuilder::outer_join (line 81) - compile ... FAILED [INFO] [stdout] test src/statements/select/mod.rs - statements::select::SelectBuilder::where_not (line 143) - compile ... FAILED [INFO] [stdout] test src/statements/update/mod.rs - statements::update::UpdateBuilder::where_in (line 45) - compile ... FAILED [INFO] [stdout] test src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::and_not (line 49) - compile ... FAILED [INFO] [stdout] test src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::and (line 11) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 27) ... ok [INFO] [stdout] test src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::or_not (line 65) - compile ... FAILED [INFO] [stdout] test src/statements/update/mod.rs - statements::update::UpdateBuilder::where_not (line 60) - compile ... FAILED [INFO] [stdout] test src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::or (line 33) - compile ... FAILED [INFO] [stdout] test src/statements/update/mod.rs - statements::update::UpdateBuilder::set (line 34) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/data_types/mod.rs - data_types::ToSQLData (line 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `some_crate` [INFO] [stdout] --> src/data_types/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 3 | use some_crate::SomeForeignType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `some_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `some_crate`, use `cargo add some_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSQLData` in this scope [INFO] [stdout] --> src/data_types/mod.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl ToSQLData for MyType<'_> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::ToSQLData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/data_types/mod.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn fmt_data(self) -> SQLDataTypes { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/data_types/mod.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 10 | MyType(SomeForeignType::Int(val)) => SQLDataTypes::Number(*val), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/data_types/mod.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 11 | MyType(SomeForeignType::Float(val)) => SQLDataTypes::Float(*val), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/data_types/mod.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 12 | MyType(SomeForeignType::String(val)) => SQLDataTypes::Varchar(val.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/data_types/mod.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 13 | MyType(SomeForeignType::None) => SQLDataTypes::NULL, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 146) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:147:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.delete("employee_data") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 120) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateColumns` in this scope [INFO] [stdout] --> src/../README.md:122:9 [INFO] [stdout] | [INFO] [stdout] 4 | CreateColumns{ name: "Column_A".to_string(), data_type: CreateDataTypes::VARCHAR(20 as usize) }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/../README.md:122:65 [INFO] [stdout] | [INFO] [stdout] 4 | CreateColumns{ name: "Column_A".to_string(), data_type: CreateDataTypes::VARCHAR(20 as usize) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateColumns` in this scope [INFO] [stdout] --> src/../README.md:123:9 [INFO] [stdout] | [INFO] [stdout] 5 | CreateColumns{ name: "Column_B".to_string(), data_type: CreateDataTypes::NUMBER }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/../README.md:123:65 [INFO] [stdout] | [INFO] [stdout] 5 | CreateColumns{ name: "Column_B".to_string(), data_type: CreateDataTypes::NUMBER }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateColumns` in this scope [INFO] [stdout] --> src/../README.md:124:9 [INFO] [stdout] | [INFO] [stdout] 6 | CreateColumns{ name: "Column_C".to_string(), data_type: CreateDataTypes::FLOAT }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/../README.md:124:65 [INFO] [stdout] | [INFO] [stdout] 6 | CreateColumns{ name: "Column_C".to_string(), data_type: CreateDataTypes::FLOAT }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:127:5 [INFO] [stdout] | [INFO] [stdout] 9 | conn.create() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 16) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/../README.md:24:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_16_0() -> Result<(), Box> { [INFO] [stdout] 5 | use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] ... [INFO] [stdout] 11 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 50) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/../README.md:51:65 [INFO] [stdout] | [INFO] [stdout] 3 | let foreign_table = Table { name: "national_sales" , id: "nat" } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | let data: Vec> = conn [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: no rules expected `"sale_date"` [INFO] [stdout] --> src/../README.md:59:9 [INFO] [stdout] | [INFO] [stdout] 10 | "city" [INFO] [stdout] | - help: missing comma here [INFO] [stdout] 11 | "sale_date", [INFO] [stdout] | ^^^^^^^^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] = note: while trying to match sequence start [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - QueryBuilder::alter (line 143) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/lib.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/lib.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/lib.rs:144:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:144:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - QueryBuilder::select (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/lib.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/lib.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:59:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/lib.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 4 | let data: Vec> = conn [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/lib.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 9 | data.iter().for_each(|row: &Vec| { println!("{:?}", row) }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 103) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:111:1 [INFO] [stdout] | [INFO] [stdout] 10 | conn.insert("sales_data", data)? [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - QueryBuilder::insert (line 100) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/lib.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/lib.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/lib.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/data_types/mod.rs - data_types::ToSQLData (line 36) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `ToSQLData` in this scope [INFO] [stdout] --> src/data_types/mod.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl ToSQLData for MyEnum { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::ToSQLData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/data_types/mod.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn fmt_data(self) -> SQLDataTypes { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/data_types/mod.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 11 | MyEnum::Name(val) => SQLDataTypes::Varchar(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/data_types/mod.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 12 | MyEnum::Age(val) => SQLDataTypes::Number(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 86) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:94:1 [INFO] [stdout] | [INFO] [stdout] 10 | conn.insert("my_table", data)?.build()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - QueryBuilder::update (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/lib.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/lib.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/lib.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::add (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/statements/alter/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AlterColumns` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 4 | let column = AlterColumns { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::alter::AlterColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/statements/alter/mod.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 6 | data_type: CreateDataTypes::VARCHAR(10), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 213) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `some_crate` [INFO] [stdout] --> src/../README.md:214:5 [INFO] [stdout] | [INFO] [stdout] 3 | use some_crate::SomeForeignType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `some_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `some_crate`, use `cargo add some_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ToSQLData` in this scope [INFO] [stdout] --> src/../README.md:218:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl ToSQLData for MyType<'_> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::ToSQLData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/../README.md:219:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn fmt_data(self) -> SQLDataTypes { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/../README.md:221:42 [INFO] [stdout] | [INFO] [stdout] 10 | SomeForeignType::Int(val) => SQLDataTypes::Number(*val), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/../README.md:222:44 [INFO] [stdout] | [INFO] [stdout] 11 | SomeForeignType::Float(val) => SQLDataTypes::Float(*val), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/../README.md:223:45 [INFO] [stdout] | [INFO] [stdout] 12 | SomeForeignType::String(val) => SQLDataTypes::Varchar(val.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/../README.md:224:38 [INFO] [stdout] | [INFO] [stdout] 13 | SomeForeignType::None => SQLDataTypes::NULL, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 98) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:99:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.insert("my_table", data)?.create_table().build()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/../README.md:99:25 [INFO] [stdout] | [INFO] [stdout] 3 | conn.insert("my_table", data)?.create_table().build()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::modify (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/statements/alter/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:69:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AlterColumns` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 4 | let column = AlterColumns { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::alter::AlterColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/statements/alter/mod.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 6 | data_type: CreateDataTypes::VARCHAR(10), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::drop (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/statements/alter/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 133) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateTable` in this scope [INFO] [stdout] --> src/../README.md:134:15 [INFO] [stdout] | [INFO] [stdout] 3 | let my_table: CreateTable = conn.create() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateTable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:134:29 [INFO] [stdout] | [INFO] [stdout] 3 | let my_table: CreateTable = conn.create() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `columns` in this scope [INFO] [stdout] --> src/../README.md:135:24 [INFO] [stdout] | [INFO] [stdout] 4 | .table("my_table", columns); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `add_date_col` in this scope [INFO] [stdout] --> src/../README.md:137:4 [INFO] [stdout] | [INFO] [stdout] 6 | if add_date_col == true { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/../README.md:138:49 [INFO] [stdout] | [INFO] [stdout] 7 | my_table.add_column("Column_D".to_string(), CreateDataTypes::DATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/delete/mod.rs - statements::delete::DeleteBuilder::where_not (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/delete/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.delete("quarterly_earnings", vec!["revenue", "profit"]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/delete/mod.rs - statements::delete::DeleteBuilder::where_in (line 17) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/delete/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.delete("quarterly_earnings", vec!["revenue", "profit"]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::rename (line 122) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/statements/alter/mod.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 154) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:156:1 [INFO] [stdout] | [INFO] [stdout] 4 | conn.alter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AlterColumns` in this scope [INFO] [stdout] --> src/../README.md:162:14 [INFO] [stdout] | [INFO] [stdout] 10 | let column = AlterColumns { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::alter::AlterColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/../README.md:164:16 [INFO] [stdout] | [INFO] [stdout] 12 | data_type: CreateDataTypes::VARCHAR(10), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:168:1 [INFO] [stdout] | [INFO] [stdout] 16 | conn.alter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:174:1 [INFO] [stdout] | [INFO] [stdout] 22 | conn.alter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:180:1 [INFO] [stdout] | [INFO] [stdout] 28 | conn.alter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:186:1 [INFO] [stdout] | [INFO] [stdout] 34 | conn.alter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/select/mod.rs - statements::select::SelectBuilder::where_in (line 135) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = conn.select("quarterly_earnings", vec!["revenue", "profit"]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::rename_column (line 106) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/statements/alter/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/statements/alter/mod.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 196) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `ToSQLData` in this scope [INFO] [stdout] --> src/../README.md:202:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl ToSQLData for MyEnum { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::ToSQLData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/../README.md:203:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn fmt_data(self) -> SQLDataTypes { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/../README.md:205:34 [INFO] [stdout] | [INFO] [stdout] 11 | MyEnum::Name(val) => SQLDataTypes::Varchar(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SQLDataTypes` [INFO] [stdout] --> src/../README.md:206:33 [INFO] [stdout] | [INFO] [stdout] 12 | MyEnum::Age(val) => SQLDataTypes::Number(val.into()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SQLDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 71) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:72:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.update("global_sales") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/../README.md:77:20 [INFO] [stdout] | [INFO] [stdout] 8 | let count: usize = conn [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - QueryBuilder::create (line 129) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateTable` in this scope [INFO] [stdout] --> src/lib.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 3 | let my_table: CreateTable = conn.create() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateTable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/lib.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 3 | let my_table: CreateTable = conn.create() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `columns` in this scope [INFO] [stdout] --> src/lib.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 4 | .table("my_table", columns); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `add_date_col` in this scope [INFO] [stdout] --> src/lib.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 6 | if add_date_col == true { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/lib.rs:134:49 [INFO] [stdout] | [INFO] [stdout] 7 | my_table.add_column("Column_D".to_string(), CreateDataTypes::DATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - QueryBuilder::delete (line 155) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/lib.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/lib.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/lib.rs:156:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:156:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - QueryBuilder::create (line 115) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OracleConnect` [INFO] [stdout] --> src/lib.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `OracleConnect` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::sql_variations::OracleConnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `connection_string` in this scope [INFO] [stdout] --> src/lib.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/lib.rs:116:50 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:116:60 [INFO] [stdout] | [INFO] [stdout] 3 | let conn = OracleConnect::new(connection_string, username, password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateColumns` in this scope [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 5 | CreateColumns{ name: "Column_A".to_string(), data_type: CreateDataTypes::VARCHAR(20 as usize) }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/lib.rs:118:61 [INFO] [stdout] | [INFO] [stdout] 5 | CreateColumns{ name: "Column_A".to_string(), data_type: CreateDataTypes::VARCHAR(20 as usize) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateColumns` in this scope [INFO] [stdout] --> src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 6 | CreateColumns{ name: "Column_B".to_string(), data_type: CreateDataTypes::NUMBER }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/lib.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 6 | CreateColumns{ name: "Column_B".to_string(), data_type: CreateDataTypes::NUMBER }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateColumns` in this scope [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 7 | CreateColumns{ name: "Column_C".to_string(), data_type: CreateDataTypes::FLOAT }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateColumns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDataTypes` [INFO] [stdout] --> src/lib.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 7 | CreateColumns{ name: "Column_C".to_string(), data_type: CreateDataTypes::FLOAT }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CreateDataTypes` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::statements::create::CreateDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/select/mod.rs - statements::select::SelectBuilder::left_join (line 119) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Table` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 3 | let foreign_table = Table { name: "yearly_earnings".to_owned(), id: "yearly".to_owned() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = conn.select("quarterly_earnings", vec![ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/select/mod.rs - statements::select::SelectBuilder::right_join (line 100) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Table` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 3 | let foreign_table = Table { name: "yearly_earnings".to_owned(), id: "yearly".to_owned() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = conn.select("quarterly_earnings", vec![ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/select/mod.rs - statements::select::SelectBuilder::inner_join (line 62) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Table` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 3 | let foreign_table = Table { name: "yearly_earnings".to_owned(), id: "yearly".to_owned() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = conn.select("quarterly_earnings", vec![ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/select/mod.rs - statements::select::SelectBuilder::outer_join (line 81) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Table` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 3 | let foreign_table = Table { name: "yearly_earnings".to_owned(), id: "yearly".to_owned() }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = conn.select("quarterly_earnings", vec![ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/select/mod.rs - statements::select::SelectBuilder::where_not (line 143) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/select/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = conn.select("quarterly_earnings", vec!["revenue", "profit"]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/update/mod.rs - statements::update::UpdateBuilder::where_in (line 45) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/update/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.update("test_grades") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::and_not (line 49) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::and (line 11) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::or_not (line 65) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/update/mod.rs - statements::update::UpdateBuilder::where_not (line 60) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/update/mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.update("test_grades") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::or (line 33) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SQLDataTypes` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use sql_tools::data_types::SQLDataTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/where_clause/mod.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 3 | let data: Vec> = conn [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statements/update/mod.rs - statements::update::UpdateBuilder::set (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/statements/update/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.update("quarterly_earnings") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 103) [INFO] [stdout] src/../README.md - (line 120) [INFO] [stdout] src/../README.md - (line 133) [INFO] [stdout] src/../README.md - (line 146) [INFO] [stdout] src/../README.md - (line 154) [INFO] [stdout] src/../README.md - (line 16) [INFO] [stdout] src/../README.md - (line 196) [INFO] [stdout] src/../README.md - (line 213) [INFO] [stdout] src/../README.md - (line 50) [INFO] [stdout] src/../README.md - (line 71) [INFO] [stdout] src/../README.md - (line 86) [INFO] [stdout] src/../README.md - (line 98) [INFO] [stdout] src/data_types/mod.rs - data_types::ToSQLData (line 36) [INFO] [stdout] src/data_types/mod.rs - data_types::ToSQLData (line 54) [INFO] [stdout] src/lib.rs - QueryBuilder::alter (line 143) [INFO] [stdout] src/lib.rs - QueryBuilder::create (line 115) [INFO] [stdout] src/lib.rs - QueryBuilder::create (line 129) [INFO] [stdout] src/lib.rs - QueryBuilder::delete (line 155) [INFO] [stdout] src/lib.rs - QueryBuilder::insert (line 100) [INFO] [stdout] src/lib.rs - QueryBuilder::select (line 58) [INFO] [stdout] src/lib.rs - QueryBuilder::update (line 79) [INFO] [stdout] src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::add (line 46) [INFO] [stdout] src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::drop (line 90) [INFO] [stdout] src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::modify (line 68) [INFO] [stdout] src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::rename (line 122) [INFO] [stdout] src/statements/alter/mod.rs - statements::alter::AlterTableBuilder::rename_column (line 106) [INFO] [stdout] src/statements/delete/mod.rs - statements::delete::DeleteBuilder::where_in (line 17) [INFO] [stdout] src/statements/delete/mod.rs - statements::delete::DeleteBuilder::where_not (line 25) [INFO] [stdout] src/statements/select/mod.rs - statements::select::SelectBuilder::inner_join (line 62) [INFO] [stdout] src/statements/select/mod.rs - statements::select::SelectBuilder::left_join (line 119) [INFO] [stdout] src/statements/select/mod.rs - statements::select::SelectBuilder::outer_join (line 81) [INFO] [stdout] src/statements/select/mod.rs - statements::select::SelectBuilder::right_join (line 100) [INFO] [stdout] src/statements/select/mod.rs - statements::select::SelectBuilder::where_in (line 135) [INFO] [stdout] src/statements/select/mod.rs - statements::select::SelectBuilder::where_not (line 143) [INFO] [stdout] src/statements/update/mod.rs - statements::update::UpdateBuilder::set (line 34) [INFO] [stdout] src/statements/update/mod.rs - statements::update::UpdateBuilder::where_in (line 45) [INFO] [stdout] src/statements/update/mod.rs - statements::update::UpdateBuilder::where_not (line 60) [INFO] [stdout] src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::and (line 11) [INFO] [stdout] src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::and_not (line 49) [INFO] [stdout] src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::or (line 33) [INFO] [stdout] src/statements/where_clause/mod.rs - statements::where_clause::WhereClauseBuilder::or_not (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 41 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.69s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.80s; merged doctests compilation took 0.10s [INFO] running `Command { std: "docker" "inspect" "d9e93a8ddce40941dc978574601226d9210f9003aa92542e84d3f618dd86d114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e93a8ddce40941dc978574601226d9210f9003aa92542e84d3f618dd86d114", kill_on_drop: false }` [INFO] [stdout] d9e93a8ddce40941dc978574601226d9210f9003aa92542e84d3f618dd86d114