[INFO] fetching crate discord-cassandra-cpp 0.16.3... [INFO] testing discord-cassandra-cpp-0.16.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate discord-cassandra-cpp 0.16.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate discord-cassandra-cpp 0.16.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate discord-cassandra-cpp 0.16.3 [INFO] finished tweaking crates.io crate discord-cassandra-cpp 0.16.3 [INFO] tweaked toml for crates.io crate discord-cassandra-cpp 0.16.3 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate discord-cassandra-cpp 0.16.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f44623f63a617ab101dc4392b8a56b22f76f39ce4cbed1e5dce72bae76807cf2 [INFO] running `Command { std: "docker" "start" "-a" "f44623f63a617ab101dc4392b8a56b22f76f39ce4cbed1e5dce72bae76807cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f44623f63a617ab101dc4392b8a56b22f76f39ce4cbed1e5dce72bae76807cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f44623f63a617ab101dc4392b8a56b22f76f39ce4cbed1e5dce72bae76807cf2", kill_on_drop: false }` [INFO] [stdout] f44623f63a617ab101dc4392b8a56b22f76f39ce4cbed1e5dce72bae76807cf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 498d86dba2c2ef007c9bc5dfaeb48be9137848c10dc146a1b452e573eba55b89 [INFO] running `Command { std: "docker" "start" "-a" "498d86dba2c2ef007c9bc5dfaeb48be9137848c10dc146a1b452e573eba55b89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling cassandra-cpp-sys v0.12.3 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ord_subset v3.1.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling decimal v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling discord-cassandra-cpp v0.16.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.32s [INFO] running `Command { std: "docker" "inspect" "498d86dba2c2ef007c9bc5dfaeb48be9137848c10dc146a1b452e573eba55b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498d86dba2c2ef007c9bc5dfaeb48be9137848c10dc146a1b452e573eba55b89", kill_on_drop: false }` [INFO] [stdout] 498d86dba2c2ef007c9bc5dfaeb48be9137848c10dc146a1b452e573eba55b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb86daf6681a34cd65dbb2ddf038c631709472b2507b4b742d9d3c7f20bd6c54 [INFO] running `Command { std: "docker" "start" "-a" "eb86daf6681a34cd65dbb2ddf038c631709472b2507b4b742d9d3c7f20bd6c54", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling discord-cassandra-cpp v0.16.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [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::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/async.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | fn insert_into_async( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/async.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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/async.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/async.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | let mut futures: Vec>> = 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[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/futures.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn insert_into_async( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/futures.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | 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 `CassResult` in this scope [INFO] [stdout] --> tests/futures.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> 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 `CassResult` in this scope [INFO] [stdout] --> tests/futures.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | let mut futures: Vec>> = 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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/bind_by_name.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test_bind_by_name() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 6 | async fn test_bind_by_name() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [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::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 10 previous errors [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 13 previous errors [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn create_test_session() -> Session { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/batch.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let mut batch = session.batch(BatchType::LOGGED); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/collections.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | async fn insert_into_collections( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/batch.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | 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/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:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/collections.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | async fn insert_null_into_collections( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | 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:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> 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[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/collections.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | async fn select_from_collections( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `SetIterator` in this scope [INFO] [stdout] --> tests/collections.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 42 | 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[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/collections.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | async 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[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> examples/collections.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut addresses = List::new(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `List` [INFO] [stdout] --> examples/collections.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let mut phones = List::new(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 34 | let maybe_iter: Result = row.get_by_name("addresses"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::MapIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/batch.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | async fn insert_into_batch_with_prepared( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> examples/collections.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 42 | 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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [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 `SetIterator` in this scope [INFO] [stdout] --> examples/collections.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | 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] 47 | 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:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | 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[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/batch.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | async fn retrieve_batch(session: &Session) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/batch.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | async fn retrieve_batch(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[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/help/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/maps.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | async fn insert_into_maps( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/maps.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | 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[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> tests/maps.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | 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::future::Map; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::stream::Map; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/maps.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | async fn select_from_maps(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/maps.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | async 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 `Cluster` [INFO] [stdout] --> examples/simple_async.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | 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 `MapIterator` in this scope [INFO] [stdout] --> tests/maps.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 45 | 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: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/collections.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 61 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/simple_async.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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` due to 19 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, 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` due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> examples/simple.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | let mut batch = session.batch(BatchType::LOGGED); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BatchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> examples/simple.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | async fn create_session() -> Result { [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[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/simple.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | 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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [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::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 15 previous errors [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 10 previous errors [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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] [stderr] error: could not compile `discord-cassandra-cpp` due to 4 previous errors [INFO] [stdout] error[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/simple.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 64 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/paging.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | async fn insert_into_paging( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [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::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [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[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/paging.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | async fn select_from_paging( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/paging.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | 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[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [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] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [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:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | ssl.set_verify_flags(&[cassandra_cpp::SslVerifyFlag::PEER_IDENTITY]); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | ssl.set_verify_flags(&[cassandra_cpp_sys::SslVerifyFlag::PEER_IDENTITY]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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 crate or module `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | 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] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> examples/ssl.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | 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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/ssl.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, 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` due to 6 previous errors [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 13 previous errors [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 6 previous errors [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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | statement.set_consistency(Consistency::LOCAL_ONE)?; [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] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp_sys::{session_scope::Unbound, *}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | statement.set_serial_consistency(Consistency::SERIAL)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cassandra_cpp`, `cassandra_cpp::session_scope::Unbound` [INFO] [stdout] --> tests/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] | [INFO] [stdout] ::: tests/help/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::{session_scope::Unbound, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | let mut batch = session.batch(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:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | batch.set_consistency(Consistency::TWO)?; [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:34 [INFO] [stdout] | [INFO] [stdout] 15 | batch.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 type `Consistency` [INFO] [stdout] --> tests/types.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(Consistency::LOCAL_QUORUM.to_string(), "LOCAL_QUORUM"); [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:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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 `Consistency` [INFO] [stdout] --> tests/types.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(format!("{}", Consistency::LOCAL_QUORUM), "LOCAL_QUORUM"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!("THREE".parse::().unwrap(), Consistency::THREE); [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_level` in this scope [INFO] [stdout] --> tests/logging.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | set_level(LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_logger` in this scope [INFO] [stdout] --> tests/logging.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | set_logger(Some(logger)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::set_logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cluster` [INFO] [stdout] --> tests/logging.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let mut cluster = Cluster::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Cluster; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | set_level(LogLevel::DISABLED); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | set_level(LogLevel::DEBUG); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/uuids.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | async fn insert_into_log( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [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::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:31 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(LogLevel::DEBUG > LogLevel::WARN); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/uuids.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | 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[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(LogLevel::WARN > LogLevel::CRITICAL); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | time: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(LogLevel::WARN > LogLevel::CRITICAL); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/uuids.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> 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[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/uuids.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | async fn select_from_log( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/uuids.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | 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 `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> 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:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let t: Uuid = r.get_column(1).expect("time").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 `LogLevel` [INFO] [stdout] --> tests/types.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | 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 `UuidGen` [INFO] [stdout] --> tests/uuids.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let uuid_gen = UuidGen::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UuidGen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(format!("{}", LogLevel::WARN), "WARN"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:68:71 [INFO] [stdout] | [INFO] [stdout] 68 | 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:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | 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:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | 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[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> tests/types.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!("ERROR".parse::().unwrap(), LogLevel::ERROR); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | SslVerifyFlag::PEER_IDENTITY_DNS.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslVerifyFlag` [INFO] [stdout] --> tests/types.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(format!("{}", SslVerifyFlag::PEER_CERT), "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:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | SslVerifyFlag::NONE [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SslVerifyFlag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/types.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | 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:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:57 [INFO] [stdout] | [INFO] [stdout] 123 | 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:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/types.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | 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:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | 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:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | 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:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | .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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | 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:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | 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:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | 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:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | .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:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | 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:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | 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:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | "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:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | .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:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | 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:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | 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:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | 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:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | 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:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | .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[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | ct_type.add_sub_value_type_by_name::<&str>("dt", ValueType::DATE)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | ct_type.add_sub_value_type_by_name::<&str>("tm", ValueType::TIME)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 21 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:94:54 [INFO] [stdout] | [INFO] [stdout] 94 | ct_type.add_sub_value_type_by_name::<&str>("dt", ValueType::DATE)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:95:54 [INFO] [stdout] | [INFO] [stdout] 95 | ct_type.add_sub_value_type_by_name::<&str>("tm", ValueType::TIME)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/types.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test_using_consistency() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 6 | async fn test_using_consistency() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/basic.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | statement.set_consistency(Consistency::THREE).unwrap(); // assuming we only have one node, this must fail [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | ErrorKind::CassError(CassErrorCode::LIB_NO_HOSTS_AVAILABLE, _) => (), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CassErrorCode` [INFO] [stdout] --> tests/basic.rs:511:30 [INFO] [stdout] | [INFO] [stdout] 511 | ErrorKind::CassError(CassErrorCode::LIB_NO_HOSTS_AVAILABLE, _) => (), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CassErrorCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | ErrorKind::CassErrorResult( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CassErrorCode` [INFO] [stdout] --> tests/basic.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | CassErrorCode::SERVER_INVALID_QUERY, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CassErrorCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/basic.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | ErrorKind::InvalidUtf8(_) => (), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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[E0412]: cannot find type `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub async 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_scope::Unbound; [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:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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 `Unbound` in this scope [INFO] [stdout] --> tests/help/mod.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub async 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_scope::Unbound; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Inet` in this scope [INFO] [stdout] --> tests/basic.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | addr: Inet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Inet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | tu: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | id: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/basic.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | async fn create_basic_table(session: &Session) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | async fn create_basic_table(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[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/basic.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | async fn insert_into_basic_by_name( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | 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/basic.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> tests/basic.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let ct_type = DataType::new_udt(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::DataType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/basic.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | async fn insert_into_basic( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | 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/basic.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> tests/basic.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | let ct_type = DataType::new_udt(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::DataType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/basic.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | fn basic_from_result(result: CassResult) -> 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 `UserTypeIterator` in this scope [INFO] [stdout] --> tests/basic.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | let fields_iter: UserTypeIterator = row.get(12)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UserTypeIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/basic.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | async fn select_from_basic( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | 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] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SessionScope` in this scope [INFO] [stdout] --> tests/basic.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | async fn select_from_basic_prepared( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::SessionScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreparedStatement` in this scope [INFO] [stdout] --> tests/basic.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | prepared: &PreparedStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::PreparedStatement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UuidGen` [INFO] [stdout] --> tests/basic.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | let uuid_gen = UuidGen::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UuidGen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UuidGen` [INFO] [stdout] --> tests/basic.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | 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[E0282]: type annotations needed [INFO] [stdout] --> tests/logging.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | let session = help::create_test_session().await; [INFO] [stdout] | ------- consider giving `session` a type [INFO] [stdout] 78 | session.execute(&query1).await.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 57 previous errors [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 40 previous errors [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 14 previous errors [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.discord_cassandra_cpp.df92724d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b.3q6wp6xbat57so42.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/local/lib/x86_64-linux-gnu" "-L" "/usr/local/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib64/" "-L" "/usr/lib/" "-L" "/usr/local/opt/openssl/lib" "-L" "/opt/rustwide/target/debug/build/decimal-0f56ce5c4bacde83/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libuuid-b7a43037ca9b9fde.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-9dd6e56abca0ddb5.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-e9d156d5a6ab8127.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-b26eeadae8ae9a7e.rlib" "/opt/rustwide/target/debug/deps/liblock_api-4527f2b9e7422552.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-54ff2283d814f48f.rlib" "/opt/rustwide/target/debug/deps/libinstant-939f0c301cdc968a.rlib" "/opt/rustwide/target/debug/deps/libtime-916745bf621e9ea2.rlib" "/opt/rustwide/target/debug/deps/libtime_macros-c9a99003455dc44e.rlib" "/opt/rustwide/target/debug/deps/libstandback-228dd35e5244fda4.rlib" "/opt/rustwide/target/debug/deps/libcassandra_cpp_sys-5e30be4bedfed8cd.rlib" "/opt/rustwide/target/debug/deps/liberror_chain-6afe2fd945c6f7eb.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-914a90a85399e1cd.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-fd871e0602108602.rlib" "/opt/rustwide/target/debug/deps/libadler-92f8db84032ff960.rlib" "/opt/rustwide/target/debug/deps/libobject-4222c4351e87d844.rlib" "/opt/rustwide/target/debug/deps/libmemchr-794f323e2c3fede3.rlib" "/opt/rustwide/target/debug/deps/liblibc-197a93fa7c279dff.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-5c3a9c47cc3450e0.rlib" "/opt/rustwide/target/debug/deps/libgimli-8acf6516e7235d17.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-ebf1bae139d6c8cf.rlib" "/opt/rustwide/target/debug/deps/libslog-746345d73a168e9a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lcassandra" "-lcrypto" "-lssl" "-lstdc++" "-luv" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/discord_cassandra_cpp-356e76b291199c5b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lcassandra [INFO] [stdout] /usr/bin/ld: cannot find -luv [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "eb86daf6681a34cd65dbb2ddf038c631709472b2507b4b742d9d3c7f20bd6c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb86daf6681a34cd65dbb2ddf038c631709472b2507b4b742d9d3c7f20bd6c54", kill_on_drop: false }` [INFO] [stdout] eb86daf6681a34cd65dbb2ddf038c631709472b2507b4b742d9d3c7f20bd6c54