[INFO] fetching crate discord-cassandra-cpp 0.15.2-rc2... [INFO] testing discord-cassandra-cpp-0.15.2-rc2 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate discord-cassandra-cpp 0.15.2-rc2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate discord-cassandra-cpp 0.15.2-rc2 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate discord-cassandra-cpp 0.15.2-rc2 [INFO] finished tweaking crates.io crate discord-cassandra-cpp 0.15.2-rc2 [INFO] tweaked toml for crates.io crate discord-cassandra-cpp 0.15.2-rc2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate discord-cassandra-cpp 0.15.2-rc2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5591e6af4d53473038633faad1e4ae01e864aea6d53d88e49dedccc45bc688c2 [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" "5591e6af4d53473038633faad1e4ae01e864aea6d53d88e49dedccc45bc688c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5591e6af4d53473038633faad1e4ae01e864aea6d53d88e49dedccc45bc688c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5591e6af4d53473038633faad1e4ae01e864aea6d53d88e49dedccc45bc688c2", kill_on_drop: false }` [INFO] [stdout] 5591e6af4d53473038633faad1e4ae01e864aea6d53d88e49dedccc45bc688c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d57e6bec2e84d363a3b261af1a2349ce226437e15d154a1944cda7efbcfb2d7c [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" "d57e6bec2e84d363a3b261af1a2349ce226437e15d154a1944cda7efbcfb2d7c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cassandra-cpp-sys v0.12.2 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ord_subset v3.1.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling decimal v2.0.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling discord-cassandra-cpp v0.15.2-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:352:39 [INFO] [stdout] | [INFO] [stdout] 352 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | #[allow(cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:551:39 [INFO] [stdout] | [INFO] [stdout] 551 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:582:39 [INFO] [stdout] | [INFO] [stdout] 582 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/iterator.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/prepared.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/column_meta.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/table_meta.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/value.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:343:62 [INFO] [stdout] | [INFO] [stdout] 343 | cass_cluster_set_connect_timeout(self.0, timeout.num_milliseconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:355:62 [INFO] [stdout] | [INFO] [stdout] 355 | cass_cluster_set_request_timeout(self.0, timeout.num_milliseconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:509:23 [INFO] [stdout] | [INFO] [stdout] 509 | scale.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:510:30 [INFO] [stdout] | [INFO] [stdout] 510 | retry_period.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:511:29 [INFO] [stdout] | [INFO] [stdout] 511 | update_rate.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | delay.num_seconds() as u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:585:77 [INFO] [stdout] | [INFO] [stdout] 585 | cass_cluster_set_connection_heartbeat_interval(self.0, hearbeat.num_seconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:598:70 [INFO] [stdout] | [INFO] [stdout] 598 | cass_cluster_set_connection_idle_timeout(self.0, timeout.num_seconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/statement.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | Some(time) => time.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/time.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { Time(cass_time_from_epoch(epoch_seconds.num_seconds())) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.59s [INFO] running `Command { std: "docker" "inspect" "d57e6bec2e84d363a3b261af1a2349ce226437e15d154a1944cda7efbcfb2d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d57e6bec2e84d363a3b261af1a2349ce226437e15d154a1944cda7efbcfb2d7c", kill_on_drop: false }` [INFO] [stdout] d57e6bec2e84d363a3b261af1a2349ce226437e15d154a1944cda7efbcfb2d7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba74f152f2904874a51ac18c2ac8c93f31b5529d214d5092a1eaa785fdeb1cdd [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" "ba74f152f2904874a51ac18c2ac8c93f31b5529d214d5092a1eaa785fdeb1cdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling tokio-macros v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:352:39 [INFO] [stdout] | [INFO] [stdout] 352 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | #[allow(cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:551:39 [INFO] [stdout] | [INFO] [stdout] 551 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:582:39 [INFO] [stdout] | [INFO] [stdout] 582 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/iterator.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/prepared.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/column_meta.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/table_meta.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/value.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:343:62 [INFO] [stdout] | [INFO] [stdout] 343 | cass_cluster_set_connect_timeout(self.0, timeout.num_milliseconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:355:62 [INFO] [stdout] | [INFO] [stdout] 355 | cass_cluster_set_request_timeout(self.0, timeout.num_milliseconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:509:23 [INFO] [stdout] | [INFO] [stdout] 509 | scale.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:510:30 [INFO] [stdout] | [INFO] [stdout] 510 | retry_period.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:511:29 [INFO] [stdout] | [INFO] [stdout] 511 | update_rate.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | delay.num_seconds() as u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:585:77 [INFO] [stdout] | [INFO] [stdout] 585 | cass_cluster_set_connection_heartbeat_interval(self.0, hearbeat.num_seconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:598:70 [INFO] [stdout] | [INFO] [stdout] 598 | cass_cluster_set_connection_idle_timeout(self.0, timeout.num_seconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/statement.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | Some(time) => time.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/time.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { Time(cass_time_from_epoch(epoch_seconds.num_seconds())) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling tokio v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling discord-cassandra-cpp v0.15.2-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:340:39 [INFO] [stdout] | [INFO] [stdout] 340 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:352:39 [INFO] [stdout] | [INFO] [stdout] 352 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | #[allow(cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:551:39 [INFO] [stdout] | [INFO] [stdout] 551 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:582:39 [INFO] [stdout] | [INFO] [stdout] 582 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/cluster.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/cassandra/cluster.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/iterator.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/prepared.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/column_meta.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/batch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/function_meta.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/schema/table_meta.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/bind_by_name.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/cassandra/value.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/batch.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let select_query = stmt!("SELECT * from examples.pairs"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/batch.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | session.execute(&stmt!(create_table)).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/batch.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | let mut batch = Batch::new(BatchType::LOGGED); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/batch.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | batch.set_consistency(Consistency::ONE)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/futures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/batch.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreparedStatement` in this scope [INFO] [stdout] --> tests/batch.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::PreparedStatement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Batch` [INFO] [stdout] --> tests/batch.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut batch = Batch::new(BatchType::LOGGED); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Batch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/batch.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | fn retrieve_batch(session: &Session) -> Vec { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/batch.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/collections.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` [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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/async.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> tests/bind_by_name.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let schema_query = Statement::new(&query, 0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/maps.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let mut statement = stmt!("INSERT INTO examples.collections (key, items) VALUES (?, ?);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let mut statement = stmt!("INSERT INTO examples.collections (key) VALUES (?);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut statement = stmt!("SELECT items FROM examples.collections WHERE key = ?"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let type_statement = &stmt!("CREATE TYPE IF NOT EXISTS examples.udt (dt date, tm time);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let table_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/collections.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let create_table = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let truncate_statement = &stmt!("TRUNCATE examples.basic;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut statement = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let mut statement = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | let mut statement = stmt!(SELECT_QUERY); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let query = stmt!("SELECT keyspace_name FROM system_schema.keyspaces;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let s = stmt!("CREATE GOBBLEDEGOOK;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | stmt!("INSERT INTO examples.basic (key, bln, flt) VALUES ('vacant', true, 3.14);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let query = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | let mut s = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let s = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/collections.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Set` [INFO] [stdout] --> tests/collections.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut set = Set::new(2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Set; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/collections.rs:21:73 [INFO] [stdout] | [INFO] [stdout] 21 | fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | fn select_from_collections(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> tests/collections.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let items_iterator: SetIterator = column?.get_set()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 | let items_iterator: IntoIterator = column?.get_set()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SetIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | let query = stmt!("SELECT * FROM system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:507:21 [INFO] [stdout] | [INFO] [stdout] 507 | let mut query = stmt!("SELECT * from system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | let mut statement = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | .execute(&stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | let query = stmt!("SELECT gibberish from system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/collections.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | let s = stmt!("INSERT INTO examples.basic (key, i32) VALUES ('utf8', -1);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:549:17 [INFO] [stdout] | [INFO] [stdout] 549 | let query = stmt!("SELECT i32 FROM examples.basic WHERE key = 'utf8';"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/collections.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/collections.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn select_from_collections(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:566:17 [INFO] [stdout] | [INFO] [stdout] 566 | let query = stmt!("SELECT * FROM system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/basic.rs:576:21 [INFO] [stdout] | [INFO] [stdout] 576 | let mut query = stmt!("SELECT * FROM system_schema.tables;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/simple_async.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | session.execute(&stmt!("USE examples")).await.unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | .execute(&stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/uuids.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | ct_type.add_sub_value_type_by_name::<&str>("dt", ValueType::DATE)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | ct_type.add_sub_value_type_by_name::<&str>("tm", ValueType::TIME)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:82:54 [INFO] [stdout] | [INFO] [stdout] 82 | ct_type.add_sub_value_type_by_name::<&str>("dt", ValueType::DATE)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:83:54 [INFO] [stdout] | [INFO] [stdout] 83 | ct_type.add_sub_value_type_by_name::<&str>("tm", ValueType::TIME)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/basic.rs:508:27 [INFO] [stdout] | [INFO] [stdout] 508 | query.set_consistency(Consistency::THREE).unwrap(); // assuming we only have one node, this must fail [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | ErrorKind::CassError(CassErrorCode::LIB_NO_HOSTS_AVAILABLE, _) => (), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CassErrorCode` [INFO] [stdout] --> tests/basic.rs:515:30 [INFO] [stdout] | [INFO] [stdout] 515 | ErrorKind::CassError(CassErrorCode::LIB_NO_HOSTS_AVAILABLE, _) => (), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CassErrorCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | ErrorKind::CassErrorResult( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CassErrorCode` [INFO] [stdout] --> tests/basic.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | CassErrorCode::SERVER_INVALID_QUERY, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CassErrorCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | ErrorKind::InvalidUtf8(_) => (), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Inet` in this scope [INFO] [stdout] --> tests/basic.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | addr: Inet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Inet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | tu: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | id: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_basic_table(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | fn insert_into_basic_by_name(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/basic.rs:44:85 [INFO] [stdout] | [INFO] [stdout] 44 | fn insert_into_basic_by_name(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/collections.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> tests/basic.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | let ct_type = DataType::new_udt(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::DataType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn insert_into_basic(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/basic.rs:75:77 [INFO] [stdout] | [INFO] [stdout] 75 | fn insert_into_basic(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> tests/basic.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | let ct_type = DataType::new_udt(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::DataType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | fn select_from_basic(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserTypeIterator` in this scope [INFO] [stdout] --> tests/basic.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | let fields_iter: UserTypeIterator = row.get(12)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UserTypeIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreparedStatement` in this scope [INFO] [stdout] --> tests/basic.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | prepared: &PreparedStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::PreparedStatement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserTypeIterator` in this scope [INFO] [stdout] --> tests/basic.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | let fields_iter: UserTypeIterator = row.get(12)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UserTypeIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UuidGen` [INFO] [stdout] --> tests/basic.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 225 | let uuid_gen = UuidGen::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UuidGen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UuidGen` [INFO] [stdout] --> tests/basic.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | let uuid_gen = UuidGen::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UuidGen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/basic.rs:44:78 [INFO] [stdout] | [INFO] [stdout] 44 | fn insert_into_basic_by_name(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/basic.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | fn insert_into_basic(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/basic.rs:110:55 [INFO] [stdout] | [INFO] [stdout] 110 | fn select_from_basic(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/basic.rs:153:6 [INFO] [stdout] | [INFO] [stdout] 153 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/futures.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | session.execute(&stmt!("USE examples")).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/async.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | let mut statement = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/async.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | .execute(&stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/async.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | session.execute(&stmt!("USE examples")).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/logging.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/futures.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/futures.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/maps.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | let mut insert_statement = stmt!("INSERT INTO examples.maps (key, items) VALUES (?, ?);"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/futures.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/futures.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/futures.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/maps.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | session.execute(&stmt!(CREATE_TABLE)).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/schema_meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/futures.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/async.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/async.rs:7:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/async.rs:7:79 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassFuture` in this scope [INFO] [stdout] --> tests/async.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/async.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | let mut futures = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut statement = stmt!(INSERT_QUERY); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let mut statement = stmt!(SELECT_QUERY); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | session.execute(&stmt!(CREATE_TABLE)).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/uuids.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | session.execute(&stmt!(TRUNCATE_QUERY)).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/async.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert_into_async(session: &Session, key: String) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/maps.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn insert_into_maps(session: &Session, key: &str, items: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> tests/maps.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let mut map = Map::new(items.len()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Map; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::core_reexport::iter::Map; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::Map; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/maps.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn select_from_maps(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> tests/maps.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | let mut statement = Statement::new(SELECT_QUERY, 1); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MapIterator` in this scope [INFO] [stdout] --> tests/maps.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let items_iterator: MapIterator = column.get_map().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 | let items_iterator: Iterator = column.get_map().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::MapIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/uuids.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/uuids.rs:13:85 [INFO] [stdout] | [INFO] [stdout] 13 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/uuids.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn select_from_log(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | fn select_from_log(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let t: Uuid = r.get_column(1).expect("time0").get_uuid().expect("time"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UuidGen` [INFO] [stdout] --> tests/uuids.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let uuid_gen = UuidGen::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UuidGen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/simple_async.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let query = stmt!("SELECT keyspace_name FROM system_schema.keyspaces;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:63:71 [INFO] [stdout] | [INFO] [stdout] 63 | let mut uniques = results.iter().map(|ref kv| kv.0).collect::>(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> tests/uuids.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | let cass_id_from_str = Uuid::from_str(TEST_UUID).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> tests/uuids.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let cass_id_from_uuid = Uuid::from(uuid_id_from_str); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/uuids.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/maps.rs:17:73 [INFO] [stdout] | [INFO] [stdout] 17 | fn insert_into_maps(session: &Session, key: &str, items: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/uuids.rs:13:78 [INFO] [stdout] | [INFO] [stdout] 13 | fn insert_into_log(session: &Session, key: &str, time: Uuid, entry: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/simple_async.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/uuids.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | fn select_from_log(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> tests/maps.rs:31:54 [INFO] [stdout] | [INFO] [stdout] 31 | fn select_from_maps(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/collections.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let create_keyspace = stmt!("CREATE KEYSPACE IF NOT EXISTS testks WITH REPLICATION = { 'class': 'SimpleStrategy', 'replication_factor... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/collections.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let create_table = stmt!("CREATE TABLE IF NOT EXISTS testks.user (first_name text PRIMARY KEY, addresses map, email set examples/collections.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | let mut insert_data = stmt!("INSERT INTO testks.user (first_name, addresses, email, last_name, phone_numbers, title) VALUES (?, ?, ?,... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/collections.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let query = stmt!("SELECT * FROM testks.user;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/simple.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let query = stmt!("SELECT keyspace_name FROM system_schema.keyspaces;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/collections.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn do_work(session: &Session) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> examples/collections.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut addresses = List::new(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> examples/collections.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let mut phones = List::new(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MapIterator` in this scope [INFO] [stdout] --> examples/collections.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let maybe_iter: Result = row.get_by_name("addresses"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 | let maybe_iter: Result = row.get_by_name("addresses"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::MapIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> examples/collections.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let emails_iter: SetIterator = row.get_by_name("email")?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 | let emails_iter: IntoIterator = row.get_by_name("email")?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SetIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> examples/collections.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let phone_numbers_iter: SetIterator = row.get_by_name("phone_numbers")?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 51 | let phone_numbers_iter: IntoIterator = row.get_by_name("phone_numbers")?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SetIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/collections.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/simple.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/collections.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | fn do_work(session: &Session) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/logging.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let query1 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/logging.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let query2 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/logging.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let query3 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let create_ks = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let create_table = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let create_func1 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | let create_func2 = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/logging.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/schema_meta.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | let create_aggregate = stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/types.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut s = stmt!("select 1+1;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | s.set_consistency(Consistency::LOCAL_ONE).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cassandra/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / error_chain! { [INFO] [stdout] 32 | | foreign_links { [INFO] [stdout] 33 | | StringContainsNul(::std::ffi::NulError) [INFO] [stdout] 34 | | #[doc = "Attempted to pass a string containing `\\0` to Cassandra"]; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | s.set_serial_consistency(Consistency::SERIAL).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let mut batch = Batch::new(BatchType::LOGGED); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | batch.set_consistency(Consistency::TWO).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | .set_serial_consistency(Consistency::LOCAL_SERIAL) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_level` in this scope [INFO] [stdout] --> tests/logging.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_logger` in this scope [INFO] [stdout] --> tests/logging.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | set_logger(Some(logger)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/logging.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(Consistency::LOCAL_QUORUM.to_string(), "LOCAL_QUORUM"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(format!("{}", Consistency::LOCAL_QUORUM), "LOCAL_QUORUM"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!("THREE".parse::().unwrap(), Consistency::THREE); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::DISABLED); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | set_level(LogLevel::DEBUG); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(LogLevel::DEBUG > LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(LogLevel::DEBUG > LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(LogLevel::WARN > LogLevel::CRITICAL); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(LogLevel::WARN > LogLevel::CRITICAL); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(LogLevel::INFO.to_string(), "INFO"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> examples/ssl.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let query = stmt!("SELECT keyspace_name FROM system_schema.keyspaces;"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] discord_cassandra_cpp::stmt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | let verify_level = vec![cassandra_cpp::SslVerifyFlag::PEER_IDENTITY]; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/schema_meta.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyspaceMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let keyspace_meta: KeyspaceMeta = schema_meta.get_keyspace_by_name(keyspace); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::KeyspaceMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | fn print_function_meta(meta: FunctionMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::FunctionMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AggregateMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | fn print_aggregate_meta(meta: AggregateMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::AggregateMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldIterator` in this scope [INFO] [stdout] --> examples/schema_meta.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | fn print_meta_fields(iterator: FieldIterator, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::FieldIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> examples/schema_meta.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | fn print_schema_value(value: Value) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use slog::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/schema_meta.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/schema_meta.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | session: &Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TableMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | fn print_table_meta(meta: &mut TableMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::TableMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ColumnMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | fn print_column_meta(meta: &mut ColumnMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::ColumnMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/schema_meta.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | fn print_keyspace(session: &Session, keyspace: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyspaceMeta` in this scope [INFO] [stdout] --> examples/schema_meta.rs:227:44 [INFO] [stdout] | [INFO] [stdout] 227 | fn print_keyspace_meta(keyspace_meta: &mut KeyspaceMeta, indent: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::KeyspaceMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(format!("{}", LogLevel::WARN), "WARN"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!("ERROR".parse::().unwrap(), LogLevel::ERROR); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let mut ssl = cassandra_cpp::Ssl::default(); [INFO] [stdout] | ^^^ not found in `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Ssl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | match cassandra_cpp::Ssl::add_trusted_cert(&mut ssl, &ca_cert) { [INFO] [stdout] | ^^^ not found in `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Ssl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | ssl.set_verify_flags(&vec![SslVerifyFlag::NONE]); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | cassandra_cpp::Ssl::set_verify_flags(&mut ssl, &verify_level); [INFO] [stdout] | ^^^ not found in `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Ssl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | ssl.set_verify_flags(&vec![SslVerifyFlag::PEER_CERT]); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/ssl.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | SslVerifyFlag::PEER_IDENTITY_DNS, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | SslVerifyFlag::PEER_CERT, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | SslVerifyFlag::PEER_IDENTITY_DNS.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(format!("{}", SslVerifyFlag::PEER_CERT), "PEER_CERT"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/schema_meta.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | SslVerifyFlag::NONE [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/schema_meta.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn cass() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> examples/schema_meta.rs:174:6 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(BatchType::LOGGED.to_string(), "LOGGED"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(format!("{}", BatchType::UNLOGGED), "UNLOGGED"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:122:57 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!("COUNTER".parse::().unwrap(), BatchType::COUNTER); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_example_keyspace(session: &Session) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Batch` [INFO] [stdout] --> tests/types.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut batch = Batch::new(BatchType::LOGGED); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Batch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let all = Consistency::variants(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Consistency` in this scope [INFO] [stdout] --> tests/types.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let c2: Consistency = s.parse().expect(&format!("Failed on {:?} as {}", c, s)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Consistency` in this scope [INFO] [stdout] --> tests/types.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!("THREE".parse::().unwrap(), Consistency::THREE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Consistency` in this scope [INFO] [stdout] --> tests/types.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Consistency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_level` in this scope [INFO] [stdout] --> tests/types.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::DISABLED); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_level` in this scope [INFO] [stdout] --> tests/types.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | set_level(LogLevel::DEBUG); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | for v in LogLevel::variants() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogLevel` in this scope [INFO] [stdout] --> tests/types.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let v2: LogLevel = s.parse().expect(&format!("Failed on {:?} as {}", v, s)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogLevel` in this scope [INFO] [stdout] --> tests/types.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!("ERROR".parse::().unwrap(), LogLevel::ERROR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogLevel` in this scope [INFO] [stdout] --> tests/types.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | .parse::() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::LogLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ssl` [INFO] [stdout] --> tests/types.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut ssl = Ssl::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Ssl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for v in SslVerifyFlag::variants() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SslVerifyFlag` in this scope [INFO] [stdout] --> tests/types.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let v2: SslVerifyFlag = s.parse().expect(&format!("Failed on {:?} as {}", v, s)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SslVerifyFlag` in this scope [INFO] [stdout] --> tests/types.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | "NONE".parse::().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SslVerifyFlag` in this scope [INFO] [stdout] --> tests/types.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SslVerifyFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/types.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | for v in BatchType::variants() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatchType` in this scope [INFO] [stdout] --> tests/types.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let v2: BatchType = s.parse().expect(&format!("Failed on {:?} as {}", v, s)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatchType` in this scope [INFO] [stdout] --> tests/types.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!("COUNTER".parse::().unwrap(), BatchType::COUNTER); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatchType` in this scope [INFO] [stdout] --> tests/types.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | .parse::() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::BatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:343:62 [INFO] [stdout] | [INFO] [stdout] 343 | cass_cluster_set_connect_timeout(self.0, timeout.num_milliseconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:355:62 [INFO] [stdout] | [INFO] [stdout] 355 | cass_cluster_set_request_timeout(self.0, timeout.num_milliseconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:509:23 [INFO] [stdout] | [INFO] [stdout] 509 | scale.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:510:30 [INFO] [stdout] | [INFO] [stdout] 510 | retry_period.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/cluster.rs:511:29 [INFO] [stdout] | [INFO] [stdout] 511 | update_rate.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | delay.num_seconds() as u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:585:77 [INFO] [stdout] | [INFO] [stdout] 585 | cass_cluster_set_connection_heartbeat_interval(self.0, hearbeat.num_seconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/cluster.rs:598:70 [INFO] [stdout] | [INFO] [stdout] 598 | cass_cluster_set_connection_idle_timeout(self.0, timeout.num_seconds() as u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [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] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors [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] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cassandra/statement.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | Some(time) => time.num_milliseconds() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/cassandra/time.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { Time(cass_time_from_epoch(epoch_seconds.num_seconds())) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.discord_cassandra_cpp.810ex74c-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-003370b04a141a1d.1hc311g2xk5xsmaj.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/local/lib/x86_64-linux-gnu" "-L" "/usr/local/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib64/" "-L" "/usr/lib/" "-L" "/usr/local/opt/openssl/lib" "-L" "/opt/rustwide/target/debug/build/decimal-84faa2ffa7da7b83/out" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-c03d65ce9942da5e/out" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libuuid-724e67465b29ad72.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-e400a06feeddb41f.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-8ca745aec409b30d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-dddd49119eca10c7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f84b2ca2f59187b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-53983bcf89dbd6ef.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-929600f5da68aa6d.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-55017cfad0b210b4.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-c92504f80698112f.rlib" "/opt/rustwide/target/debug/deps/liblock_api-f188d34d6223a179.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-4c9e30f2e7684fc3.rlib" "/opt/rustwide/target/debug/deps/libinstant-776e3fb12d772aa4.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-2909e55669d95bfc.rlib" "/opt/rustwide/target/debug/deps/libtime-a54cc9de1b794aa0.rlib" "/opt/rustwide/target/debug/deps/libtime_macros-b8dceac4f50a4627.rlib" "/opt/rustwide/target/debug/deps/libstandback-f013d93aa6d091cf.rlib" "/opt/rustwide/target/debug/deps/libcassandra_cpp_sys-45bffcbd276836cd.rlib" "/opt/rustwide/target/debug/deps/liberror_chain-c375bba10d3d8f27.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-21b0802b1d3bd4d6.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-3d2c98ac56a3c08b.rlib" "/opt/rustwide/target/debug/deps/liblibc-e41c2d10207ee17e.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4c6be1962c556cf0.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-1065d3ec5013e137.rlib" "/opt/rustwide/target/debug/deps/libslog-3bd85e6e82e87359.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lcassandra" "-lcrypto" "-lssl" "-lstdc++" "-luv" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lcassandra [INFO] [stdout] /usr/bin/ld: cannot find -luv [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ba74f152f2904874a51ac18c2ac8c93f31b5529d214d5092a1eaa785fdeb1cdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba74f152f2904874a51ac18c2ac8c93f31b5529d214d5092a1eaa785fdeb1cdd", kill_on_drop: false }` [INFO] [stdout] ba74f152f2904874a51ac18c2ac8c93f31b5529d214d5092a1eaa785fdeb1cdd