[INFO] cloning repository https://github.com/dolphindb/api-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dolphindb/api-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdolphindb%2Fapi-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdolphindb%2Fapi-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c160e6362bb9ad19a5d6c556cf7db7195c6197b [INFO] checking dolphindb/api-rust against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdolphindb%2Fapi-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dolphindb/api-rust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dolphindb/api-rust [INFO] removed path dependency ddb from git repo https://github.com/dolphindb/api-rust [INFO] finished tweaking git repo https://github.com/dolphindb/api-rust [INFO] tweaked toml for git repo https://github.com/dolphindb/api-rust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/dolphindb/api-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ddb) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ddb) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded net2 v0.2.35 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded publicsuffix v1.5.4 [INFO] [stderr] Downloaded flate2 v1.0.18 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded rust-argon2 v0.8.2 [INFO] [stderr] Downloaded google-datastore1 v1.0.14+20200524 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded schannel v0.1.19 [INFO] [stderr] Downloaded untrusted v0.6.2 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded miniz_oxide v0.4.3 [INFO] [stderr] Downloaded dtoa v0.4.6 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded security-framework v0.4.4 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded security-framework-sys v0.4.3 [INFO] [stderr] Downloaded reqwest v0.9.24 [INFO] [stderr] Downloaded backtrace v0.3.52 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] [stderr] Downloaded either v1.6.1 [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded openssl v0.10.30 [INFO] [stderr] Downloaded futures v0.1.30 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded sct v0.4.0 [INFO] [stderr] Downloaded webpki v0.18.1 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] [stderr] Downloaded webpki-roots v0.15.0 [INFO] [stderr] Downloaded yup-oauth2 v1.0.12 [INFO] [stderr] Downloaded hyper-rustls v0.6.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.17 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded indexmap v1.6.0 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded openssl-sys v0.9.58 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded serde_derive v1.0.116 [INFO] [stderr] Downloaded ddb v0.0.6 [INFO] [stderr] Downloaded ring v0.13.5 [INFO] [stderr] Downloaded encoding_rs v0.8.24 [INFO] [stderr] Downloaded tokio-io v0.1.13 [INFO] [stderr] Downloaded hyper-native-tls v0.3.0 [INFO] [stderr] Downloaded vcpkg v0.2.10 [INFO] [stderr] Downloaded rustls v0.13.1 [INFO] [stderr] Downloaded chrono v0.4.19 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded http v0.1.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f16c96ff6b7db07026bab87c628be8d542e7ede1276ea57f30700108bcb6c635 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f16c96ff6b7db07026bab87c628be8d542e7ede1276ea57f30700108bcb6c635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f16c96ff6b7db07026bab87c628be8d542e7ede1276ea57f30700108bcb6c635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16c96ff6b7db07026bab87c628be8d542e7ede1276ea57f30700108bcb6c635", kill_on_drop: false }` [INFO] [stdout] f16c96ff6b7db07026bab87c628be8d542e7ede1276ea57f30700108bcb6c635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b70ca8927ad0e5e01dcecbbbce095f2604c874b2a5b3ce807630027b3762fdd5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b70ca8927ad0e5e01dcecbbbce095f2604c874b2a5b3ce807630027b3762fdd5", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ddb) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking hyper-rustls v0.6.2 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking yup-oauth2 v1.0.12 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking google-datastore1 v1.0.14+20200524 [INFO] [stderr] Checking ddb v0.0.6 [INFO] [stderr] Checking api-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::ddb::Defobj` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::Defobj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Defobj` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/DBConnection_test.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let connx = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/DBConnection_test.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/DBConnection_test.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/DBConnection_test.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/DBConnection_test.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let x = ddb::create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in this scope [INFO] [stdout] --> tests/DBConnection_test.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let y = create_vector(DT_INT, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> tests/DBConnection_test.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let y = create_vector(DT_INT, 3); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in this scope [INFO] [stdout] --> tests/DBConnection_test.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | let args: [Constant; 1] = [y.to_constant()]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> tests/DBConnection_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_longlong`, `c_short`, `c_void` [INFO] [stdout] --> tests/DBConnection_test.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> tests/DBConnection_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> tests/DBConnection_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `api-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DBConnection` [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | let conn = DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DBConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let v = ddb::create_vector(ddb::DT_STRING, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> src/main.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | let v = ddb::create_vector(ddb::DT_STRING, 10); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> src/main.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | v.fill(2, 3, ddb::create_string("one")); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ddb::Defobj` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::Defobj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Defobj` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Table { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SYMBOL` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | DT_SYMBOL, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | DT_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | DT_IP, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | DT_INT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | DT_IP, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | DT_INT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | DT_IP, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | DT_INT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DATETIME` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | DT_DATETIME, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DATETIME` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | DT_DATETIME, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | DT_INT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_table` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let table = create_table(&colnames[..], &coltypes[..], rows, rows); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let mut colv: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_constant` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | let spip = create_constant(DT_IP); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | let spip = create_constant(DT_IP); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_constant` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | colv[6].set_by_index(i, parse_constant(DT_IP, "192.168.1.1")); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:96:48 [INFO] [stdout] | [INFO] [stdout] 96 | colv[6].set_by_index(i, parse_constant(DT_IP, "192.168.1.1")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | let args: [Constant; 1] = [t.to_constant()]; [INFO] [stdout] | ^^^^^^^^ help: a struct with a similar name exists: `Instant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_epoch_time` in this scope [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | (get_epoch_time() / 1000) as c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> examples/DFSWritingWithMultiThread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Set_test.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Set_test.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let v = ddb::create_vector(ddb::DT_STRING, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> src/main.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | let v = ddb::create_vector(ddb::DT_STRING, 10); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> src/main.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | v.fill(2, 3, ddb::create_string("one")); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Set_test.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Set_test.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Set_test.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Set_test.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Set_test.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let one = ddb::create_int(1); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Set_test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | del_constant(s.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Set_test.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let x = ddb::create_int(3); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Set_test.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | del_constant(s.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Set_test.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(s.is_super_set(ddb::create_int(3))); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Set_test.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | del_constant(s.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Set_test.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(s.interaction(ddb::create_int(3)).get_string(), "set(3)"); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Set_test.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | del_constant(s.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Set_test.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | del_constant(s.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Set_test.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | del_constant(s.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> tests/Set_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stdout] --> tests/Set_test.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> tests/Set_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> tests/Set_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Table_test.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/Table_test.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(t1.get_column_type(0), ddb::DT_INT); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Table_test.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | del_constant(t1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> tests/Table_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stdout] --> tests/Table_test.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> tests/Table_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> tests/Table_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DBConnection` [INFO] [stdout] --> examples/RWMemoryTable.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let conn = DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DBConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollingClient` [INFO] [stdout] --> examples/StreamingThreadClientSubscriber.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let client = PollingClient::new(listenport); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PollingClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_action_name` in this scope [INFO] [stdout] --> examples/StreamingThreadClientSubscriber.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | let queue = client.subscribe(HOST, PORT, "st1", &default_action_name(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_constant` in this scope [INFO] [stdout] --> examples/StreamingThreadClientSubscriber.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let msg = create_constant(DT_VOID); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_VOID` in this scope [INFO] [stdout] --> examples/StreamingThreadClientSubscriber.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let msg = create_constant(DT_VOID); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_action_name` in this scope [INFO] [stdout] --> examples/StreamingThreadClientSubscriber.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | client.unsubscribe(HOST, PORT, "st1", &default_action_name()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> examples/StreamingThreadClientSubscriber.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(x.get_type(), ddb::DT_INT); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stdout] --> examples/RWMemoryTable.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let mut colv: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | colv.push(create_vector(coltypes[i], 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in this scope [INFO] [stdout] --> examples/RWMemoryTable.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | let args: [Constant; 7] = [ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stdout] --> examples/RWMemoryTable.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let mut res_col: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | let y = ddb::create_string("123123"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> tests/Constant_test.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let x = create_int(2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_bool` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let cbool = ddb::create_bool(true); [INFO] [stdout] | ^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let cint = ddb::create_int(2147483647); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let cshort = ddb::create_short(32767); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_long` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | let clong = ddb::create_long(100000000000); [INFO] [stdout] | ^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_float` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | let cfloat = ddb::create_float(1.732); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_double` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | let cdouble = ddb::create_double(3.1415926); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> tests/Constant_test.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | let cstr = ddb::create_string("hello world"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> examples/RWMemoryTable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> tests/Constant_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stdout] --> tests/Constant_test.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> tests/Constant_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> tests/Constant_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> tests/Constant_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DBConnection` [INFO] [stdout] --> examples/RWDFSTable.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let conn = DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DBConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | let v1 = create_vector(DT_INT, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | let v1 = create_vector(DT_INT, 0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | let v2 = create_vector(DT_DATE, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DATE` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let v2 = create_vector(DT_DATE, 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let v3 = create_vector(DT_DOUBLE, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let v3 = create_vector(DT_DOUBLE, 0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | v1.append(&create_int(i as c_int)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_date` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | v2.append(&create_date(2017, 8, 7 + (i as c_int) % 5)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_double` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | v3.append(&create_double(3.1415926)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let cols: [Vector; 3] = [v1, v2, v3]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_table_by_vector` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let t = create_table_by_vector(&colnames[..], &cols[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in this scope [INFO] [stdout] --> examples/RWDFSTable.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | let args: [Constant; 1] = [t.to_constant()]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> examples/RWDFSTable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ddb::Defobj` [INFO] [stdout] --> tests/ddb_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::Defobj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Defobj` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Dictionary_test.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | del_constant(d1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(d1.get_member(ddb::create_int(1)).get_double(), 6.4); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Dictionary_test.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | del_constant(d1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(d1.get_key_type(), ddb::DT_SHORT); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Dictionary_test.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | del_constant(d1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | d1.remove(ddb::create_short(1)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Dictionary_test.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | del_constant(d1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | d1.set(ddb::create_short(5), ddb::create_float(6.4)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_float` in crate `ddb` [INFO] [stdout] --> tests/Dictionary_test.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | d1.set(ddb::create_short(5), ddb::create_float(6.4)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Dictionary_test.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | del_constant(d1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> tests/Dictionary_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stdout] --> tests/Dictionary_test.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> tests/Dictionary_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> tests/Dictionary_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DBConnection` [INFO] [stdout] --> examples/StreamingDataWriting.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | let conn = DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DBConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DBConnection` [INFO] [stdout] --> examples/StreamingDataWriting.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | let conn = DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DBConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Table { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | DT_LONG, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | DT_BOOL, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_CHAR` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | DT_CHAR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | DT_SHORT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | DT_INT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | DT_LONG, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DATE` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | DT_DATE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_MONTH` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | DT_MONTH, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_TIME` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | DT_TIME, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_MINUTE` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | DT_MINUTE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SECOND` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | DT_SECOND, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DATETIME` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | DT_DATETIME, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_TIMESTAMP` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | DT_TIMESTAMP, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_NANOTIME` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | DT_NANOTIME, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_NANOTIMESTAMP` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | DT_NANOTIMESTAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | DT_FLOAT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | DT_DOUBLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SYMBOL` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | DT_SYMBOL, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | DT_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_UUID` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | DT_UUID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/Vector_test.rs:335:21 [INFO] [stdout] | [INFO] [stdout] 335 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let v1 = ddb::create_vector(ddb::DT_INT, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | let v1 = ddb::create_vector(ddb::DT_INT, 3); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | ddb::del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let v2 = ddb::create_vector(ddb::DT_BOOL, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | DT_IP, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT128` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | DT_INT128, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_table` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let table = create_table(&colnames[..], &coltypes[..], rows, rows); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stdout] --> examples/StreamingDataWriting.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | let mut colv: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_constant` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | colv[6].set_by_index(i, parse_constant(DT_DATE, "2020.01.01")); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DATE` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | colv[6].set_by_index(i, parse_constant(DT_DATE, "2020.01.01")); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let args: [Constant; 1] = [t.to_constant()]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_epoch_time` in this scope [INFO] [stdout] --> examples/StreamingDataWriting.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | (get_epoch_time() / 1000) as c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let v2 = ddb::create_vector(ddb::DT_BOOL, 3); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | ddb::del_constant(v2.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let v3 = ddb::create_vector(ddb::DT_SHORT, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | let v3 = ddb::create_vector(ddb::DT_SHORT, 3); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | ddb::del_constant(v3.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let v4 = ddb::create_vector(ddb::DT_LONG, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let v4 = ddb::create_vector(ddb::DT_LONG, 3); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ddb::del_constant(v4.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 3); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | ddb::del_constant(v5.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> examples/StreamingDataWriting.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | ddb::del_constant(v6.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | let v7 = ddb::create_vector(ddb::DT_STRING, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let v7 = ddb::create_vector(ddb::DT_STRING, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | ddb::del_constant(v7.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let v8 = ddb::create_vector(ddb::DT_ANY, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_ANY` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | let v8 = ddb::create_vector(ddb::DT_ANY, 3); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | ddb::del_constant(v8.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let v1 = ddb::create_vector(ddb::DT_INT, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | let v1 = ddb::create_vector(ddb::DT_INT, 5); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | ddb::del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let v2 = ddb::create_vector(ddb::DT_BOOL, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | let v2 = ddb::create_vector(ddb::DT_BOOL, 10); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | ddb::del_constant(v2.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let v3 = ddb::create_vector(ddb::DT_SHORT, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | let v3 = ddb::create_vector(ddb::DT_SHORT, 5); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | ddb::del_constant(v3.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let v4 = ddb::create_vector(ddb::DT_LONG, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | let v4 = ddb::create_vector(ddb::DT_LONG, 5); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | ddb::del_constant(v4.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | ddb::del_constant(v5.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | ddb::del_constant(v6.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | let v7 = ddb::create_vector(ddb::DT_STRING, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | let v7 = ddb::create_vector(ddb::DT_STRING, 5); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | ddb::del_constant(v7.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | let v1 = ddb::create_vector(ddb::DT_INT, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | let v1 = ddb::create_vector(ddb::DT_INT, 0); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | ddb::del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | let v2 = ddb::create_vector(ddb::DT_BOOL, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | let v2 = ddb::create_vector(ddb::DT_BOOL, 0); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | ddb::del_constant(v2.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let v3 = ddb::create_vector(ddb::DT_SHORT, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:169:38 [INFO] [stdout] | [INFO] [stdout] 169 | let v3 = ddb::create_vector(ddb::DT_SHORT, 0); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | ddb::del_constant(v3.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let v4 = ddb::create_vector(ddb::DT_LONG, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | let v4 = ddb::create_vector(ddb::DT_LONG, 0); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | ddb::del_constant(v4.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:188:38 [INFO] [stdout] | [INFO] [stdout] 188 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | ddb::del_constant(v5.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | ddb::del_constant(v6.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | let v7 = ddb::create_vector(ddb::DT_STRING, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | let v7 = ddb::create_vector(ddb::DT_STRING, 0); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | ddb::del_constant(v7.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | v1.append(&ddb::create_int(8)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | v1.fill(1, 2, ddb::create_int(7)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | v1.replace(ddb::create_int(5), ddb::create_int(4)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/Vector_test.rs:340:41 [INFO] [stdout] | [INFO] [stdout] 340 | v1.replace(ddb::create_int(5), ddb::create_int(4)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stdout] --> tests/Vector_test.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ddb::*` [INFO] [stdout] --> tests/Vector_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ddb::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_void` [INFO] [stdout] --> tests/Vector_test.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_long, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> tests/Vector_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> tests/Vector_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stdout] --> tests/ddb_test.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 473 | let conn = ddb::DBConnection::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(x.get_type(), ddb::DT_INT); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let y = ddb::create_string("123123"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_bool` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let cbool = ddb::create_bool(true); [INFO] [stdout] | ^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let cint = ddb::create_int(2147483647); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let cshort = ddb::create_short(32767); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_long` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | let clong = ddb::create_long(100000000000); [INFO] [stdout] | ^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_float` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let cfloat = ddb::create_float(1.732); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_double` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let cdouble = ddb::create_double(3.1415926); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let cstr = ddb::create_string("hello world"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let v1 = ddb::create_vector(ddb::DT_INT, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | let v1 = ddb::create_vector(ddb::DT_INT, 3); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | ddb::del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let v2 = ddb::create_vector(ddb::DT_BOOL, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | let v2 = ddb::create_vector(ddb::DT_BOOL, 3); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | ddb::del_constant(v2.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | let v3 = ddb::create_vector(ddb::DT_SHORT, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | let v3 = ddb::create_vector(ddb::DT_SHORT, 3); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | ddb::del_constant(v3.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let v4 = ddb::create_vector(ddb::DT_LONG, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | let v4 = ddb::create_vector(ddb::DT_LONG, 3); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | ddb::del_constant(v4.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 3); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | ddb::del_constant(v5.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | ddb::del_constant(v6.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let v7 = ddb::create_vector(ddb::DT_STRING, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | let v7 = ddb::create_vector(ddb::DT_STRING, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | ddb::del_constant(v7.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | let v8 = ddb::create_vector(ddb::DT_ANY, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_ANY` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | let v8 = ddb::create_vector(ddb::DT_ANY, 3); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | ddb::del_constant(v8.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | let v1 = ddb::create_vector(ddb::DT_INT, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | let v1 = ddb::create_vector(ddb::DT_INT, 5); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | ddb::del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | let v2 = ddb::create_vector(ddb::DT_BOOL, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | let v2 = ddb::create_vector(ddb::DT_BOOL, 10); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | ddb::del_constant(v2.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let v3 = ddb::create_vector(ddb::DT_SHORT, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | let v3 = ddb::create_vector(ddb::DT_SHORT, 5); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | ddb::del_constant(v3.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let v4 = ddb::create_vector(ddb::DT_LONG, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | let v4 = ddb::create_vector(ddb::DT_LONG, 5); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | ddb::del_constant(v4.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | ddb::del_constant(v5.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | ddb::del_constant(v6.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | let v7 = ddb::create_vector(ddb::DT_STRING, 5); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:185:38 [INFO] [stdout] | [INFO] [stdout] 185 | let v7 = ddb::create_vector(ddb::DT_STRING, 5); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | ddb::del_constant(v7.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let v1 = ddb::create_vector(ddb::DT_INT, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:199:38 [INFO] [stdout] | [INFO] [stdout] 199 | let v1 = ddb::create_vector(ddb::DT_INT, 0); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | ddb::del_constant(v1.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | let v2 = ddb::create_vector(ddb::DT_BOOL, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_BOOL` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | let v2 = ddb::create_vector(ddb::DT_BOOL, 0); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | ddb::del_constant(v2.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | let v3 = ddb::create_vector(ddb::DT_SHORT, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | let v3 = ddb::create_vector(ddb::DT_SHORT, 0); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | ddb::del_constant(v3.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | let v4 = ddb::create_vector(ddb::DT_LONG, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_LONG` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:221:38 [INFO] [stdout] | [INFO] [stdout] 221 | let v4 = ddb::create_vector(ddb::DT_LONG, 0); [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | ddb::del_constant(v4.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_FLOAT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | let v5 = ddb::create_vector(ddb::DT_FLOAT, 10); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | ddb::del_constant(v5.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | let v6 = ddb::create_vector(ddb::DT_DOUBLE, 3); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | ddb::del_constant(v6.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let v7 = ddb::create_vector(ddb::DT_STRING, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | let v7 = ddb::create_vector(ddb::DT_STRING, 0); [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `del_constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | ddb::del_constant(v7.to_constant()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_set` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | let s1 = ddb::create_set(ddb::DT_INT, 10); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:253:35 [INFO] [stdout] | [INFO] [stdout] 253 | let s1 = ddb::create_set(ddb::DT_INT, 10); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | let one = ddb::create_int(1); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | assert!(s.is_super_set(ddb::create_int(3))); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(s.interaction(ddb::create_int(3)).get_string(), "set(3)"); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | v1.append(&ddb::create_int(8)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | v1.fill(1, 2, ddb::create_int(7)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | v1.replace(ddb::create_int(7), ddb::create_int(4)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:320:41 [INFO] [stdout] | [INFO] [stdout] 320 | v1.replace(ddb::create_int(7), ddb::create_int(4)); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:355:44 [INFO] [stdout] | [INFO] [stdout] 355 | assert_eq!(t1.get_column_type(0), ddb::DT_INT); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | t1.get_member(ddb::create_string("a")).get_string(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | t1.get_member(ddb::create_string("a")).get_string(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:413:35 [INFO] [stdout] | [INFO] [stdout] 413 | assert_eq!(d1.get_member(ddb::create_int(1)).get_double(), 6.4); [INFO] [stdout] | ^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:414:40 [INFO] [stdout] | [INFO] [stdout] 414 | assert_eq!(d1.get_key_type(), ddb::DT_SHORT); [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | d1.remove(ddb::create_short(1)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | d1.set(ddb::create_short(1), ddb::create_float(6.4)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_float` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:420:39 [INFO] [stdout] | [INFO] [stdout] 420 | d1.set(ddb::create_short(1), ddb::create_float(6.4)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | let args: [ddb::Constant; 1] = [ta.to_constant()]; [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | let args: [ddb::Constant; 1] = [ta.to_constant()]; [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Constant` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | let args: [ddb::Constant; 1] = [ta.to_constant()]; [INFO] [stdout] | ^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:494:30 [INFO] [stdout] | [INFO] [stdout] 494 | fn CreateDemoTable() -> ddb::Table { [INFO] [stdout] | ^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:496:38 [INFO] [stdout] | [INFO] [stdout] 496 | let coltypes: [c_int; 3] = [ddb::DT_STRING, ddb::DT_DATE, ddb::DT_DOUBLE]; [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DATE` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:496:54 [INFO] [stdout] | [INFO] [stdout] 496 | let coltypes: [c_int; 3] = [ddb::DT_STRING, ddb::DT_DATE, ddb::DT_DOUBLE]; [INFO] [stdout] | ^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_DOUBLE` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:496:68 [INFO] [stdout] | [INFO] [stdout] 496 | let coltypes: [c_int; 3] = [ddb::DT_STRING, ddb::DT_DATE, ddb::DT_DOUBLE]; [INFO] [stdout] | ^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_table` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | let ta = ddb::create_table(&col_names[..], &coltypes[..], rowNum, indexCapacity); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stdout] --> tests/ddb_test.rs:501:34 [INFO] [stdout] | [INFO] [stdout] 501 | let mut columnVecs: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ not found in `ddb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_void` [INFO] [stdout] --> tests/ddb_test.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> tests/ddb_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> tests/ddb_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 115 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b70ca8927ad0e5e01dcecbbbce095f2604c874b2a5b3ce807630027b3762fdd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70ca8927ad0e5e01dcecbbbce095f2604c874b2a5b3ce807630027b3762fdd5", kill_on_drop: false }` [INFO] [stdout] b70ca8927ad0e5e01dcecbbbce095f2604c874b2a5b3ce807630027b3762fdd5