[INFO] fetching crate discord-cassandra-cpp 0.15.2-rc1... [INFO] checking discord-cassandra-cpp-0.15.2-rc1 against beta for pr-78714 [INFO] extracting crate discord-cassandra-cpp 0.15.2-rc1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate discord-cassandra-cpp 0.15.2-rc1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate discord-cassandra-cpp 0.15.2-rc1 [INFO] finished tweaking crates.io crate discord-cassandra-cpp 0.15.2-rc1 [INFO] tweaked toml for crates.io crate discord-cassandra-cpp 0.15.2-rc1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate discord-cassandra-cpp 0.15.2-rc1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51d514eca2f0e974ecdf803007050ad1543df902d2f0886fee46ad3d9f0d69a4 [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" "51d514eca2f0e974ecdf803007050ad1543df902d2f0886fee46ad3d9f0d69a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51d514eca2f0e974ecdf803007050ad1543df902d2f0886fee46ad3d9f0d69a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d514eca2f0e974ecdf803007050ad1543df902d2f0886fee46ad3d9f0d69a4", kill_on_drop: false }` [INFO] [stdout] 51d514eca2f0e974ecdf803007050ad1543df902d2f0886fee46ad3d9f0d69a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46f903acbaf8e85d3ebc73c1e681c99dcd72f40fedb37321fbdb79aecd95bc16 [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" "46f903acbaf8e85d3ebc73c1e681c99dcd72f40fedb37321fbdb79aecd95bc16", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling cassandra-cpp-sys v0.12.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking ord_subset v3.1.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling decimal v2.0.4 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.3 [INFO] [stderr] Checking tokio v0.2.10 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.22 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking discord-cassandra-cpp v0.15.2-rc1 (/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] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures 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] 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] 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] [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] [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] [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[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] [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] --> 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[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: 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] [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] [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] [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] [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] [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: 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] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/paging.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] --> examples/schema_meta.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let create_table = stmt!( [INFO] [stdout] | ^^^^ [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] [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] [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] [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/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[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[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/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/paging.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | session.execute(&stmt!(CREATE_TABLE)).wait().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> tests/paging.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | session.execute(&stmt!("USE examples")).wait().unwrap(); [INFO] [stdout] | ^^^^ [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/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/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: 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] [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] [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] [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] [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] [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[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] --> 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] --> 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] [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: 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] [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] [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] [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] [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] [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/paging.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | session: &Session, /* , uuid_gen:&mut UuidGen */ [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/paging.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> 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/paging.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> 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 `Statement` [INFO] [stdout] --> tests/paging.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let mut statement = Statement::new(INSERT_QUERY, 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::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/paging.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | fn select_from_paging(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 `Statement` [INFO] [stdout] --> tests/paging.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut statement = Statement::new(SELECT_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[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[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/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: 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] [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 tests/paging.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> 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/paging.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | fn select_from_paging(session: &Session) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [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/help/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let ks_statement = &stmt!( [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: 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] [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] [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] [INFO] [stdout] error: cannot find macro `stmt` in this scope [INFO] [stdout] --> 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] [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] [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] [INFO] [stdout] error: aborting due to 16 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] --> 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] --> 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] [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[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[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/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] [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] [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] [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] [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] [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] [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] 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[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[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 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 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 `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 `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[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[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[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: 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[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 `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[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 `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[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[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 `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[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/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] 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[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[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/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[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[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[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] [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] [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] [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] [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] [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] [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[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[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 `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[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 `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[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[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[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[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: 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[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 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 `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[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[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[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/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[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 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[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[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[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: 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] 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] 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/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 `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: 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[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[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[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[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] 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: 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 7 previous errors [INFO] [stdout] [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] 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 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] 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] 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 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/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] error: build failed [INFO] running `Command { std: "docker" "inspect" "46f903acbaf8e85d3ebc73c1e681c99dcd72f40fedb37321fbdb79aecd95bc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f903acbaf8e85d3ebc73c1e681c99dcd72f40fedb37321fbdb79aecd95bc16", kill_on_drop: false }` [INFO] [stdout] 46f903acbaf8e85d3ebc73c1e681c99dcd72f40fedb37321fbdb79aecd95bc16