[INFO] updating cached repository https://github.com/dolphindb/api-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 686ba6ced54bcf81ca831a5ee9813329065599fc [INFO] checking dolphindb/api-rust against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdolphindb%2Fapi-rust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dolphindb/api-rust on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/dolphindb/api-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 742dbf5c02e26471a7d9e287be067a6b7c764c618887a4ccd471549c6387b6de [INFO] running `"docker" "start" "-a" "742dbf5c02e26471a7d9e287be067a6b7c764c618887a4ccd471549c6387b6de"` [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 syn v1.0.17 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking openssl v0.10.29 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking native-tls v0.2.4 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking hyper-rustls v0.6.2 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking yup-oauth2 v1.0.12 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking google-datastore1 v1.0.13+20200311 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking ddb v0.0.6 [INFO] [stderr] Checking api-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:71:21 [INFO] [stderr] | [INFO] [stderr] 71 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Dictionary_test.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | del_constant(d1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:36:35 [INFO] [stderr] | [INFO] [stderr] 36 | assert_eq!(d1.get_member(ddb::create_int(1)).get_double(), 6.4); [INFO] [stderr] | ^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Dictionary_test.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | del_constant(d1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SHORT` in crate `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:49:40 [INFO] [stderr] | [INFO] [stderr] 49 | assert_eq!(d1.get_key_type(), ddb::DT_SHORT); [INFO] [stderr] | ^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Dictionary_test.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | del_constant(d1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | d1.remove(ddb::create_short(1)); [INFO] [stderr] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Dictionary_test.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | del_constant(d1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_short` in crate `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | d1.set(ddb::create_short(5), ddb::create_float(6.4)); [INFO] [stderr] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_float` in crate `ddb` [INFO] [stderr] --> tests/Dictionary_test.rs:76:39 [INFO] [stderr] | [INFO] [stderr] 76 | d1.set(ddb::create_short(5), ddb::create_float(6.4)); [INFO] [stderr] | ^^^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Dictionary_test.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | del_constant(d1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ddb::*` [INFO] [stderr] --> tests/Dictionary_test.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ddb::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stderr] --> tests/Dictionary_test.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CStr` [INFO] [stderr] --> tests/Dictionary_test.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi::CStr; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CString` [INFO] [stderr] --> tests/Dictionary_test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ffi::CString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DBConnection` [INFO] [stderr] --> examples/RWMemoryTable.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | let conn = DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `DBConnection` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SHORT` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_LONG` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_FLOAT` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_DOUBLE` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:24:46 [INFO] [stderr] | [INFO] [stderr] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_BOOL` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:24:57 [INFO] [stderr] | [INFO] [stderr] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_STRING` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:24:66 [INFO] [stderr] | [INFO] [stderr] 24 | DT_INT, DT_SHORT, DT_LONG, DT_FLOAT, DT_DOUBLE, DT_BOOL, DT_STRING, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stderr] --> examples/RWMemoryTable.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | let mut colv: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_vector` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | colv.push(create_vector(coltypes[i], 0)); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Constant` in this scope [INFO] [stderr] --> examples/RWMemoryTable.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | let args: [Constant; 7] = [ [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stderr] --> examples/RWMemoryTable.rs:75:31 [INFO] [stderr] | [INFO] [stderr] 75 | let mut res_col: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ddb::*` [INFO] [stderr] --> examples/RWMemoryTable.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ddb::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:45:21 [INFO] [stderr] | [INFO] [stderr] 45 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:86:21 [INFO] [stderr] | [INFO] [stderr] 86 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:99:21 [INFO] [stderr] | [INFO] [stderr] 99 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Table_test.rs:139:21 [INFO] [stderr] | [INFO] [stderr] 139 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT` in crate `ddb` [INFO] [stderr] --> tests/Table_test.rs:104:44 [INFO] [stderr] | [INFO] [stderr] 104 | assert_eq!(t1.get_column_type(0), ddb::DT_INT); [INFO] [stderr] | ^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Table_test.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | del_constant(t1.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ddb::*` [INFO] [stderr] --> tests/Table_test.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ddb::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stderr] --> tests/Table_test.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CStr` [INFO] [stderr] --> tests/Table_test.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi::CStr; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CString` [INFO] [stderr] --> tests/Table_test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ffi::CString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DBConnection` [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:117:16 [INFO] [stderr] | [INFO] [stderr] 117 | let conn = DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `DBConnection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Table` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | ) -> Table { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SYMBOL` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | DT_SYMBOL, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_STRING` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | DT_STRING, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | DT_IP, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | DT_INT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | DT_IP, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | DT_INT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | DT_IP, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | DT_INT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_DATETIME` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | DT_DATETIME, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_DATETIME` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | DT_DATETIME, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | DT_INT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_table` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:63:17 [INFO] [stderr] | [INFO] [stderr] 63 | let table = create_table(&colnames[..], &coltypes[..], rows, rows); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:65:28 [INFO] [stderr] | [INFO] [stderr] 65 | let mut colv: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_constant` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:75:16 [INFO] [stderr] | [INFO] [stderr] 75 | let spip = create_constant(DT_IP); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:75:32 [INFO] [stderr] | [INFO] [stderr] 75 | let spip = create_constant(DT_IP); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `parse_constant` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:96:33 [INFO] [stderr] | [INFO] [stderr] 96 | colv[6].set_by_index(i, parse_constant(DT_IP, "192.168.1.1")); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:96:48 [INFO] [stderr] | [INFO] [stderr] 96 | colv[6].set_by_index(i, parse_constant(DT_IP, "192.168.1.1")); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Constant` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:123:16 [INFO] [stderr] | [INFO] [stderr] 123 | let args: [Constant; 1] = [t.to_constant()]; [INFO] [stderr] | ^^^^^^^^ help: a struct with a similar name exists: `Instant` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_epoch_time` in this scope [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:155:18 [INFO] [stderr] | [INFO] [stderr] 155 | (get_epoch_time() / 1000) as c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ddb::*` [INFO] [stderr] --> examples/DFSWritingWithMultiThread.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ddb::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error[E0432]: unresolved import `crate::ddb::Defobj` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ddb::Defobj; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `Defobj` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> src/main.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_vector` in crate `ddb` [INFO] [stderr] --> src/main.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | let v = ddb::create_vector(ddb::DT_STRING, 10); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_STRING` in crate `ddb` [INFO] [stderr] --> src/main.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | let v = ddb::create_vector(ddb::DT_STRING, 10); [INFO] [stderr] | ^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_string` in crate `ddb` [INFO] [stderr] --> src/main.rs:17:23 [INFO] [stderr] | [INFO] [stderr] 17 | v.fill(2, 3, ddb::create_string("one")); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stderr] --> src/main.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CStr` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi::CStr; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CString` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ffi::CString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Set_test.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/DBConnection_test.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | let connx = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/DBConnection_test.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/DBConnection_test.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Set_test.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/DBConnection_test.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Set_test.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Set_test.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stderr] --> tests/DBConnection_test.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | let x = ddb::create_int(2); [INFO] [stderr] | ^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_vector` in this scope [INFO] [stderr] --> tests/DBConnection_test.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | let y = create_vector(DT_INT, 3); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stderr] --> tests/DBConnection_test.rs:55:27 [INFO] [stderr] | [INFO] [stderr] 55 | let y = create_vector(DT_INT, 3); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [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] [stderr] error[E0412]: cannot find type `Constant` in this scope [INFO] [stderr] --> tests/DBConnection_test.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | let args: [Constant; 1] = [y.to_constant()]; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ddb::*` [INFO] [stderr] --> tests/DBConnection_test.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ddb::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_longlong`, `c_short`, `c_void` [INFO] [stderr] --> tests/DBConnection_test.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CStr` [INFO] [stderr] --> tests/DBConnection_test.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi::CStr; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CString` [INFO] [stderr] --> tests/DBConnection_test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ffi::CString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Set_test.rs:74:21 [INFO] [stderr] | [INFO] [stderr] 74 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DBConnection` in `ddb` [INFO] [stderr] --> tests/Set_test.rs:87:21 [INFO] [stderr] | [INFO] [stderr] 87 | let conn = ddb::DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `DBConnection` in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stderr] --> tests/Set_test.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | let one = ddb::create_int(1); [INFO] [stderr] | ^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Set_test.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | del_constant(s.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stderr] --> tests/Set_test.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | let x = ddb::create_int(3); [INFO] [stderr] | ^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Set_test.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | del_constant(s.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stderr] --> tests/Set_test.rs:53:33 [INFO] [stderr] | [INFO] [stderr] 53 | assert!(s.is_super_set(ddb::create_int(3))); [INFO] [stderr] | ^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Set_test.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | del_constant(s.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_int` in crate `ddb` [INFO] [stderr] --> tests/Set_test.rs:66:35 [INFO] [stderr] | [INFO] [stderr] 66 | assert_eq!(s.interaction(ddb::create_int(3)).get_string(), "set(3)"); [INFO] [stderr] | ^^^^^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Set_test.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | del_constant(s.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Set_test.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | del_constant(s.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `del_constant` in this scope [INFO] [stderr] --> tests/Set_test.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | del_constant(s.to_constant()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ddb::*` [INFO] [stderr] --> tests/Set_test.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::ddb::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_void` [INFO] [stderr] --> tests/Set_test.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use libc::{c_char, c_double, c_float, c_int, c_longlong, c_short, c_void}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CStr` [INFO] [stderr] --> tests/Set_test.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi::CStr; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CString` [INFO] [stderr] --> tests/Set_test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ffi::CString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DBConnection` [INFO] [stderr] --> examples/StreamingDataWriting.rs:116:16 [INFO] [stderr] | [INFO] [stderr] 116 | let conn = DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `DBConnection` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DBConnection` [INFO] [stderr] --> examples/StreamingDataWriting.rs:145:16 [INFO] [stderr] | [INFO] [stderr] 145 | let conn = DBConnection::new(); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `DBConnection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Table` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | ) -> Table { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_LONG` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | DT_LONG, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_BOOL` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | DT_BOOL, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_CHAR` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | DT_CHAR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SHORT` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | DT_SHORT, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | DT_INT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_LONG` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | DT_LONG, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_DATE` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | DT_DATE, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_MONTH` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | DT_MONTH, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_TIME` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | DT_TIME, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_MINUTE` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | DT_MINUTE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SECOND` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | DT_SECOND, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_DATETIME` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | DT_DATETIME, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_TIMESTAMP` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | DT_TIMESTAMP, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_NANOTIME` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | DT_NANOTIME, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_NANOTIMESTAMP` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | DT_NANOTIMESTAMP, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_FLOAT` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | DT_FLOAT, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_DOUBLE` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | DT_DOUBLE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SYMBOL` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | DT_SYMBOL, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_STRING` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | DT_STRING, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_UUID` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | DT_UUID, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_IP` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | DT_IP, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_INT128` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | DT_INT128, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `create_table` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | let table = create_table(&colnames[..], &coltypes[..], rows, rows); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vector` in crate `ddb` [INFO] [stderr] --> examples/StreamingDataWriting.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | let mut colv: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^ not found in `ddb` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `parse_constant` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:87:33 [INFO] [stderr] | [INFO] [stderr] 87 | colv[6].set_by_index(i, parse_constant(DT_DATE, "2020.01.01")); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_DATE` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:87:48 [INFO] [stderr] | [INFO] [stderr] 87 | colv[6].set_by_index(i, parse_constant(DT_DATE, "2020.01.01")); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Constant` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:122:16 [INFO] [stderr] | [INFO] [stderr] 122 | let args: [Constant; 1] = [t.to_constant()]; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_epoch_time` in this scope [INFO] [stderr] --> examples/StreamingDataWriting.rs:138:14 [INFO] [stderr] | [INFO] [stderr] 138 | (get_epoch_time() / 1000) as c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ddb::*` [INFO] [stderr] --> examples/StreamingDataWriting.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::ddb::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error: aborting due to 16 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error: aborting due to 31 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `api-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "742dbf5c02e26471a7d9e287be067a6b7c764c618887a4ccd471549c6387b6de"` [INFO] running `"docker" "rm" "-f" "742dbf5c02e26471a7d9e287be067a6b7c764c618887a4ccd471549c6387b6de"` [INFO] [stdout] 742dbf5c02e26471a7d9e287be067a6b7c764c618887a4ccd471549c6387b6de