[INFO] fetching crate discord-cassandra-cpp 0.16.0-rc0... [INFO] checking discord-cassandra-cpp-0.16.0-rc0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate discord-cassandra-cpp 0.16.0-rc0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate discord-cassandra-cpp 0.16.0-rc0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate discord-cassandra-cpp 0.16.0-rc0 [INFO] finished tweaking crates.io crate discord-cassandra-cpp 0.16.0-rc0 [INFO] tweaked toml for crates.io crate discord-cassandra-cpp 0.16.0-rc0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate discord-cassandra-cpp 0.16.0-rc0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ord_subset v3.1.1 [INFO] [stderr] Downloaded cassandra-cpp-sys v0.12.2 [INFO] [stderr] Downloaded decimal v2.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e64253e4a10668442563b8ec7b8f0e13eae849be69d0a1325c4113e573696d47 [INFO] running `Command { std: "docker" "start" "-a" "e64253e4a10668442563b8ec7b8f0e13eae849be69d0a1325c4113e573696d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e64253e4a10668442563b8ec7b8f0e13eae849be69d0a1325c4113e573696d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64253e4a10668442563b8ec7b8f0e13eae849be69d0a1325c4113e573696d47", kill_on_drop: false }` [INFO] [stdout] e64253e4a10668442563b8ec7b8f0e13eae849be69d0a1325c4113e573696d47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6cdaf774049f5f9ba7c8418aa488e4109f517c27fdb5cd2e0be0240482ab867 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f6cdaf774049f5f9ba7c8418aa488e4109f517c27fdb5cd2e0be0240482ab867", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking futures-sink v0.3.9 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking pin-project-lite v0.2.3 [INFO] [stderr] Checking futures-core v0.3.9 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-io v0.3.9 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling cassandra-cpp-sys v0.12.2 [INFO] [stderr] Checking ord_subset v3.1.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling time v0.2.24 [INFO] [stderr] Checking futures-task v0.3.9 [INFO] [stderr] Compiling decimal v2.0.4 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.9 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.9 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.9 [INFO] [stderr] Checking discord-cassandra-cpp v0.16.0-rc0 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.9 [INFO] [stderr] Checking futures v0.3.9 [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/uuids.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/batch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/async.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/maps.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/collections.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchType` [INFO] [stdout] --> tests/batch.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | 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/batch.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | batch.set_consistency(Consistency::ONE)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Consistency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/bind_by_name.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 `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 `Session` in this scope [INFO] [stdout] --> tests/batch.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | async fn insert_into_batch_with_prepared(session: &Session, pairs: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/batch.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | 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[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 `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 `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[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[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[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/uuids.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | async fn select_from_log(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:26:71 [INFO] [stdout] | [INFO] [stdout] 26 | async fn select_from_log(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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 `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 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 `UuidGen` [INFO] [stdout] --> tests/uuids.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | 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 `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 `Session` in this scope [INFO] [stdout] --> tests/async.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn insert_into_async(session: &Session, key: String) -> Result>>> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/async.rs:8:85 [INFO] [stdout] | [INFO] [stdout] 8 | fn insert_into_async(session: &Session, key: String) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/async.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | 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[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/uuids.rs:65:71 [INFO] [stdout] | [INFO] [stdout] 65 | 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:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | 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:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | 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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/paging.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/ssl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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 `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 `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 `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 `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 `Session` in this scope [INFO] [stdout] --> tests/maps.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | async fn insert_into_maps(session: &Session, key: &str, items: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> tests/maps.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | 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[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/maps.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | 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[E0412]: cannot find type `MapIterator` in this scope [INFO] [stdout] --> tests/maps.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 41 | 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[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 `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 `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 `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[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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/collections.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/futures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> examples/simple_async.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 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[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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/logging.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/batch.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | async fn test_batch() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 41 | async fn test_batch() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/async.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | fn insert_into_async(session: &Session, key: String) -> Result>>> { [INFO] [stdout] | ^^^^^^ ---------------------------------- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 8 | fn insert_into_async(session: &Session, key: String) -> Result>>, E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/async.rs:8:78 [INFO] [stdout] | [INFO] [stdout] 8 | fn insert_into_async(session: &Session, key: String) -> Result>>> { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 8 | fn insert_into_async(session: &Session, key: String) -> Result>>> { [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[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/async.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn test_async() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn test_async() -> Result<(), E> { [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: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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [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[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] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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[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[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[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 `Session` in this scope [INFO] [stdout] --> tests/paging.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | async fn insert_into_paging(session: &Session /* , uuid_gen:&mut UuidGen */) -> 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 `Session` in this scope [INFO] [stdout] --> tests/paging.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | async fn select_from_paging(session: &Session) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-cassandra-cpp` [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] [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] [stderr] To learn more, run the command again with --verbose. [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: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[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[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[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[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 `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[E0107]: this enum takes 2 type arguments but only 1 type 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 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 6 | async fn test_bind_by_name() -> 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: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[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/uuids.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | async fn test_uuids() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 41 | async fn test_uuids() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [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 `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[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | async fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/collections.rs:22:79 [INFO] [stdout] | [INFO] [stdout] 22 | async fn insert_null_into_collections(session: &Session, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/collections.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | async fn select_from_collections(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] [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: aborting due to 6 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[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/collections.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 61 | async fn main() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/simple.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 64 | 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] error[E0412]: cannot find type `SetIterator` in this scope [INFO] [stdout] --> tests/collections.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 36 | 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] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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] 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] 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] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [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] 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] --> 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[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 `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[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 `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[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[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/help/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/maps.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | async fn test_maps() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 54 | async fn test_maps() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cassandra_cpp` [INFO] [stdout] --> tests/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cassandra_cpp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/simple_async.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: 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] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/futures.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Result>>> { [INFO] [stdout] | ^^^^^^ ---------------------------------- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Result>>, E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/futures.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Result>>> { [INFO] [stdout] | ^^^^^^ ---------- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Result>>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/futures.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn test_rust_futures() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn test_rust_futures() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/futures.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn test_early_drop_rust_futures() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn test_early_drop_rust_futures() -> Result<(), E> { [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: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueType` [INFO] [stdout] --> tests/basic.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | 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:91:54 [INFO] [stdout] | [INFO] [stdout] 91 | 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 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/paging.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | async fn test_paging() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 69 | async fn test_paging() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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[E0107]: this enum takes 2 type arguments but only 1 type 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 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 6 | async fn test_using_consistency() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Consistency` [INFO] [stdout] --> tests/basic.rs:501:31 [INFO] [stdout] | [INFO] [stdout] 501 | 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:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | 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:506:30 [INFO] [stdout] | [INFO] [stdout] 506 | 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:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | 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:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | 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:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | 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[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 `Inet` in this scope [INFO] [stdout] --> tests/basic.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | addr: Inet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Inet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | tu: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> tests/basic.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | id: Uuid, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Uuid; [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:31:39 [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[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[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | async fn insert_into_basic(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CassResult` in this scope [INFO] [stdout] --> tests/basic.rs:83:83 [INFO] [stdout] | [INFO] [stdout] 83 | async fn insert_into_basic(session: &Session, key: &str, basic: &Basic) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cassandra_cpp_sys::CassResult; [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::CassResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/collections.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | async fn test_collections() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 46 | async fn test_collections() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> tests/basic.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | 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:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | 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:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | let fields_iter: UserTypeIterator = row.get(12)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UserTypeIterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> tests/basic.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | async fn select_from_basic(session: &Session, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreparedStatement` in this scope [INFO] [stdout] --> tests/basic.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | 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:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | 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:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | let uuid_gen = UuidGen::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use discord_cassandra_cpp::UuidGen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/ssl.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type 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] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/logging.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | let session = help::create_test_session().await; [INFO] [stdout] | ------- consider giving `session` a type [INFO] [stdout] 77 | 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] [stdout] error: aborting due to 10 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] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | fn basic_from_result(result: CassResult) -> Result> { [INFO] [stdout] | ^^^^^^ ------------- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 114 | fn basic_from_result(result: CassResult) -> Result, E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | async fn test_simple() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 172 | async fn test_simple() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 202 | async fn test_basic_round_trip() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 202 | async fn test_basic_round_trip() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | async fn test_prepared_round_trip() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 262 | async fn test_prepared_round_trip() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:306:35 [INFO] [stdout] | [INFO] [stdout] 306 | async fn test_null_retrieval() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 306 | async fn test_null_retrieval() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:388:35 [INFO] [stdout] | [INFO] [stdout] 388 | async fn test_null_insertion() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 388 | async fn test_null_insertion() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:453:30 [INFO] [stdout] | [INFO] [stdout] 453 | async fn test_rendering() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 453 | async fn test_rendering() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> tests/basic.rs:496:36 [INFO] [stdout] | [INFO] [stdout] 496 | async fn test_error_reporting() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 496 | async fn test_error_reporting() -> Result<(), E> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 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: build failed [INFO] running `Command { std: "docker" "inspect" "f6cdaf774049f5f9ba7c8418aa488e4109f517c27fdb5cd2e0be0240482ab867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6cdaf774049f5f9ba7c8418aa488e4109f517c27fdb5cd2e0be0240482ab867", kill_on_drop: false }` [INFO] [stdout] f6cdaf774049f5f9ba7c8418aa488e4109f517c27fdb5cd2e0be0240482ab867